Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

test(editor): follow main's Edit Clip Apply into the write audit

EtienneLescotce5998af2c4e
diff --git a/src/lib/ai-edition/store/documentWriteAudit.test.ts b/src/lib/ai-edition/store/documentWriteAudit.test.ts
index f29501c5d..6a76e8013 100644
--- a/src/lib/ai-edition/store/documentWriteAudit.test.ts
+++ b/src/lib/ai-edition/store/documentWriteAudit.test.ts
@@ -213,6 +213,9 @@ const DECLARED: WritePath[] = [
w("src/lib/ai-edition/store/useSequentialTimelineOps.ts", "apply", "save", "forwarded"),
// Every timeline edit the user makes with the mouse or the keyboard.
+ // The Edit Clip dialog's Apply: source range and crop composed into ONE save (#355),
+ // where they used to be two writes that overwrote each other.
+ w("src/lib/ai-edition/store/useTimeline.ts", "applyClipEdit", "save", "gesture"),
w("src/lib/ai-edition/store/useTimeline.ts", "addAnnotation", "save", "gesture"),
w("src/lib/ai-edition/store/useTimeline.ts", "addCameraFullscreen", "save", "gesture"),
w("src/lib/ai-edition/store/useTimeline.ts", "addSpeed", "save", "gesture"),
@@ -242,8 +245,6 @@ const DECLARED: WritePath[] = [
w("src/lib/ai-edition/store/useTimeline.ts", "updateAnnotationLive", "set", "automatic"),
w("src/lib/ai-edition/store/useTimeline.ts", "updateAnnotationSpan", "save", "gesture"),
w("src/lib/ai-edition/store/useTimeline.ts", "updateCameraFullscreenSpan", "save", "gesture"),
- w("src/lib/ai-edition/store/useTimeline.ts", "updateClipCrop", "save", "gesture"),
- w("src/lib/ai-edition/store/useTimeline.ts", "updateClipSourceRange", "save", "gesture"),
w("src/lib/ai-edition/store/useTimeline.ts", "updateSpeedSpan", "save", "gesture"),
w("src/lib/ai-edition/store/useTimeline.ts", "updateSpeedValue", "save", "gesture"),
w("src/lib/ai-edition/store/useTimeline.ts", "updateTrim", "save", "gesture"),