-
Notifications
You must be signed in to change notification settings - Fork 275
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
fix: use the client pagination indicators for ChannelStateContext's hasMore and hasMoreNewer flags #2478
Conversation
…asMore and hasMoreNewer flags
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release-v11 #2478 +/- ##
============================================
Coverage 85.48% 85.48%
============================================
Files 393 395 +2
Lines 9122 9131 +9
Branches 2356 2358 +2
============================================
+ Hits 7798 7806 +8
- Misses 1122 1123 +1
Partials 202 202 ☔ View full report in Codecov by Sentry. |
## [11.23.7](v11.23.6...v11.23.7) (2024-08-22) ### Bug Fixes * use the client pagination indicators for ChannelStateContext's hasMore and hasMoreNewer flags ([#2478](#2478)) ([eb13bd5](eb13bd5))
🎉 This PR is included in version 11.23.7 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [12.0.0-rc.9](v12.0.0-rc.8...v12.0.0-rc.9) (2024-08-22) ### Bug Fixes * use the client pagination indicators for ChannelStateContext's hasMore and hasMoreNewer flags ([#2478](#2478)) ([eb13bd5](eb13bd5))
🎉 This PR is included in version 12.0.0-rc.9 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎯 Goal
Use the pagination flags from the the client, which actually performs the queries and thus share the information btw React components that are siblings (
ChannelList
queries channels andChannel
will know, what channels have less than the 1st page size message count).depends on GetStream/stream-chat-js#1332