Skip to content

feat(manager): add subtitle review editor#752

Draft
lumberman wants to merge 1 commit intomainfrom
feat/manager-subtitle-review-editor
Draft

feat(manager): add subtitle review editor#752
lumberman wants to merge 1 commit intomainfrom
feat/manager-subtitle-review-editor

Conversation

@lumberman
Copy link
Copy Markdown
Collaborator

Summary

Adds a job-detail-first human subtitle review flow for Manager-generated VTT artifacts. Manager now mints short-lived review sessions, gates subtitle-review config, serves CORS-safe bootstrap/save APIs, stores reviewed VTT revisions as separate artifacts, and shows review actions/state from the job detail translation step. This also adds a small Forge-hosted apps/subtitle-editor app that exchanges launch codes, loads subtitles from Manager, lets reviewers edit VTT text, and saves reviewed revisions back.

Root cause for the follow-up hardening: the initial happy path left three edge cases from review: bootstrap used token-frozen artifact state instead of latest reviewed state, missing subtitle-review config failed late, and popup-blocked fallback attempted a delayed window.open that browsers could still block.

Work Loop

  • ce:plan done
  • ce:work done
  • ce:review done
  • ce:compound done

Notes

  • Plan: docs/plans/2026-04-13-feat-manager-subtitle-review-editor-plan.md
  • Review-fix plan: docs/plans/2026-04-13-fix-subtitle-review-recovery-config-plan.md
  • Roadmap: docs/roadmap/media-generation/feat-081-manager-subtitle-review-editor.md
  • Compound doc: docs/solutions/ui-bugs/20260413-manager-subtitle-editor-popup-reload.md
  • Browser smoke screenshots recorded in /tmp/forge-subtitle-smoke/: review-fixes-editor-after-save.png, review-fixes-job-reviewed.png, review-fixes-continue-loads-latest.png

Validation run locally after rebasing onto current origin/main:

  • pnpm --filter @forge/manager test
  • pnpm --filter @forge/manager lint
  • pnpm --filter @forge/manager typecheck
  • CI=1 pnpm --filter @forge/manager build
  • pnpm --filter @forge/subtitle-editor test
  • pnpm --filter @forge/subtitle-editor lint
  • pnpm --filter @forge/subtitle-editor typecheck
  • CI=1 NEXT_PUBLIC_MANAGER_BASE_URL=http://localhost:3002 pnpm --filter @forge/subtitle-editor build
  • pnpm run format:check
  • pnpm exec commitlint --from origin/main --to HEAD

@railway-app
Copy link
Copy Markdown

railway-app Bot commented Apr 13, 2026

🚅 Deployed to the forge-pr-752 environment in forge

Service Status Web Updated (UTC)
@forge/manager ✅ Success (View Logs) Apr 13, 2026 at 5:39 pm
@forge/cms ✅ Success (View Logs) Apr 13, 2026 at 5:39 pm
1 service not affected by this PR
  • @forge/web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant