From 0eda72fd23f83897f412494c11d0f5938f682a95 Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 27 Dec 2025 07:47:27 -0600 Subject: [PATCH] feat: add review action buttons to job detail page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Show contextual buttons when jobs are ready for review: - QC Review button (blue) when status is pending_qc - Final Review button (purple) when status is pending_final_review Buttons appear dynamically via WebSocket updates without refresh. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- frontend/src/routes/jobs/JobDetail.tsx | 45 ++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/frontend/src/routes/jobs/JobDetail.tsx b/frontend/src/routes/jobs/JobDetail.tsx index 45b13ba..242f14d 100644 --- a/frontend/src/routes/jobs/JobDetail.tsx +++ b/frontend/src/routes/jobs/JobDetail.tsx @@ -343,6 +343,51 @@ export function JobDetail() { {/* Tab Content */} {renderTabContent()} + + {/* Review Action Button */} + {job.status === 'pending_qc' && ( +
+
+
+

Ready for QC Review

+

+ This job is awaiting quality control review. Review and approve the captions and audio descriptions. +

+
+ + + + + Go to QC Review + +
+
+ )} + + {job.status === 'pending_final_review' && ( +
+
+
+

Ready for Final Review

+

+ All translations and audio are complete. Perform the final review before delivery. +

+
+ + + + + Go to Final Review + +
+
+ )} {/* Sidebar */}