A generation runs on a backend daemon thread and survives a page reload, but the mount effect only probed the load progress, so reloading during a generate showed an idle page that never picked up the finished clip until a manual refresh. Hoist the generate poll loop out of handleGenerate and re-enter it on mount when generate-progress reports an active job; merge a terminal completed record into the gallery to cover the race with the mount gallery fetch. |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .gitignore | ||
| .gitkeep | ||
| .npmrc | ||
| biome.json | ||
| components.json | ||
| data-designer.openapi (1).yaml | ||
| eslint.config.js | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||