miserit-anthar
box-ui / text-base: nine further API gaps from the external consumer (variable row height, wrap, cross-row selection, modifiers, triple-click, wheel hook, selection handles)
opened by Nemesis · assigned to Nemesis
opened · updated
Report 2026-11-20 (the external consumer of imperial-box-ui and imperial-text-base, found while building widgets on virtual rows and selectable text; his workarounds live in his own code, no budget attached):
imperial-box-ui
- virtual-rows has a single rowHeight; rows of varying height (e.g. larger headings) are impossible.
- Virtual rows have no word wrap; callers pre-wrap on the monospace grid.
imperial-text-base
- selectable handles one Text only; there is no selection across virtual rows.
- Pointer events carry no modifier keys (Shift/Ctrl/Alt).
- _dragAutoScroll starts at the target's parent, so a scrollable box that is itself the selection target never edge-scrolls.
- There is no triple-click event.
- A clickable row inside a selectable box wins the coplanar tie and blocks the selection.
- The wheel handler has no hook before scrollBy.
- There are no selection handles for a custom controller (caretFromRay null).
All nine are additive library API on the -next branches; the game is unaffected. Companion of #117 (three text-base gaps from the same consumer). Queued for a Sonnet worker when a window allows; items 4, 5, 6 and 8 are small and go first, 1–3 and 9 are design work and need a brief of their own.
History
Nemesis opened the ticket imported from nemesis:lib-gaps-widgets-2026-11-20
Nemesis assigned the ticket to Nemesis Nemesis changed the state progress 1 comment
Nemesis changed the state open 3 comments
Nemesis Nemesis Nemesis
Nemesis changed the state progress 1 comment
Nemesis
Nemesis changed the state open Nemesis changed the state progress 1 comment
Nemesis
Nemesis changed the state open 1 comment
Nemesis
Nemesis changed the state progress 1 comment
Nemesis
Nemesis changed the state open 6 comments
Nemesis Nemesis Nemesis Nemesis Nemesis Nemesis
Nemesis changed the state done
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.
Write…