-
Notifications
You must be signed in to change notification settings - Fork 144
feat: Remove carousel component and use message template instead + some spec changes #1028
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
## [v3.14.0-beta] (Mar 22, 2024) ### Fixes * Fixed a bug where swiping `Carousel` in mobile view displaying flickering effect * Added missing default `font-family` value to `sendbird-message-template__root`
| ...renderData.carouselItem, | ||
| items: renderData.filledMessageTemplateItemsList, | ||
| }] as ComponentsUnion['properties'][] | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이거 이제 합쳐졌으니, RenderData 에 carouselItem 없어져도 되지 않나유?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
filledMessageTemplateItemsList 요기 안에 캐러셀 아이템 포멧으루 들어갈 수 있을것 같슴다
Co-authored-by: Ahyoung Ryu <irene.ryu@sendbird.com>
f30634f to
d7adafb
Compare
| result.carouselItem = carouselItem; | ||
| result.templateVersion = cachedTemplate.version; | ||
| result.filledMessageTemplateItemsList = [{ | ||
| type: carouselItem.type as any, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| type: carouselItem.type as any, | |
| type: carouselItem.type, |
What happen if we remove as any here?
|
This PR has been closed due to target branch is detached from HEAD. |
Fixes: AC-1230
Changelogs
Carouselui component as message template returns carousel component instead