Closed khushal87 closed 2 weeks ago
title |
develop |
branch |
diff |
status |
---|---|---|---|---|
js_bundle_size | 451 KB | 452 KB | +628 B | 🔴 |
:tada: This PR is included in version 5.42.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
The goal of the PR is to listen to the notification.mark_read and notification.mark_unread events and reflect the correct unread count on the Channel Preview UI. The code of the channel preview component is also improved as a part of the PR making it simpler and the event listeners are moved to a new hook
useChannelPreviewData
that returns the mute status, unread counts and the last message to display in the channel preview.