-
Notifications
You must be signed in to change notification settings - Fork 292
fix: channel-pinning related improvements #2602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Size Change: +1.43 kB (+0.12%) Total Size: 1.19 MB
ℹ️ View Unchanged
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2602 +/- ##
==========================================
- Coverage 81.12% 81.09% -0.04%
==========================================
Files 448 449 +1
Lines 9464 9489 +25
Branches 2312 2231 -81
==========================================
+ Hits 7678 7695 +17
- Misses 1423 1684 +261
+ Partials 363 110 -253 ☔ View full report in Codecov by Sentry. |
cd560e7 to
ab0f5b2
Compare
17c4e7f to
9e43ca8
Compare
3442e1f to
0ce789b
Compare
## [12.9.0](v12.8.2...v12.9.0) (2025-01-27) ### Bug Fixes * channel-pinning related improvements ([#2602](#2602)) ([9f41a4c](9f41a4c)), closes [/github.com//issues/2595#issuecomment-2569118691](https://github.com/GetStream//github.com/GetStream/stream-chat-react/issues/2595/issues/issuecomment-2569118691) * import execSync ([#2616](#2616)) ([3801375](3801375)) ### Features * add prop disabled to ChatAutoComplete props ([#2617](#2617)) ([8b686fe](8b686fe))
|
🎉 This PR is included in version 12.9.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎯 Goal
Adjust certain conditions to match behavior of the RN implementation, add missing handler for the
notification.added_to_channel.Notable Changes
notification.added_to_channelis being handled properly (considers pinned channels)sortis an object andpinned_atis first in chronological order of property creation{ pinned_at: 1 | -1 }then pinned channels are considered (bug: channel list not updated after pinning a channel #2595 (comment))Related PR: GetStream/stream-chat-js#1430