Skip to content

feat: thread list redesign#3442

Open
khushal87 wants to merge 2 commits intodevelopfrom
feat/thread-list-redesign
Open

feat: thread list redesign#3442
khushal87 wants to merge 2 commits intodevelopfrom
feat/thread-list-redesign

Conversation

@khushal87
Copy link
Member

This pull request refactors the channel message preview components to improve code modularity, maintainability, and UI consistency. The main changes involve extracting message preview logic into dedicated components, updating delivery status handling, and improving empty state indicator styling.

Component Refactoring and Consolidation

  • Extracted message preview rendering logic from ChannelPreviewMessage into a new ChannelMessagePreview component, simplifying the parent component and improving reusability. [1] [2] [3] [4]
  • Removed the legacy MessagePreview and MessagePreviewUserDetails components, consolidating their functionality into the new preview components. [1] [2]

Delivery Status Handling Improvements

  • Renamed and refactored ChannelListMessageDeliveryStatus to ChannelMessagePreviewDeliveryStatus, updating its props and logic to work with the new message preview structure.
  • Improved logic for displaying delivery status and sender name, especially in one-on-one channels and when the last message is not from the current user. [1] [2]
  • Added new styling for displaying the sender's username in delivery status.

Empty State Indicator Styling

  • Updated EmptyStateIndicator to use theme-based styles for thread empty states, ensuring consistent appearance across the app. [1] [2] [3] [4]

These changes collectively improve the maintainability of the codebase and the user experience by making the message preview and delivery status components more modular and visually consistent.

@Stream-SDK-Bot
Copy link
Contributor

Stream-SDK-Bot commented Mar 2, 2026

SDK Size

title develop branch diff status
js_bundle_size 429 KB 432 KB +3173 B 🔴

@khushal87 khushal87 requested a review from isekovanic March 2, 2026 13:09
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.

2 participants