Merged
Conversation
Contributor
SDK Size
|
isekovanic
commented
Mar 3, 2026
isekovanic
commented
Mar 3, 2026
# Conflicts: # examples/SampleApp/src/components/ChannelInfoOverlay.tsx # examples/SampleApp/src/components/ChannelPreview.tsx # examples/SampleApp/src/icons/MenuPointHorizontal.tsx # examples/SampleApp/src/screens/ChannelListScreen.tsx # package/src/i18n/en.json # package/src/i18n/es.json # package/src/i18n/fr.json # package/src/i18n/he.json # package/src/i18n/hi.json # package/src/i18n/it.json # package/src/i18n/ja.json # package/src/i18n/ko.json # package/src/i18n/nl.json # package/src/i18n/pt-br.json # package/src/i18n/ru.json # package/src/i18n/tr.json # package/src/icons/Archive.tsx
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 overlay and channel preview UI in the sample app for improved maintainability and user experience. The main changes include replacing custom animated overlays with a reusable bottom sheet modal, simplifying the channel preview component, and updating icon usage and styling. Additionally, the channel list now supports custom action items, including a new "View Info" action.
Overlay and Modal Refactor:
ChannelInfoOverlay.tsxwith theBottomSheetModalcomponent, removing complex animation and gesture code for a simpler, more maintainable approach. [1] [2] [3] [4]Channel Preview Simplification:
ChannelPreview.tsxto remove swipeable actions and context dependencies, now directly usingChannelPreviewMessengerwith a custom status component. This streamlines the UI and logic. [1] [2] [3]Icon and Styling Updates:
ChannelInfoicon and updated theMenuPointHorizontalicon to use a local SVG implementation, ensuring consistent iconography across the app. [1] [2]Channel List Enhancements:
ChannelListScreen.tsx, including a new "View Info" action that navigates to channel detail screens based on chat type. Also updated item layout sizing for improved appearance. [1] [2] [3] [4]These changes collectively modernize the UI, reduce complexity, and make the codebase easier to extend and maintain.