tui: Gallery screen — wire SQLite storage & image display #88
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#88
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
User Story
As a loom-tui user, I want the Gallery screen to load my generated images from the SQLite database and display actual thumbnails, so that I can browse, search, and manage my image library from the terminal.
Context
The Gallery screen (#27–#30) has full UI — grid/list/detail views, search, multi-select, zoom/pan. But it shows no images because
GalleryStorageisn't connected. This ticket wires the storage layer and image rendering.Acceptance Criteria
Data Loading
GalleryStorageon screen entry/) queries storage with real-time filtering by prompt text, tags, datef) reads available folders, models, samplers from storageS) issue correct ORDER BY queriesImage Display
ImageRendererin each cellCRUD Operations
*toggle favorite writes to storagedd/Deletemoves to trash (with confirmation dialog) and updates storageuundoes last delete within session (restores from trash)mmoves selected images to a folder (folder picker overlay)eexports file to user-chosen pathacreates folder;rrenames;ddeletes folder (with confirmation)Detail View
iinfo overlay shows full generation parameters from storageR(replay) fills Generate screen with stored parameterssopens sharing overlay with the current imageTests
Out of Scope
References
src/screens/gallery.rs