fix: post-review MessageReactionsDetail adjustments#3082
Merged
arnautov-anton merged 1 commit intomasterfrom Mar 31, 2026
Merged
fix: post-review MessageReactionsDetail adjustments#3082arnautov-anton merged 1 commit intomasterfrom
MessageReactionsDetail adjustments#3082arnautov-anton merged 1 commit intomasterfrom
Conversation
|
Size Change: +119 B (+0.02%) Total Size: 614 kB 📦 View Changed
ℹ️ View Unchanged
|
oliverlaz
approved these changes
Mar 31, 2026
github-actions bot
pushed a commit
that referenced
this pull request
Mar 31, 2026
## [14.0.0-beta.5](v14.0.0-beta.4...v14.0.0-beta.5) (2026-03-31) ### Bug Fixes * assorted UI/UX fixes (Giphy, polls, dialogs, composer, headers) ([#3081](#3081)) ([6c06e04](6c06e04)) * close CSS gaps, fix ChannelList dialog portal, and clean up icons ([#3079](#3079)) ([a47981f](a47981f)) * **Icons:** sync icon catalog with refreshed Line SVGs ([#3080](#3080)) ([9472f7b](9472f7b)) * **MessageList:** set width on message list scroll container ([#3077](#3077)) ([3f09362](3f09362)) * post-review `MessageReactionsDetail` adjustments ([#3082](#3082)) ([a82bdcb](a82bdcb)) * use link icon for link-type attachments ([#3083](#3083)) ([241209e](241209e)) ### Features * **examples:** add RTL direction toggle to vite example app ([#3084](#3084)) ([887a326](887a326)) * **examples:** refresh react tutorial app for v14 ([#3078](#3078)) ([86ada37](86ada37))
|
🎉 This PR is included in version 14.0.0-beta.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Breaking Changes
Removed deprecated
sortReactionDetailsprop andReactionDetailsComparatortypeThe
sortReactionDetailsprop has been removed from the following components and contexts:MessageProps(and by extensionMessagecomponent)MessageContextValue(and by extensionMessageContext)MessageReactionsProps(and by extensionMessageReactionscomponent)MessageReactionsDetailProps(and by extensionMessageReactionsDetailcomponent)MessageListProps(and by extensionMessageListcomponent)VirtualizedMessageListProps(and by extensionVirtualizedMessageListcomponent)The
ReactionDetailsComparatortype export has been removed fromsrc/components/Reactions/types.ts.Migration: Replace all usages of
sortReactionDetailswith thereactionDetailsSortprop, which accepts aReactionSortobject (server-side sort) instead of a client-side comparator function.Removed deprecated
reaction_countsprop fromMessageReactionsPropsThe
reaction_countsprop onMessageReactionshas been removed. It was previously ignored at runtime.Migration: Use
reaction_groupsinstead, which provides richer per-reaction-type summary data (includingcount).Removed deprecated
reactionOptionsprop fromMessageReactionsPropsThe
reactionOptionsprop onMessageReactionshas been removed. The component now readsreactionOptionsexclusively fromComponentContext.Migration: Pass
reactionOptionsvia<WithComponents overrides={{ reactionOptions }}>...</WithComponents>instead of directly on<MessageReactions>.UseProcessReactionsParamsno longer acceptsreaction_countsorreactionOptionsThe
UseProcessReactionsParamstype (used by theuseProcessReactionshook) no longer includesreaction_countsorreactionOptionsfields, consistent with the prop removals above.New Features
capLimitprop onMessageReactionsA new optional
capLimitprop allows configuring how many reaction types are displayed before overflow in each visual style:Previously, only the
segmentedstyle (intopposition) capped reactions at a hardcoded limit of 4. Now theclusteredstyle also caps displayed reaction types (default: 5), and both limits are configurable.reactionGroupsadded touseProcessReactionsreturn valueThe
useProcessReactionshook now returnsreactionGroups(the resolvedRecord<string, ReactionGroupResponse> | undefined) alongside the existing return fields.reactionGroupsprop onMessageReactionsDetailMessageReactionsDetailnow accepts areactionGroupsprop used to determine reaction counts when removing a reaction. This enables the component to switch to the "all reactions" view when the last reaction of a given type is removed, instead of attempting to refetch an empty list.UseProcessReactionsParamstype is now exportedThe
UseProcessReactionsParamstype is now exported fromsrc/components/Reactions/hooks/useProcessReactions.tsx, making it available for consumers who build custom reaction processing logic.