feat(tui): Gallery screen — grid & list view #66
No reviewers
Labels
No labels
area:agents
area:ai
area:config
area:dashboard
area:design
area:design-review
area:devtools
area:entities
area:gallery
area:generate
area:image
area:infra
area:meta
area:model-browser
area:navigation
area:presets
area:security
area:sessions
area:settings
area:sharing
area:test
area:ux
area:webhook
area:workdir
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/loom!66
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "tui/gallery-grid-27"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stacks on #65. Closes charles/loom#27. First PR of Phase 4.
GalleryScreenwithViewMode::{Grid, List}, selection index with row/col clamping (move_selection(dx, dy)), grid rendering with bordered prompt-caption cells, list rendering viaList + ListState,Gjumps to end.The
itemsvec is populated fromGalleryStorageonce threaded throughAppCtxin a later glue PR; today the screen renders an "empty" hint so it's still navigable. 3 new tests, 84 total.Adds GalleryScreen with ViewMode::{Grid, List}, a selection index, and movement helpers (move_selection with row/col clamping, jump). h/j/k/l and arrow keys move, v toggles view, G jumps to end. Grid view renders each item as a compact bordered cell with the truncated prompt as caption; list view uses a ratatui List with highlight_symbol. Items slice is empty until GalleryStorage is threaded through AppCtx in a later glue PR — the screen renders an "empty" hint so it's still a navigable surface. Closes charles/loom#27 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>