Skip to content

feat: message headers redesign#3437

Merged
isekovanic merged 10 commits intodevelopfrom
feat/message-headers
Feb 27, 2026
Merged

feat: message headers redesign#3437
isekovanic merged 10 commits intodevelopfrom
feat/message-headers

Conversation

@khushal87
Copy link
Member

@khushal87 khushal87 commented Feb 27, 2026

This pull request makes several significant updates to the handling and display of message reminders and thread navigation in the sample app and core library. The main changes include refactoring the way message reminder headers are implemented, improving thread navigation (including scrolling to a targeted message), and exposing new header components for easier customization. Additionally, some code cleanup and minor UI improvements are included.

Message Reminder and Header Refactoring:

  • Removed the custom MessageReminderHeader and related logic from the sample app, shifting responsibility for reminder headers to the core library and exposing them as customizable components (MessageReminderHeader, MessageSavedForLaterHeader, SentToChannelHeader). [1] [2] [3] [4] [5] [6] [7]

  • Updated the message actions to use the Bell icon directly from the core library instead of a local copy, and adjusted the icon prop to use stroke instead of pathFill for consistency. [1] [2] [3]

Thread Navigation and Targeted Message Scroll:

  • Enhanced thread navigation by passing an optional targetedMessageId when navigating to the thread screen, allowing the UI to scroll directly to a specific message within a thread. [1] [2] [3] [4] [5]

  • Added an onBackPressThread callback to the thread context and channel props, enabling the thread screen to return to the channel screen and optionally scroll to a targeted message. [1] [2] [3] [4] [5] [6]

Component and Prop Management:

  • Removed direct usage of MessageHeader and MessageReminderHeader props in the sample app screens, relying on the core library's exposed components and context for message header rendering. [1] [2] [3] [4]

Minor Improvements and Cleanup:

  • Fixed a minor translation string in ChannelPreviewMessage to remove an unnecessary colon from the translation key.

  • Ensured the onThreadSelect prop is passed to the MessageWithContext component for better thread handling.

These changes collectively improve the flexibility, maintainability, and user experience of message reminders and thread navigation in the app.

@Stream-SDK-Bot
Copy link
Contributor

Stream-SDK-Bot commented Feb 27, 2026

SDK Size

title develop branch diff status
js_bundle_size 424 KB 429 KB +5295 B 🔴

Copy link
Contributor

@isekovanic isekovanic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address the couple of comments I've left, looks good otherwise

@isekovanic isekovanic merged commit ee63c40 into develop Feb 27, 2026
4 of 5 checks passed
@isekovanic isekovanic deleted the feat/message-headers branch February 27, 2026 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants