Repository navigation
Read the board's Space command through its grid row - #3922
Merged
Merged
Conversation
The command reference switched from HTML table rows to ARIA grid rows in #3915. Update the native-control assertion to find that row by role, keeping the check that Space lifts the card and Escape drops it. No product behavior changes.
This was referenced Oct 25, 2026
leaf-agent
added a commit
that referenced
this pull request
Oct 25, 2026
Let the shift watch recognize standard caret navigation in text editors even when the editor prevents the browser default to implement it itself. CodeMirror's PageDown does that: its caret stays at the same viewport offset while its content scrolls. The new watch from #3921 instead treated that intended movement as a forbidden scroll, failing `test_file_editor_page_navigation_preserves_the_caret_position` in [the main run](https://github.com/max-sixty/leaf/actions/runs/40176544925). Read the caret keys from the runtime's canonical `CARET_KEYS` and text-entry identity from its existing `typesText` reading. This changes only the suite's judgment; editor behavior stays the same. Ordinary edits and presses remain subject to the scroll check. Validation: the original file-editor test reproduces the 552px finding on main and passes after the correction. A new regression fails before this change, then passes while also checking that an ordinary editing key scrolling the same field still produces `gesture-scrolled`. All seven existing gesture-scroll cases pass. Ruff checks and formatting pass. The run's separate trace navigation declaration is in #3924, and #3922 fixed its board-reference selector failure. Co-authored-by: leaf-agent <[email protected]>
leaf-agent
added a commit
that referenced
this pull request
Oct 25, 2026
Declare the recording timeline's first/last capture commands as `travels`, preserving their existing navigation and scroll behavior under the gesture watch introduced by #3921. In [the failed main run](https://github.com/max-sixty/leaf/actions/runs/40176544925), End reached the last capture but the watch rejected its 784px scroll because these two command rows lacked the declaration. The exact failing test, `test_trace_frames_retain_saved_elements_and_disclosure_stays_closable`, reproduces on current main and passes with these declarations. Its assertions still check that saved elements survive capture navigation and the disclosure remains closable. The file-editor PageDown finding is a separate watch correction being handled in this CI repair; #3922 already fixed the run's board-reference selector failure. Co-authored-by: leaf-agent <[email protected]>
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 native-control keyboard test still looked for an HTML
trafter #3915 changed the command reference to ARIA grid rows. It therefore missed the existing “Grab the card” command and timed out in the failed main run.Find the row by its accessibility role, preserving the assertions that it advertises Space, Space lifts the board card, and Escape drops it. This changes no product behavior. The focused test passes with the corrected selector; Ruff checks and formatting pass.
The run's separate resolved diff-thread layout-shift failure is being investigated independently.