Skip to content

Conversation

@chohongm
Copy link
Contributor

Fixes: 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.

@chohongm chohongm changed the title Feat/v3/ac 1230 remove carousel component and use message template instead 2 feat: Remove carousel component and use message template instead + some spec changes Mar 28, 2024
@chohongm chohongm self-assigned this Mar 28, 2024
result.carouselItem = carouselItem;
result.templateVersion = cachedTemplate.version;
result.filledMessageTemplateItemsList = [{
type: carouselItem.type as any,
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we have reason for converting its type to any here? I think it should be fine without this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No input is string but the type is a enum defined in the core package. The type is not exported so i could not import. I had to cast to any.

Copy link
Contributor

@AhyoungRyu AhyoungRyu left a comment

Choose a reason for hiding this comment

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

LGTM. Please check the comment I left before you merge :)

@chohongm chohongm merged commit 5c0e90a into v3.14.0-beta-1 Mar 28, 2024
@chohongm chohongm deleted the feat/v3/AC-1230-remove-carousel-component-and-use-message-template-instead-2 branch March 28, 2024 05: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