Repository navigation
Put the caret in the reply when a thread reopens in the panel - #3278
Merged
Merged
Conversation
Reopen in the floating panel left focus on the pressed button, which turned into Resolve, so what the user typed next went nowhere until they clicked the field. Reopen now gives the panel a settlement landing that puts the caret in the reply the reopening draws; a refusal, or `z` while the user has not acted since, stands them on the thread's view again, through the same mechanism Resolve's landing uses. A rewrite saved in a resolved thread also reopens it, and its editor's landing ran before the reopened thread drew a reply box, so the user ended on the thread rather than in the reply #46 chose for them. The landing now follows the save's presentation into the box it draws, in the panel and in a seated thread alike. The panel test of that decision had been weakened to `to_be_visible` when the classic chrome went; it asserts focus again. Cards needed no change: Reopen in a margin card or a seated thread already lands in the reply, in Chromium and Firefox. A page comment being written keeps its words, focus and caret across an in-place or a fresh revision in both engines, so that case needed no change either. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
previously approved these changes
Oct 20, 2026
# Conflicts: # skills/leaf/kernel/kernel.json
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.
Reopen in the floating panel left focus on the pressed button, which turned into Resolve, so what the user typed next went nowhere until they clicked the field. Reopen now gives the panel a settlement landing that puts the caret in the reply the reopening draws; a refusal, or
zwhile the user has not acted since, stands them on the thread's view again, through the same mechanism Resolve's landing uses.A rewrite saved in a resolved thread also reopens it, and its editor's landing ran before the reopened thread drew a reply box, so the user ended on the thread rather than in the reply #46 chose for them. The landing now follows the save's presentation into the box it draws, in the panel and in a seated thread alike. The panel test of that decision had been weakened to
to_be_visiblewhen the classic chrome went; it asserts focus again.Cards needed no change: Reopen in a margin card or a seated thread already lands in the reply, in Chromium and Firefox. A page comment being written keeps its words, focus and caret across an in-place or a fresh revision in both engines, so that case needed no change either.
Picked as
gain-careton the floating-panel review page.