feat(tui): generation queue overlay — QueueState #64

Merged
charles merged 1 commit from tui/queue-overlay-24 into main 2026-04-11 20:42:35 +00:00
Owner

Stacks on #63. Closes charles/loom#24.

QueueState — a local mirror of loom_core::event_bus::QueueItemSnapshot entries sourced from LoomEvent::QueueChanged. set_items applies the sort (running → queued → done → failed), select_next/select_prev with clamping, selected_item, and running_progress() for the status-bar progress bar.

Overlay UI + keybinds (Ctrl+Q to open, d/r/Enter inside) land with the glue PR that threads an EventBus receiver through AppCtx. 3 new tests, 78 total.

Stacks on #63. Closes charles/loom#24. `QueueState` — a local mirror of `loom_core::event_bus::QueueItemSnapshot` entries sourced from `LoomEvent::QueueChanged`. `set_items` applies the sort (running → queued → done → failed), `select_next`/`select_prev` with clamping, `selected_item`, and `running_progress()` for the status-bar progress bar. Overlay UI + keybinds (`Ctrl+Q` to open, `d`/`r`/`Enter` inside) land with the glue PR that threads an EventBus receiver through AppCtx. 3 new tests, 78 total.
Adds QueueState: a local copy of loom_core::event_bus::
QueueItemSnapshot entries driven off LoomEvent::QueueChanged. Sorts
running → queued → done → failed, exposes selection movement,
running_progress() for the status-bar progress bar, and
selected_item() for cancel/retry/jump-to-gallery actions.

The overlay UI, keybinds (Ctrl+Q to open, d/r/Enter inside), and the
subscription plumbing land with the glue PR that threads an
EventBus receiver through AppCtx.

Closes charles/loom#24

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
charles changed target branch from tui/generate-preview-25 to main 2026-04-11 20:42:33 +00:00
charles deleted branch tui/queue-overlay-24 2026-04-11 20:42:36 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/loom!64
No description provided.