Skip to content

fix: resume drafts without triggering press-away saving - #4282

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4276
Oct 26, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-4276

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The resume-writing test clicked the heading to leave a draft open, but #4270 intentionally made a press outside the draft save it. The editor therefore disappeared before the test could resume it. The preceding passing run, 40354764131, was on the earlier commit f30d37b.

Use Tab to leave the editor and Enter to activate Resume writing in the command reference. This keeps the existing assertions for recovered text and caret position, preserves press-away saving, and changes no product behavior.

The reported test reproduced the missing-editor failure on current main before this change. Afterward, it and test_a_press_away_from_an_open_draft_saves_it both pass (2 tests).

Closes #4276 — automated triage

The resume-writing test clicked outside the draft even though #4270 intentionally made that gesture save it. Leave the editor with Tab and activate the command reference with Enter so the existing text and caret assertions still exercise an unsent edit. Product behavior is unchanged.

Closes #4276
@leaf-agent
leaf-agent merged commit dda8c7a into main Oct 26, 2026
5 of 6 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4276 branch October 26, 2026 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Resume writing test loses its draft editor after clicking the heading

1 participant