feat: add replay button for download detection jobs and color-coded job type badges
Add download_detection to replayable job types and replay route handler. Give each job type a unique colored background badge for better visual distinction in the jobs table. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -38,7 +38,7 @@ interface JobRowProps {
|
||||
formatDuration: (start: string, end: string | null) => string;
|
||||
}
|
||||
|
||||
const REPLAYABLE_TYPES = new Set(["rebuild", "full_rebuild", "rescan", "scan", "thumbnail_rebuild", "thumbnail_regenerate", "metadata_batch", "metadata_refresh", "reading_status_match", "reading_status_push"]);
|
||||
const REPLAYABLE_TYPES = new Set(["rebuild", "full_rebuild", "rescan", "scan", "thumbnail_rebuild", "thumbnail_regenerate", "metadata_batch", "metadata_refresh", "reading_status_match", "reading_status_push", "download_detection"]);
|
||||
|
||||
export function JobRow({ job, libraryName, highlighted, onCancel, onReplay, formatDate, formatDuration }: JobRowProps) {
|
||||
const { t } = useTranslation();
|
||||
|
||||
Reference in New Issue
Block a user