feat(tui): split-pane detail, compact headers, input drawer #31

Merged
lerko merged 1 commits from feat/tui-layout into feat/tui 2026-05-19 23:59:45 +00:00
Owner

Summary

  • Compact date headers: date labels render as left gutter column instead of standalone lines, saving one line per date group in stream view
  • Input drawer: capture bar expands to 4-line drawer (border, input, hints, live preview) with dynamic content area resizing
  • Split-pane detail: wide terminals (>=100 cols) show list (40%) and detail (60%) side-by-side with h/l focus switching; narrow terminals fall back to full-screen detail

Test plan

  • Stream view: date gutter renders, cursor navigation across date boundaries, scroll offset correct
  • Press a: drawer opens (4 lines), content shrinks. Type input with tags, preview updates live. Esc closes, content restores.
  • Wide terminal + Enter → split view. l/h switch focus. j/k in list auto-updates detail. Esc chain works.
  • r on checklist in split → full-screen run → esc → back to split
  • Resize terminal narrow while split active → transitions to full-screen detail
  • Cards mode works in split view, tab intent cycling unaffected
## Summary - **Compact date headers**: date labels render as left gutter column instead of standalone lines, saving one line per date group in stream view - **Input drawer**: capture bar expands to 4-line drawer (border, input, hints, live preview) with dynamic content area resizing - **Split-pane detail**: wide terminals (>=100 cols) show list (40%) and detail (60%) side-by-side with h/l focus switching; narrow terminals fall back to full-screen detail ## Test plan - [x] Stream view: date gutter renders, cursor navigation across date boundaries, scroll offset correct - [x] Press a: drawer opens (4 lines), content shrinks. Type input with tags, preview updates live. Esc closes, content restores. - [x] Wide terminal + Enter → split view. l/h switch focus. j/k in list auto-updates detail. Esc chain works. - [ ] r on checklist in split → full-screen run → esc → back to split - [x] Resize terminal narrow while split active → transitions to full-screen detail - [x] Cards mode works in split view, tab intent cycling unaffected
lerko added 1 commit 2026-05-19 23:56:26 +00:00
Three layout improvements for better space utilization:

- Compact date headers: date labels render as left gutter column instead
  of standalone lines, saving one line per date group in stream view
- Input drawer: capture bar expands to 4-line drawer with border, hints,
  and live preview of parsed entity/search query
- Split-pane detail: wide terminals (>=100 cols) show list and detail
  side-by-side with h/l focus switching, falling back to full-screen
  detail on narrow terminals
lerko merged commit a141b2fd4f into feat/tui 2026-05-19 23:59:45 +00:00
lerko deleted branch feat/tui-layout 2026-05-19 23:59:45 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lerko/nib-v1#31