feat: reaction list bottom redesign#3424
Merged
Conversation
khushal87
commented
Feb 24, 2026
package/src/components/Message/MessageSimple/__tests__/ReactionListBottom.test.js
Show resolved
Hide resolved
Contributor
SDK Size
|
…ve into feat/reaction-list-bottom-redesign
isekovanic
reviewed
Feb 24, 2026
isekovanic
reviewed
Feb 24, 2026
| icon: ViewStyle; | ||
| iconFillColor?: ColorValue; | ||
| iconSize: number; | ||
| iconUnFillColor?: ColorValue; |
isekovanic
approved these changes
Feb 24, 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.
This pull request introduces a new
reactionListTypeprop to the message and channel components, allowing the bottom reaction list to be displayed in either a "segmented" or "clustered" style. It also refactors theReactionListBottomcomponent for improved flexibility and code clarity, and adds support for selecting reactions and customizing their appearance.Key changes:
1. Reaction List Type and Propagation
reactionListTypeprop (default:'segmented') toChannel,Message, andMessageSimplecomponents, and ensured it is passed through all relevant contexts and props. This enables consumers to control the visual style of the bottom reaction list. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]2. ReactionListBottom Component Refactor
ReactionListBottomto support both "segmented" and "clustered" layouts, with the newtypeprop determining the style. The component now uses a more flexible rendering approach and improved styling, including item separators and alignment based on message direction. [1] [2] [3] [4] [5]3. Reaction Selection and Overlay Improvements
selectedReactionstate and updating theshowReactionsOverlaycallback to accept an optional reaction type. This allows the overlay to highlight the selected reaction. [1] [2] [3]4. ReactionListBottom Item Enhancements
ReactionListBottomItemto acceptselectedandshowCountprops, and refactored its rendering to use a wrapper component and remove unnecessary animation code. The icon and count display logic has been simplified and improved for accessibility and maintainability. [1] [2] [3] [4]5. Styling and Theming Updates
useStyleshook forReactionListBottomto handle dynamic styling based on message alignment and theme, and improved the structure of style definitions for better consistency and flexibility.These changes collectively improve the flexibility, usability, and maintainability of the reaction list feature in the messaging UI.