Repository navigation
fix: reveal evidence when stepping through card threads - #5047
Merged
Merged
Conversation
Route card navigation through the canonical thread destination so its recorded image or saved element matches the discussion. Cover Next and Previous alongside the keyboard walk. Closes #5010
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.
The card’s Next thread and Previous thread controls now open the selected thread through the canonical destination, revealing its recorded image or saved element before landing focus on the discussion. They previously replaced only the card, leaving a trace’s old checkpoint and saved tree on screen. This reuses the same reveal and navigation rules as the keyboard walk.
The trace journey reproduced the missing exact frame before the fix and now passes in both directions, including focus and the subsequent keyboard step. The existing shared-passage card navigation test passes too. All 737 runtime tests and
pnpm run check:browserpass; the committed kernel is rebuilt.The same captured trace after Next thread, before and after the fix: the discussion names the early frame in both; the candidate restores that frame and its 0.042 s playhead, clearing the unrelated checkpoint’s saved tree.
Startup comparison on that fixture: 37 requests at widget upgrade and 39 at server-state presentation in both versions; JavaScript increases by 22 bytes at each phase. Document arrival, upgrade and state presentation keep the same loading stages; the new destination work runs on activation.
Closes #5010 — automated triage