Skip to content

[#488] Redesign cartoon lettering review workflow#491

Merged
realproject7 merged 2 commits into
mainfrom
task/488-lettering-review-editor
Jun 7, 2026
Merged

[#488] Redesign cartoon lettering review workflow#491
realproject7 merged 2 commits into
mainfrom
task/488-lettering-review-editor

Conversation

@realproject7

Copy link
Copy Markdown
Owner

Summary

  • Redesign the cartoon lettering screen into a full vertical review board with larger cut previews, per-cut lettering/export/upload state, and explicit between-scene card insertion slots.
  • Move AI draft prompt copying into the focused lettering editor so prompts are scoped to the selected cut or between-scene card.
  • Update the focused editor header/actions with clear Save and Cancel flows; successful Save can return to the review board while preserving export/upload semantics.
  • Add regression coverage for focused cut editing, between-scene text-card editing, review-state display, and scoped AI draft assistance.

Verification

  • TMPDIR=/home/quadwork/plotlink-ows-dev/.tmp/vitest npm test -- app/web/components/CutListPanel.test.tsx app/web/components/LetteringEditor.test.tsx app/web/components/export-upload-state.test.tsx app/web/components/PreviewPanel.test.tsx app/web/components/WorkflowCoach.test.tsx passed: 101 tests.
  • npm run typecheck passed.
  • npm run lint passed with existing warnings only.
  • npm run app:build passed; rebuilt tracked Vite dist assets.

Closes #488.

@project7-interns project7-interns left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Summary

PR #491 implements the #488 lettering redesign around a vertical full-cut review board and focused editor mode. The updated flow keeps per-cut saved/exported/uploaded state visible, makes between-scene cards selectable/editable as first-class targets, and scopes AI draft prompting inside the focused editor.

Findings

  • No blocking findings.

Decision

Approved. I reviewed the live PR diff at ee3f7d7422223a5b067be25c99067d451d7c1608, issue #488, and the changed CutListPanel / LetteringEditor paths. The implementation preserves existing export/upload/readiness flows while moving lettering work into the focused editor and adding regression coverage for focused cut editing, between-scene card creation, review-state display, and scoped AI draft prompting. Live CI lint-and-typecheck was still pending when checked. I attempted the reported local focused test command in this checkout, but it could not run because vitest is not installed here (sh: 1: vitest: not found).

@project7-interns project7-interns left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: REQUEST CHANGES

Summary

PR #491 delivers the two-mode review/editor structure, but it does not update the shared lettering-completion logic for the new first-class between-scene cards. An empty text panel can be present while the workflow coach and checklist advance to export, so the standardized Next Action can skip required between-scene lettering.

Findings

  • [high] Empty between-scene cards are not counted as lettering work before the workflow advances to export.
    • File: app/lib/cartoon-readiness.ts:522
    • Details: summarizeCutProgress only increments needClean/withText for non-text image cuts. Then cartoonChecklist marks the letter step done when p.withText === p.needClean (app/lib/cartoon-readiness.ts:591), and deriveCartoonCoach advances past lettering with the same c.withText < c.needClean gate (app/lib/cartoon-coach.ts:171). With this PR, a user can click a Between-scene lettering slot, creating a text panel with no overlays. If the image cuts are already lettered, that text panel still shows Between-scene card · Open to add narration or title text in the review board, but the checklist/coach move to Export final images / Finish and export the final images. That violates #488's requirement that inter-cut areas are first-class lettering targets and that the Next Action advances only after all required lettering is complete.
    • Suggestion: Extend the progress model used by cartoonChecklist and deriveCartoonCoach so text panels participate in the lettering gate. For example, count text panels as lettering targets and count them complete only when they have saved overlays or an exported final, then add a regression covering image cuts lettered + one empty text panel: the review board should still route to focused editing for that card and the coach/checklist should remain at lettering, not export.

Decision

Requested changes. Reviewed live PR #491 at ee3f7d7422223a5b067be25c99067d451d7c1608, issue #488, and live CI. CI lint-and-typecheck was still pending when checked.

@project7-interns project7-interns left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Summary

The requested text-panel workflow gate fix is present at d894966056cb4478533d6d1b5e89a73b694fe8b9. Text panels now remain first-class lettering targets in the shared progress/checklist/coach path, so an empty between-scene card no longer lets the workflow advance to export while the review board still says it needs text.

Findings

  • No blocking findings.

Decision

Approved. I re-reviewed the live PR diff, issue #488, and the updated cartoon-readiness, cartoon-coach, story progress, preview, and publish-checklist paths. summarizeCutProgress now keeps clean-image accounting image-cut-only while counting lettering/export/upload against all cuts, and the added regressions cover image cuts lettered plus an empty text panel staying at open-lettering instead of export. Live CI lint-and-typecheck was still pending when checked for the current commit.

@project7-interns project7-interns left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Summary

The requested text-panel lettering gate fix is present at d894966056cb4478533d6d1b5e89a73b694fe8b9. Empty between-scene cards now keep the shared workflow at lettering instead of advancing to export.

Findings

  • No blocking findings.

Decision

Approved. summarizeCutProgress now counts text-panel overlays toward withText while preserving the clean-image exemption for text panels; cartoonChecklist gates lettering on withText === total; and deriveCartoonCoach uses the total-cut lettering gate before export. Regression coverage covers both checklist and coach for image-cuts-lettered plus an empty text panel. Live CI lint-and-typecheck was still pending when checked for the current commit.

@realproject7 realproject7 merged commit c86f43c into main Jun 7, 2026
1 check passed
@realproject7 realproject7 changed the title Redesign cartoon lettering review workflow [#488] Redesign cartoon lettering review workflow Jun 7, 2026
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.

Redesign cartoon lettering workflow around full-cut review and focused editor

2 participants