Repository navigation
Keep Escape on a seated reply's Send, and hold the thread filters through a refused reopen - #1994
Merged
Merged
Conversation
…ough a refused reopen Escape on the Send button of a reply box in a thread seated in the page's flow now returns to the thread, as it does from the box itself and from Send in the Threads panel. The page's let-go deferred only to a box that takes letters, while the text-entry scope also stands on the reply's composition row, so the let-go answered first and dropped the user on the page. Both now read one predicate, `leavesBox` (thread/landing.js). A Reopen refused after the input window no longer moves the Threads panel's filters. Resolved hid the Waiting on group that Open shows, so the refusal's return to Resolved removed a 30px row with no input. Every facet group now shows in every view: under Resolved, Waiting on counts the open threads a press there switches to, as `w` already did. The No longer here choice shows while any thread is detached, rather than by its count under the current view. Each counted choice reserves the width of the widest count it could show, growing only, so a count gaining a digit with the view moves no choice after it. Escape from a focused seated thread, and Escape closing the Threads panel, still end with focus on the body: that is the let-go's design, which leaves the next Tab starting from the visible block. Tests: a seated Send's Escape returns to its thread; a reopen refused after 500ms holds its title and filters under the shift watch; the facets test now expects Waiting on and No longer here to stay shown under Resolved. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Oct 7, 2026
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.
Escape on the Send button of a reply box in a thread seated in the page's flow now returns to the thread, as it does from the box itself and from Send in the Threads panel. The page's let-go deferred only to a box that takes letters, while the text-entry scope also stands on the reply's composition row, so the let-go answered first and dropped the user on the page. Both now read one predicate,
leavesBox(thread/landing.js).A Reopen refused after the input window no longer moves the Threads panel's filters. Resolved hid the Waiting on group that Open shows, so the refusal's return to Resolved removed a 30px row with no input. Every facet group now shows in every view: under Resolved, Waiting on counts the open threads a press there switches to, as
walready did. The No longer here choice shows while any thread is detached, rather than by its count under the current view. Each counted choice reserves the width of the widest count it could show, growing only, so a count gaining a digit with the view moves no choice after it.Escape from a focused seated thread, and Escape closing the Threads panel, still end with focus on the body: that is the let-go's design, which leaves the next Tab starting from the visible block.
Tests: a seated Send's Escape returns to its thread; a reopen refused after 500ms holds its title and filters under the shift watch; the facets test now expects Waiting on and No longer here to stay shown under Resolved.