Reprot more accurate notification for tasks with follow-ups

This commit is contained in:
shamoon committed 2026-11-14 11:51:42 -08:00
1 parent 6f5a192967
commit 058e27e3ef
8 files changed
+84 -14

No files matched your search

@@ -23,3 +23,16 @@ export function getDocumentOperationLabel(operation?: string): string | null {
const label = operation ? OPERATION_LABELS[operation] : null
return label ?? null
}
// These operations queue processing in separate tasks
export function documentOperationHasFollowUpTasks(operation?: string): boolean {
return [
'reprocess',
'rotate',
'merge',
'split',
'delete_pages',
'edit_pdf',
'remove_password',
].includes(operation ?? '')
}