Repository navigation
fix(timeline): fan speed and Full Camera regions out to both halves of an insertion - #1051
Conversation
… of an insertion (#1037)
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (3)
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 5 remain after this review. 📝 WalkthroughWalkthroughClip insertion now maps anchored modifier collections across split clips. A new test checks that speed and Full Camera regions on the right half use its clip ID, and that regions crossing the cut are split between the two clips. ChangesClip Insertion
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: Medium Merge Risk: ⚪ Minimal · up to Speed and Full Camera regions are now preserved on both halves when a clip is split by an insertion. No actionable merge risk remains, though the behavior was not tested in the app. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Typing a word into a clip cuts it in two.
fanOutAnchorscopied the anchored rows onto both halves from a hand-picked list that left out speed and Full Camera regions, so those were clamped to the left half and the right half lost them.mapAllRegionCollections(exported fromtimeline.ts), which walks all of them, including later ones.Related issue
Closes #1037
Type of change
Release impact
Desktop impact
Testing
insertion.test.ts: speed and Full Camera regions on the right half survive there, and one across the cut survives on both halves. It fails without the fix.vitest --run src/lib/ai-edition: 1199 passed, the audio tests of fix(audio): keep imported audio on its own clips through a clip reorder #1045 included. Both tsc configs and Biome.🤖 Generated with Claude Code
Summary by CodeRabbit