Repository navigation
feat(ScheduledMessages): confirm a saved edit of a scheduled message - #4052
Merged
Merged
Conversation
Shows "Scheduled message saved" in the scheduled messages list once the edit composer closes, as in the designs. An edit queued offline shows nothing, like the other queued actions. Also drops two comments from the SampleApp screens.
👋 Hi Ivan, want a second pair of eyes on this?I'm Jeffery, Stream's review agent. I look for bugs, regressions, missing tests and slow paths, and I only post findings I've checked against the code.
Or comment |
SDK Size
|
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.
Ticket: https://linear.app/stream/issue/RN-552
Summary
Shows a "Scheduled message saved" snackbar after an edit of a scheduled message is saved, as in the updated designs (iOS, Android). Normal message edits stay without one, per design.
Changes
MessageInputContext: whenmessageComposer.updateScheduledMessage()resolves withscheduled, adds the notification. The edit composer closes on save and its notification host with it, so the notification targets thechannel-detailspanel of the scheduled messages list, in both the channel's list and an app-wide one.scheduledMessages.saved.text.Testing
yarn typecheck, lint, translations, and the related suites pass.🤖 Generated with Claude Code