video-accessibility/backend/app/api/v1
Vadym Samoilenko c7a6f13b10 feat(workflow): PR-2 workflow blockers — PM/Production dashboards, two-stage QC, role routing
Changes:
- Dashboard: add project_manager case (final review / QC counts / new job widgets)
  and production case (AI pipeline / failures widgets)
- Sidebar: add project_manager to Final Review and Audit Log nav items;
  live badge counts for QC Queue (pending_qc) and Final Review (pending_final_review)
- App.tsx: add project_manager to Final Review and Audit Log RoleGates (W-10, PM-18)
- Login: role-based redirect after login — linguist/reviewer → /qc/queue, others → /
- language_qc._assert_can_approve: enforce two-stage QC; remove linguist self-approve
  fallback; require reviewer assignment + submitted_for_review_at (W-6)
- routes_jobs.complete_job: allow project_manager to complete jobs (W-9)
- notify.py: re-enable email notifications (W-7)
- Fix 400 on cue save: treat empty-string audio_description_vtt/captions_vtt as absent
  both in backend (truthy check) and frontend (|| undefined) — root cause was adVtt
  initialising to '' when job has no AD track

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 18:18:24 +01:00
..
routes_admin.py feat: two-stage QC (linguist→reviewer), project picker, comments, email notifications, deadlines 2026-04-29 16:59:40 +01:00
routes_auth.py fix: code health sweep — M-01 through M-07 2026-04-29 14:18:02 +01:00
routes_clients.py feat: two-stage QC (linguist→reviewer), project picker, comments, email notifications, deadlines 2026-04-29 16:59:40 +01:00
routes_files.py feat: audit log integration sweep + cost tracker URL fix + audit log admin UI 2026-04-29 11:34:06 +01:00
routes_glossaries.py feat: two-stage QC (linguist→reviewer), project picker, comments, email notifications, deadlines 2026-04-29 16:59:40 +01:00
routes_invitations.py feat(saas): Phase 3 — membership-based authz + Mailgun + job.organization_id 2026-04-27 16:56:42 +01:00
routes_jobs.py feat(workflow): PR-2 workflow blockers — PM/Production dashboards, two-stage QC, role routing 2026-04-29 18:18:24 +01:00
routes_language_qc.py feat: two-stage QC (linguist→reviewer), project picker, comments, email notifications, deadlines 2026-04-29 16:59:40 +01:00
routes_organizations.py feat(saas): Phase 3 — membership-based authz + Mailgun + job.organization_id 2026-04-27 16:56:42 +01:00
routes_review_notes.py feat: add linguist role and user management navigation 2026-04-16 11:46:33 +01:00
routes_tts.py feat: Client → Team → Project isolation system with Project Manager role 2026-04-27 15:11:13 +01:00
routes_vtt_versions.py feat: VTT version control — snapshots, diff, restore 2026-04-29 11:46:21 +01:00
routes_websockets.py wrote docker files and deployment instructions 2025-10-08 16:00:12 -05:00