mirror of
https://github.com/storytold/artcraft.git
synced 2026-10-25 10:39:37 +00:00
9f28c525ec
## Changes **Batch download** - Add multi-select mode to the create-video results feed (webapp + desktop) with a "Select" toggle in the topbar, checkboxes on completed items, and a floating download bar - Webapp: "Download" bundles selected videos into a single .zip client-side (new jszip dependency, concurrent fetches, progress and partial-failure toasts) - Desktop: "Download" prompts for a folder and saves each selected video as its own file via native Tauri save, with progress toasts - Library: add a Download (zip) button to the existing bulk selection bar - Shared `ui-generation-list` lib gains a selection store, select toggle, action bar, and optional selection props on the grid/list views (existing hosts unaffected) **Credits refresh on failed generations** - Webapp: dispatch a credits refresh when the task queue or generation feed observes a newly failed job (immediately and again after 2.5s so server-side refunds settle) - Desktop: also refresh credits when the 5s task poll discovers a failure that the push event missed, and listen for `credits-change` in the TopBar **UI fixes** - Selection download bar always sits above the promptbox regardless of its size - Mobile Generate/History header no longer overlaps the gallery toggles (flex layout instead of absolute positioning) - Reference deck top-aligns in the expanded prompt box instead of centering - "Play videos with sound" setting now defaults to on
11 lines
196 B
JSON
11 lines
196 B
JSON
{
|
|
"name": "@frontend/artcraft-webapp",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"dependencies": {
|
|
"jszip": "^3.10.1",
|
|
"react-aria": "^3.48.0",
|
|
"react-masonry-css": "^1.0.16"
|
|
}
|
|
}
|