mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 01:38:44 +00:00
## Summary Compacts the legacy reference bands above the prompt box (audio ref row, multi-view/input-mesh row, reference video row) into the reference deck design already used on the image and video pages. Mobile forms keep their existing rows. ## Changes - **Create Audio** - audio tracks are now deck cards (playable tile, duration badge) with Upload / From library in the deck's "+" menu; band removed. Mutual-exclusion and "Audio track required" behavior unchanged. - **Create 3D World** - guide video is now a deck card; store reworked to the shared `RefVideo[]` shape. - **Create 3D Object** - Front/Back/Left/Right are always-visible labeled slot cards next to the image-ref deck (same design as First/Last frame on video), plus a "Mesh" slot card for mesh-to-mesh models. Upload logic deduplicated into `mesh-upload.ts`. - **Webapp PromptBox** - removed the `mediaReferenceRow` band prop; deck video/audio groups gate on `videoRefsSupported`/`audioRefsSupported` (no longer video-page-only); new `referenceSlots` prop; `maxImages: 0` blocks image uploads on pages whose model takes no image refs. - **Deck lib** - exported `DeckSlotCard`; new `mesh` card kind; `sortable: false` for fixed slots; non-finite duration caps hide the seconds limit; collapsed fan width now tracks card count, so a single ref sits snug against the prompt (multi-ref unchanged).