Files
pipelines/app/notes/list-pane-resize.md
alan c0d68f7c47 Split view: drag the divider to resize the list pane, remembered per destination
A 12 px grab area over the divider line resizes the list live (mouse,
touch, arrow keys; double tap resets to the default policy). The shell bar
over the list follows. Widths persist per destination in SharedPreferences
and clamp to the window without overwriting the saved value. Capture kit
gains hover= and drag= steps.
2026-11-03 10:49:09 +00:00

946 B

Resizable list pane

The divider between a list and its open item (ListDetailPanes) drags to resize the list, on every destination that splits (Pipelines, Runs, Chat).

  • lib/shell/list_pane_divider.dart: 12 px grab area over the 1 px line, resizeColumn cursor, handle on hover/focus/drag, mouse and touch drag, double tap resets, arrow keys step 16 px, slider semantics.
  • lib/shell/list_pane_widths.dart: per-destination widths, saved in SharedPreferences under pipelines.next.listPaneWidth.v1.<destination> on drag end; the shell owns one and the bar over the list follows it.
  • lib/shell/list_detail_policy.dart: listPaneWidthBounds (list >= 240, open item >= max(half the window, 320), list <= 60% of the window). A saved width is clamped when laid out, never overwritten by a small window.
  • Below kListDetailMinWidth nothing changes.
  • Capture kit: new hover= and drag= steps. Evidence: /tmp/split-drag/.