Merged
Conversation
Contributor
|
Size Change: +2.71 kB (+0.74%) Total Size: 369 kB 📦 View Changed
|
isekovanic
commented
Apr 2, 2026
oliverlaz
approved these changes
Apr 2, 2026
szuperaz
approved these changes
Apr 2, 2026
github-actions bot
pushed a commit
that referenced
this pull request
Apr 2, 2026
## [9.40.0](v9.39.0...v9.40.0) (2026-04-02) ### Features * update message pending tasks ([#1716](#1716)) ([af87ae2](af87ae2))
|
🎉 This PR is included in version 9.40.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
6 tasks
isekovanic
added a commit
to GetStream/stream-chat-react-native
that referenced
this pull request
Apr 2, 2026
## 🎯 Goal This PR is the RN SDK counterpart of [this change](GetStream/stream-chat-js#1716). In addition to the description there, it also: - Includes optimistic updates for updating a message - Makes sure the DB is up to date ## 🛠 Implementation details <!-- Provide a description of the implementation --> ## 🎨 UI Changes <!-- Add relevant screenshots --> <details> <summary>iOS</summary> <table> <thead> <tr> <td>Before</td> <td>After</td> </tr> </thead> <tbody> <tr> <td> <!--<img src="" /> --> </td> <td> <!--<img src="" /> --> </td> </tr> </tbody> </table> </details> <details> <summary>Android</summary> <table> <thead> <tr> <td>Before</td> <td>After</td> </tr> </thead> <tbody> <tr> <td> <!--<img src="" /> --> </td> <td> <!--<img src="" /> --> </td> </tr> </tbody> </table> </details> ## 🧪 Testing <!-- Explain how this change can be tested (or why it can't be tested) --> ## ☑️ Checklist - [ ] I have signed the [Stream CLA](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform) (required) - [ ] PR targets the `develop` branch - [ ] Documentation is updated - [ ] New code is tested in main example apps, including all possible scenarios - [ ] SampleApp iOS and Android - [ ] Expo iOS and Android
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.
CLA
Description of the changes, What, Why and How?
This PR introduces support for adding message updates as a pending task whenever we are offline and persisting it. It goes hand in hand with an extended pending task API through
updatePendingTask(living in the UI SDK implementation currently).The flow is as follows:
send-messagepending task with the new datamessage_text_changed_atproperty so that the newly sent message does not appear as editedThis comes with a couple of caveats:
Changelog