Skip to content

fix: keep authored timeline steps selectable - #4265

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4243
Oct 26, 2026
Merged

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

Conversation

@leaf-agent

@leaf-agent leaf-agent commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

Timeline step rows contained the event text inside native buttons, preventing the reader from selecting a passage. The step list now uses Leaf's existing selectable control primitive, with Enter and Space activation supplied by each step's command scope. Clicks, arrows, saved step position and printed event text keep their behavior; dragging across a step's words leaves the playhead unchanged.

The selectable constructor now lives beside the other initial-render control constructors, so early drawing and live widget modules use the same implementation. This preserves #3973's stepping and print behavior while fixing its inaccessible event text.

Validation: the reported test_page_fixture_renders[lost-update] failed on main and passes with this change. Both timeline tests pass, including real passage selection, Enter/Space activation, arrow focus, resizing and print. pnpm run check and the configured pre-commit checks pass (including 668 runtime tests). The served startup comparison uses 44 requests in both arms; code loaded before presentation changes from 2,842,898 to 2,842,996 bytes.

All four before/after still pairs are unchanged: the initial timeline, a keyboard-focused active step in light and dark, and the initial phone view. Independent code and browser review found no actionable issues.

Closes #4243 — automated triage

Use the shared selectable control constructor in initial rendering as well as widget modules. Timeline steps keep their page words available to passage selection and print while their own command scope supplies Enter and Space activation. A selection drag leaves the current step unchanged.

Closes #4243
@leaf-agent
leaf-agent merged commit cb8b949 into main Oct 26, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4243 branch October 26, 2026 15:19
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.

Lost-update timelines put selectable words inside form controls

1 participant