mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-10 03:51:25 +00:00
- Tags editor in LightboxDetails (lightbox + /media/:id): chip input with autocomplete over the user's existing tags, comma/paste splitting, duplicate rejection, owner gating via session, and serialized+coalesced SetMediaFileTags snapshot saves with optimistic chips and error revert (components/tags/TagChipInput.tsx, TagsSection.tsx) - Tag browser: "Tags" tab in the library with name/most-used sort, tag view at /library/tag_… reusing the media grid, breadcrumb header with rename (FolderNameDialog) and delete (confirm modal), tag context menu - Sidebar: tags rows under the Assets group below folders, with expand/collapse chevrons on both Folders (default open) and Tags (default closed), animated via framer-motion; tag icons use violet to distinguish them from folders - New library-tags-store mirroring the folders store (cursor-paged media caches, optimistic rename/delete with toast revert); shared item mappers extracted to library-media-map.ts to avoid a circular import; media deletion now purges tag caches; bulk-selection bar resolves thumbnails from tag caches too - Topbar breadcrumbs map /library/tags and tag views to "Tags" - Tags show as word cloud