Files
vfxreview/prisma/migrations/20260828010000_shot_is_scaled/migration.sql
T
twotalesanimation bac525ddd0
Deploy / deploy (push) Successful in 7m28s
feat(shot-status): shot version beside the name, and a scaled-in-edit flag
Two small board additions.

The shot version now shows next to the shot code. It is Shot.shotVersion —
the value the AE panel burns into overlays and queueExport renders under,
and the one the shot detail page edits — not a count of uploaded review
Versions, so the board agrees with what the artist has in the panel.

Shot.isScaled records that a shot is scaled in the edit: the plate is not
used at its native size, which changes how the shot is comped and
reviewed. That makes it a standing property of the shot rather than
something buried in the notes, so it is flagged the way isKeyShot is — a
cyan pill next to the shot name, and a Scaled toggle column beside Key.
toggleScaledShot() (actions/shots.ts) mirrors toggleKeyShot, same roles.

KeyShotToggle's switch markup would have been duplicated verbatim for the
second flag, so both now sit on a shared FlagToggle taking a colour tone
and a setter. The key-shot switch behaves exactly as before, optimistic
update and rollback included.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-28 09:57:05 +02:00

5 lines
289 B
SQL

-- Scaled-in-edit flag. The plate is not used at its native size, which changes
-- how the shot is comped and reviewed — a standing property of the shot, like
-- isKeyShot, rather than a note someone has to read.
ALTER TABLE "shots" ADD COLUMN "isScaled" BOOLEAN NOT NULL DEFAULT false;