Repository navigation
fix: restore Forward focus through a closing thread card - #4135
Merged
Merged
Conversation
A closing card remains painted but inert. Use the shared presentation reading before restoring saved focus, so history falls back to its page target. Hold the closing transition in the regression and assert focus after traversal completes. Closes #4120
leaf-agent
commented
Oct 25, 2026
leaf-agent
left a comment
Collaborator
Author
There was a problem hiding this comment.
No code findings. CI’s test check fails because the browser build reports stale dist/kernel/kernel.json. I’m checking and regenerating the committed output before handing the new head to its queued review.
This was referenced Oct 25, 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.
Forward could restore the second discussion's viewport while leaving focus on the paragraph returned to by Back. #4001 made a closed margin card remain painted but inert during its fade; history treated that painted card as a usable focus destination and never tried its source passage.
History now uses the shared presentation check for both saved focus and its source fallback. A closing card therefore returns through its passage without changing the closing animation. The existing regression holds the native closing transition through Forward and checks focus after traversal completes; both click and Tab cases fail with the old runtime and pass with this change.
Validation: all six focused history checks and 562 runtime tests passed. Browser bundles rebuilt successfully. A served comparison on
root-partsloaded 44 code requests before both upgrade and first state presentation on each version, with 153 additional code bytes; the new presentation checks run only on history return.Closes #4120 — automated triage