Skip to content

fix(dashboard): Hold a send until the edit's cancel lands - #3821

Merged
BYK merged 2 commits into
mainfrom
fix/dashboard-queued-edit-send-guard
Nov 19, 2026
Merged

BYK merged 2 commits into
mainfrom
fix/dashboard-queued-edit-send-guard

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

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]

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.
@sentry-junior
sentry-junior Bot requested a review from BYK November 19, 2026 18:53
@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Nov 19, 2026 7:04pm UTC

Request Review

@github-actions github-actions Bot added the risk: high PR risk score: high label Nov 19, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ 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.
@github-actions

Copy link
Copy Markdown
Contributor

398 screenshot changes — 0 changed · 398 added · 0 removed

Review screenshots in Frameshift

@BYK
BYK merged commit 2b65cda into main Nov 19, 2026
51 checks passed
@BYK
BYK deleted the fix/dashboard-queued-edit-send-guard branch November 19, 2026 22:04

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 39dbd498 Deployed Nov 19, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant