Skip to content

Projects: make compositions mobile ready only once approved (#275) - #279

Merged
bubulux merged 2 commits into
mainfrom
feat/275-bake-approved-only
Oct 27, 2026
Merged

bubulux merged 2 commits into
mainfrom
feat/275-bake-approved-only

Conversation

@bubulux

@bubulux bubulux commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #275. Stacked on #278 (base feat/275-timeline-shot-layers); merge #278 first.

What changed

A project can make compositions mobile ready only once a shot is approved.

  • Migration 0031 (additive): projects.bake_approved_only, default off.
  • API: PUT /api/projects/:id takes an optional boolean bake_approved_only (absent keeps it). Every shot payload carries the project's value, so the clients need no project lookup.
  • Vocab bakeWaits(shot): the setting is on and the shot is not approved.
  • Studio: Library › Projects › "Phone images of compositions": Every shot / Approved shots only. The bakery skips waiting shots; the "◌" mark's tooltip says why. Toggling updates the loaded shots at once.
  • Phone: a waiting step shows the photo tagged "Baked once approved" instead of "Layers not baked yet".

Decisions (owner, 2026-10-27)

  • Per project, on the server.
  • Existing bakes are kept, not deleted; the phone shows them while they still match. Approving a shot bakes it at the bakery's next pass.
  • The phone shows the photo plus the "Baked once approved" tag.

Checked

  • make check green, with new vocab and route tests (shots carry the setting, a PUT without it keeps it, non-booleans are rejected).
  • Headless Chrome on a local database with 0031: the toggle saves, and shots then carry the setting.

Not clicked through

  • The phone tag.
  • Approving a waiting shot and watching it bake.

🤖 Generated with Claude Code

bubulux and others added 2 commits October 27, 2026 14:53
A project setting (migration 0031, carried on every shot payload) makes the
Studio's bakery skip shots that are not approved; the phone tags their steps
"Baked once approved". Existing bakes stay and show while fresh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each tenancy case adds a world of A's with the same capture time; past 100
shots the listed world could fall off the first page (random id order).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bubulux
bubulux changed the base branch from feat/275-timeline-shot-layers to main October 27, 2026 14:13
@bubulux
bubulux merged commit cc79c91 into main Oct 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant