Repository navigation
fix(dashboard): Hold a send until the edit's cancel lands - #3821
Merged
Merged
Conversation
Text alone moves into the draft before the cancel. A send in that window now waits for the cancel and stops when the queued message is still queued or Junior read it, so the text does not go out twice.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 8532be6. Configure here.
A send during an edit opened the unsent-answers dialog before it waited for the cancel. A stopped send then left the dialog open. The dialog now opens only after the wait.
Contributor
|
398 screenshot changes — 0 changed · 398 added · 0 removed |
BYK
approved these changes
Nov 19, 2026
22 tasks done
This branch was successfully deployed
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.

Follow-up to #3787, which moves a text-only queued message into the composer before its cancel lands. Send stayed enabled in that window. If the reader sent and the cancel then failed, the text went out twice: the new message plus the original still in the queue.
A send during that window now waits for the edit's cancel. When the cancel fails, or Junior already read the message, the send stops and the reader sees the existing edit error, with the draft kept. When the cancel succeeds, the send goes out as usual.
No UI change.
via @BYK.
--
View Session [Sentry]