tui: gallery — tagging system + AI auto-tag #135
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#135
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 user with a large gallery, I want to attach tags to images and use AI to auto-tag, so that I can find related images later through filtering.
Background
GalleryItemalready carriestags: Vec<String>andGalleryFilterhas atags: Vec<String>filter field, but the TUI has no UI to add/remove tags or trigger AI tagging. GTK has a tag entry + auto-tag button incrates/loom-gtk/src/pages/gallery/mod.rs:304-307.Acceptance criteria
Tag editor overlay
OverlayKind::TagEditor(uuid::Uuid)opens viatfrom grid/list/detailxindicator)storage.update_tags(id, tags)LoomEvent::GalleryChangedafter saveAI auto-tag
T(uppercase) on the focused item callsbridge.tag_image(image_path)via the AI pluginAiJobTrackerpatternRender in cells
Filter integration
GalleryFilter::tagsalready filters; expose UI to add/remove from the filter chip bar (depends on filter-popover ticket)Tests
Out of scope
References
crates/loom-tui/src/screens/gallery.rs(items[i].tags)crates/loom-gtk/src/pages/gallery/mod.rs:304-307(GTK reference)crates/loom-tui/src/screens/generate.rs(AiJobTracker)