Skip to content

Conversation

@chohongm
Copy link
Contributor

@chohongm chohongm commented Apr 5, 2024

[v3.14.0] (Apr 5, 2024)

Feature

  • TemplateMessageItemBody now supports CarouselView type template
  • Added 'wide' width support for MessageContent when value exists in message.extendedMessagePayload['ui']['container_type']
  • Added template version validation for TemplateMessageItemBody

Message template fixes/updates

  • Fixed a bug where argb color values are not converted to rgba
  • Fixed a bug where style properties expecting numeric values are set with string values
  • Removed default values of borderRadius, backgroundColor, and color for message template items

Other fixes

  • Fixed a bug where scroll bar is displayed in message sender name container

chohongm and others added 17 commits March 15, 2024 17:24
Fixes: [AC-1497](https://sendbird.atlassian.net/browse/AC-1497)

### Changelogs
- Added 'wide' and 'full' width support for `MessageContent` when value
exists in `message.extendedMessagePayload['ui']['container_type']`

[AC-1497]:
https://sendbird.atlassian.net/browse/AC-1497?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
…nt-family to template root (#1022)

### Changelogs
- Fixed a bug where swiping carousel in mobile view displaying
flickering effect
- Added missing default font-family value to template root
…me spec changes (#1032)

Fixes: [AC-1230](https://sendbird.atlassian.net/browse/AC-1230)

- 카루셀을 UIKit 에서 빼고 Core 쪽으로 옮긴다.
- 카루셀은 View style 무시, container type 무시 (미래에 요청 있을 때 오픈)
- container type full 은 뺀다 => default, wide 만 지원한다 => 지원 없는 container
type 을 받으면 default 로 그려준다.
- template version validation 을 추가한다.

### Changelogs
- Removed `Carousel` ui component as message template returns carousel
component instead
- Container type 'full' is no longer supported due to inconsistent
default style of parent template components with other types
- Added template version validation. If template's version is
unsupported, fallback message will be rendered instead.

[AC-1230]:
https://sendbird.atlassian.net/browse/AC-1230?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

---------

Co-authored-by: Ahyoung Ryu <irene.ryu@sendbird.com>
Added error catch in malformed template payload

---------

Co-authored-by: Ahyoung Ryu <irene.ryu@sendbird.com>
1. Carousel templates created with direct simple templates in items (no
reservations keys) should be suppported as fallback logic.

2. timestamp location of carousel template body must be dynamically
updated.

3. For composite template, template version should be max of (composite
+ its simple templstes).
…ithout reservation key (#1038)

- Fix bug where argb conversion step is skipped for carousel without
reservation key
- string to numeric conversion skipped
Co-authored-by: Baek EunSeo <hoon@sendbird.com>
@chohongm chohongm self-assigned this Apr 5, 2024
Copy link
Contributor

@HoonBaek HoonBaek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chohongm chohongm merged commit e818e43 into main Apr 5, 2024
@bang9 bang9 deleted the v3.14.0-beta-1 branch April 25, 2024 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants