Skip to content

fix: fill the Page Map focus fixture with overflowing content - #4961

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4899
Nov 1, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-4899

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The small-screen Page Map test assumed four rows would overflow at 390×480. On current main it fails that prerequisite before testing an arriving meaning or retained focus. The shared row layout puts thread status beside its name (#4684), so relying on incidental wrapping is fragile.

Populate the fixture with eight additional real comments, retaining the explicit overflow assertion and the checks that an arriving comment updates both the map and margin count without losing keyboard focus. Remove the redundant fixed-height conditional. Product rendering and behavior are unchanged.

Validation: the original test fails on main at the overflow assertion; the repaired test passes normally and with Chromium CPU throttled tenfold. Ruff formatting, Ruff lint and git diff --check pass.

Closes #4899 — automated triage

The four-row setup depended on wrapping and no longer overflowed at 390×480. Add real comment meanings so the overflow prerequisite and arriving-meaning focus assertions remain exercised without changing the shared row layout.

Closes #4899
@leaf-agent
leaf-agent merged commit e4883ee into main Nov 1, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4899 branch November 1, 2026 16:37
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.

Small-screen Page Map fixture no longer reaches its overflowing list

1 participant