Undo Button -> review state. Result files added to recents (#4337)

Produced PDFs go into recent files
Undo button added to review state
Undo causes undoConsume which replaces result files with source files.
Removes result files from recent files too

---------

Co-authored-by: Connor Yoh <[email protected]>
This commit is contained in:
ConnorYoh
2025-09-02 15:09:05 +01:00
committed by GitHub
co-authored by Connor Yoh
parent 96aa43860b
commit 1a3e8e7ecf
29 changed files with 440 additions and 96 deletions
+1
View File
@@ -34,6 +34,7 @@ const UnlockPdfForms = (props: BaseToolProps) => {
operation: base.operation,
title: t("unlockPDFForms.results.title", "Unlocked Forms Results"),
onFileClick: base.handleThumbnailClick,
onUndo: base.handleUndo,
},
});
};