Repository navigation
Fix Waterfall Escape deselection - #2187
Merged
Merged
Conversation
Merged
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.
Summary
Escape now clears the selected Waterfall row after closing Peek, matching the Inbox.
Empty selection survives live updates and expansion controls. The tree retains a keyboard entry point; navigation or a click selects a row again.
Closes #2180
Evidence
Execution evidence
Seam under test: the real Console served by the built binary, exercised through browser clicks, keys, rendered rows and ARIA state using isolated Command records.
node --test --test-name-pattern='Escape closes Waterfall layers' console/tests/spans.test.cjsnode --test console/tests/spans.test.cjs console/tests/waterfall.test.cjs: 11/11 pass, including empty selection, keyboard entry/navigation, expansion controls, changed-data refresh and running renders at desktop and phone widths.node --test --test-name-pattern='every keyboard action preserves list nodes and Escape closes one layer at a time' console/tests/inbox.test.cjs: 1/1 pass.scripts/affected-tests main: PASS. Build passed; all 208 Console browser tests and all 4,525 Rust tests passed (201 skipped). The Rust check took 2,996.09 seconds including compilation; test execution took 2,774.251 seconds.Visual evidence
Same flow in each pair: select a Session, press Escape to close Peek, then press Escape again. Fixture Commands only.
Desktop, 1440×900
Phone, 390×844
Merge Danger
Door: two-way
Revert the asset and test changes to restore the previous behavior.
Blast Radius: Console
Waterfall selection, focus and shared Escape handling. The existing Inbox Escape regression passes.
Review coverage
Standards: 0 actionable findings. Spec: 0 actionable findings. Both reviewers read all five changed files; no changed file was left unread. No generated-output exclusions.
Unaddressed findings
Built with codex codex-cli 0.169.0 · gpt-6.1-sol · xhigh
Security review outcome
No unaddressed introduced findings.