From 5dd5dbccf055ce0bf4d82fa992cc6cf713e6ab3c Mon Sep 17 00:00:00 2001 From: webadderall <131426131+webadderall@users.noreply.github.com> Date: Mon, 20 Apr 2026 21:23:58 +1000 Subject: [PATCH] fix: address CodeRabbit review feedback - AnnotationTextTab: use ?? instead of || so empty text can be cleared - ExtensionManager: add catch block for marketplace install failures - useEditorExport: wrap retry save in try/catch for unhandled rejections - editorExportWorkflow: move playback restore to finally block --- .../video-editor/AnnotationTextTab.tsx | 2 +- .../video-editor/ExtensionManager.tsx | 4 ++ .../hooks/editorExportWorkflow.ts | 18 +++++--- .../video-editor/hooks/useEditorExport.ts | 44 +++++++++++-------- 4 files changed, 41 insertions(+), 27 deletions(-) diff --git a/src/components/video-editor/AnnotationTextTab.tsx b/src/components/video-editor/AnnotationTextTab.tsx index 76e161e5..f2b99587 100644 --- a/src/components/video-editor/AnnotationTextTab.tsx +++ b/src/components/video-editor/AnnotationTextTab.tsx @@ -59,7 +59,7 @@ export function AnnotationTextTab({ {t("annotations.textContent")}