List previz in Storage and purge old playblasts (#167) #178
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
needs-info
needs-triage
question
ready-for-agent
ready-for-human
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crowmaki/ai-studio!178
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-167-previz-storage"
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?
Closes #167. Part of #139.
What changed
Storage now lists previz, so the filmmaker can reclaim space from old playblasts.
1A playblast v2), with its size and the space a purge would free. It lists what uses it: the Shot while this version is its current previz, and every Take that was sent it..blendfile in each Shot's previz folder. This coversscene.blend, thescene-set-aside-N.blendfiles that "Rebuild Blender scene" leaves, and Blender's.blend1backups. Each row shows its size and lists its Shot as the user.previz_version.purged_at. A purged version is kept through undo of its import, so redo brings it back purged.CONTEXT.md: the Storage and Purge entries now cover Playblasts.Decisions to check
.blend*files are listed. The other files in a previz folder (playblast.mp4,scene.json,bootstrap.py, reference images) are not listed.Tests
crates/studio-core/tests/previz.rs(section "Storage"). It covers:src/lib/storage/storage.test.tsfor the badges and for where the new rows open.cargo test --workspace --all-featuresandbun test.svelte-checkis clean.