fix: rename ChannelListMessenger to ChannelListUI#3036
Open
arnautov-anton wants to merge 5 commits intomasterfrom
Open
fix: rename ChannelListMessenger to ChannelListUI#3036arnautov-anton wants to merge 5 commits intomasterfrom
arnautov-anton wants to merge 5 commits intomasterfrom
Conversation
|
Size Change: -70 B (-0.02%) Total Size: 441 kB
ℹ️ View Unchanged
|
oliverlaz
approved these changes
Mar 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Renamed Components
ChannelListMessengerChannelListUIChannelListMessenger.tsx→ChannelListUI.tsx; export renamed inChannelList/index.tsRenamed Types / Interfaces
ChannelListMessengerPropsChannelListUIPropsRenamed CSS Classes
str-chat__channel-list-messengerstr-chat__channel-list-innerstr-chat__channel-list-messenger__mainstr-chat__channel-list-inner__mainRemoved Props
ChannelListProps(on<ChannelList>)AvatarReact.ComponentType<ChannelAvatarProps>Avatarslot slot inComponentContextinsteadListReact.ComponentType<ChannelListMessengerProps>ChannelListUIslot inComponentContextinsteadLoadingErrorIndicatorReact.ComponentType<LoadingErrorIndicatorProps>LoadingErrorIndicatorslot inComponentContextinsteadLoadingIndicatorReact.ComponentTypeLoadingIndicatorslot inComponentContextinsteadPreviewReact.ComponentType<ChannelListItemUIProps>ChannelListItemUIslot inComponentContextinsteadChannelListItemProps(on<ChannelListItem>)AvatarReact.ComponentType<ChannelAvatarProps>ComponentContextinsideChannelListItemUIChannelListUIProps(previouslyChannelListMessengerProps)LoadingErrorIndicatorReact.ComponentType<LoadingErrorIndicatorProps>ComponentContextinsideChannelListUILoadingIndicatorReact.ComponentTypeComponentContextinsideChannelListUINew
ComponentContextSlotsChannelListUIReact.ComponentType<ChannelListUIProps>Listprop on<ChannelList>)Other Breaking Changes
<ChannelList>element no longer applies thestr-chat__channel-list-reactclass. Previously the default wasstr-chat__channel-list str-chat__channel-list-react, now it is juststr-chat__channel-list.BREAKING CHANGE: The
ChannelListMessengercomponent has been renamed toChannelListUI(props typeChannelListMessengerProps->ChannelListUIProps). The corresponding CSS classesstr-chat__channel-list-messengerandstr-chat__channel-list-messenger__mainhave been renamed tostr-chat__channel-list-innerandstr-chat__channel-list-inner__mainrespectively. TheAvatar,List,LoadingErrorIndicator,LoadingIndicator, andPreviewprops have been removed from theChannelListcomponent. TheAvatarprop has also been removed fromChannelListItem, and theLoadingErrorIndicatorandLoadingIndicatorprops have been removed fromChannelListUI. All of these component overrides should now be provided throughComponentContextinstead of being passed as props directly. A newChannelListUIslot has been added toComponentContext, replacing the formerListprop onChannelList. Additionally, thestr-chat__channel-list-reactCSS class is no longer applied to the rootChannelListelement.