Skip to content

test: find the render gate's item comment where c reaches Leaf, not where a control types no letters - #6515

Merged
leaf-agent merged 1 commit into
mainfrom
fix/render-gate-typeahead-c
Nov 19, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/render-gate-typeahead-c

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The render gate's typed-box journey fails on every page with a file tree (file-tree, file-tree-input, deploy-config) since #6469. The journey's into_the_page helper picked the control to comment on by "takes no letters" (!takesLetters(at)). But #6469 gave letters to typeahead widgets through nativeClaimAt and left takesLetters as it was, so the helper stopped on a tree row. There c now types into the tree's search. The journey typed its words there ("cW" in input … lf-file-tree) and reported the comment on an item scrolled to the end and back is gone.

The helper now asks the dispatcher whether c reaches comment.create at the focused control (availableCommandRoutes). That is the reading the keyboard itself acts on, so the helper tabs past any control that keeps the letter. #6469's behavior stays as Max chose it. Only the test's way of finding a comment target changes, and it no longer duplicates part of the dispatcher's rule.

Verification: test_page_fixture_renders[file-tree], [file-tree-input] and [deploy-config] fail on dd38dcb16 with this run's diagnostic, and pass with the change. Six other test_page_fixture_renders pages pass with it too, including feature-gallery, pr-walkthrough and the diff pages.

Refs #4225 — automated triage

…here a control types no letters

#6469 left letters and digits to widgets that type ahead (trees, menus,
listboxes, comboboxes) through `nativeClaimAt`, without widening
`takesLetters`. The render gate's `into_the_page` still chose the control
to comment on by `!takesLetters(at)`, so on a file-tree page it stopped on a
tree row, where `c` now types into the tree's search. The typed-box journey
then typed its words into that search and reported the box gone.

The helper now asks the dispatcher whether `c` reaches `comment.create` at
the focused control (`availableCommandRoutes`), the reading the keyboard
itself acts on, so it tabs past any control that keeps the letter.
`test_page_fixture_renders[file-tree|file-tree-input|deploy-config]` fail at
dd38dcb and pass with this change.

Refs #4225
@leaf-agent
leaf-agent merged commit d193863 into main Nov 19, 2026
6 checks passed
@leaf-agent
leaf-agent deleted the fix/render-gate-typeahead-c branch November 19, 2026 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant