feat: message view gallery redesign#3396
Merged
isekovanic merged 8 commits intodevelopfrom Feb 13, 2026
Merged
Conversation
Contributor
SDK Size
|
isekovanic
approved these changes
Feb 13, 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 refactors the
Galleryand related components to simplify their props, improve styling consistency, and enhance maintainability. The changes remove several legacy props, centralize and modernize style definitions, and streamline the logic for rendering gallery images and video thumbnails.Component API and Prop Cleanup:
Galleryand its subcomponents, includingalignment,groupStyles,hasThreadReplies, andthreadList, simplifying the component API and reducing complexity. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]Styling Improvements:
useStyleshook inGallery.tsx, leveraging theme primitives for consistent spacing, typography, and colors; updated error and overlay styles accordingly. [1] [2] [3]GalleryImageandGalleryImageThumbnailto use a consistentflex: 1style for images, ensuring proper sizing and layout. [1] [2] [3] [4] [5] [6]VideoThumbnailto simplify its container styles and use a unified play indicator component, removing redundant view wrappers and legacy styling. [1] [2]Type and Utility Updates:
GalleryImageBorderRadiustype and simplified border radius handling throughout the gallery components. [1] [2]Layout and Rendering Logic:
These changes collectively modernize the gallery components, reduce technical debt, and pave the way for easier future enhancements.