Repository navigation
fix: docs fixes - #3891
Merged
Merged
fix: docs fixes#3891
Conversation
oliverlaz
approved these changes
Oct 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎯 Goal
Fix the SDK regressions that are new in v10, found while writing the v10 docs. In each case v9 behaved correctly, or the code is new in v10.
🛠 Implementation details
Channelnow also callswatch()on mount when the channel'swatchStatusisnotWatching. Search sources load channels withwatch: false, and those channels are initialized and at the head, soChannelused to skip the watch. AwasWatchingchannel is still left to the client's connection recovery.useMessageDeliveryStatusnow compares the last message'screated_atwithlastReadRefByOthers/lastDeliveredRefByOthers, the same check stream-chat-react uses. Before, it looked only for users whose cursor sits exactly on the message, so the mark stayed "sent" or "delivered" once the other member read a later message.MessageWrappernow draws no separator when the list's paginator has aparentMessageId. The result matches stream-chat-react.Threadused to show "Error loading messages for this channel...". It now passes a newlistType: 'thread'toLoadingErrorIndicator, which shows "Error loading replies..." (keyindicators.loading.replies.error).Chatkeeps a network status reporter the app registered. It installsnetInfoStatusReporteronly when nostatusReporteris registered inclient.config, which includes the tree given to theStreamChatconstructor. Before, it replaced any reporter on every mount.useOwnUnreadCount,useChannelTypingUsers,useTypingUsers,getTranslatedMessageanduseTranslatedMessageare now exported.channelPreview.doubleTapToOpen.accessibilityLabel.ai-docs/i18n-v10-key-map.jsonmapsa11y/Double tap to opento both keys, through a newalsoKeysfield.userIdinstead of the deprecateduserID. The SDK readsclient.userIdeverywhere (35 call sites). Test client mocks are updated to match.installNativeMultipartAdapter. WithuseNativeMultipartUpload, uploads go through the native uploader even when the app installed its own axios adapter, as in v9. The JSDoc said the adapter was left alone. No code change.ThreadListUnreadBannerreports only its own failure. It shows "Couldn't load new threads" only when its own reload failed, not for a failed first load or load-more, as in v9.ChannelListViewno longer passes or acceptspaginator. It never read it.MessageListoverride key is removed fromDEFAULT_COMPONENTS. In v9 onlyThreadread it. v10'sThreadrenders its children, so overriding the key did nothing. This matches the earlier removal ofThreadMessageComposer.Breaking changes
MessageListoverride key is removed. Render the list as a child of<Thread>. This is documented inai-migration-v9-to-v10.mdandv10-breaking-changes.md.ChannelListViewPropsno longer haspaginator. That prop only existed in the v10 RCs.ThreadpasseslistType='thread'toLoadingErrorIndicator. A custom indicator that branches on'message'no longer hits that branch for threads.🎨 UI Changes
🧪 Testing
Channel,useMessageDeliveryStatus,MessageList(thread separator),Thread,Chat,ChannelPreviewView,ThreadList, and the client mocks in about 25 test files. Each new regression test fails without its fix.yarn lint,yarn test:typecheck,yarn buildandyarn test:unitpass (2256 tests, 13 skipped).☑️ Checklist
developbranchai-docsmigration guides are; the docs site follows separately)