Skip to content

Align option shortcut test with visible thread reply - #1206

Merged
max-sixty merged 1 commit into
mainfrom
fix/ci-36217032553
Sep 26, 2026
Merged

max-sixty merged 1 commit into
mainfrom
fix/ci-36217032553

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The nightly option-addition test still expected c to open a new comment composer from a focused option. PR #1204 changed the shortcut to enter the Reply box in the thread card already visible beside that option. The test now checks that destination and verifies that the shortcut neither selects an option nor opens a second composer.

The failed nightly run had one other failure in the visual review journey. PR #1205 already corrected that expectation on main; its focused case passes locally. Before this change, the option test reproduced the remaining failure. Afterward, uv run pytest tests/test_render_options_addition.py -q -n0 passes (9 tests).

@max-sixty
max-sixty merged commit ed2d97d into main Sep 26, 2026
4 checks passed
@max-sixty
max-sixty deleted the fix/ci-36217032553 branch September 26, 2026 08:13
max-sixty pushed a commit that referenced this pull request Sep 26, 2026
The [nightly
run](https://github.com/max-sixty/leaf/actions/runs/36223905985) found
that Go-to hints could appear while native PageDown was still settling.
Arming set the hint session's `stood` state to false, but paint withheld
generated hints only after a scroll event had arrived. This change waits
for the scene to settle before drawing those hints, then requests a
repaint when the settle timer finishes, including on a page already at
rest.

The browser test now holds the browser clock at the first rendering
frame, checks the armed but unhinted map, resumes time, and checks the
settled map after PageDown moved the document. This reproduced the
premature hints before the runtime fix. The focused navigation and
target-hint selection passed (4 tests), as did the runtime fold suite
(125 tests) and pre-commit hooks. The run's other failing assertion, in
the option-addition test, was already corrected by #1206.

---------

Co-authored-by: leaf-agent <[email protected]>
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.

2 participants