Skip to content

[14/22] refactor: share the copied-clip paste step outside the selection manager - #351

Merged
dazzatronus merged 1 commit into
feat/clip-actionsfrom
refactor/share-paste-step
Dec 4, 2026
Merged

dazzatronus merged 1 commit into
feat/clip-actionsfrom
refactor/share-paste-step

Conversation

@dazzatronus

@dazzatronus dazzatronus commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Duplicate, in the next PR, has to place a copy exactly as a paste does: a fresh id and alias, missing duck references pruned, and a new top track when the space is taken. That insert step lived inside SelectionManager.pasteClip, so this moves it into pasteClipAt(edit, trackIdx, clip, start), which pasteClip now calls.

No behaviour change, so no release.

Verify: the full suite passes unchanged at 3,185 tests.

# PR Adds Why it is separate
1/22 #340 Clipboard paste moves out of the keyboard controls Mechanical move
2/22 #341 Each luma matte pairs with its own clip Bug fix
3/22 #342 Auto-length clips keep their media's length Bug fix
4/22 #343 Paste lands at the playhead from when Paste was pressed Bug fix
5/22 #358 splitClip and canSplitClip New public API
6/22 #344 Split in the clip context menu Desktop UI for split
7/22 #345 Split cuts keyframes Widens split's contract
8/22 #346 Undoing a move restores the clip's index Bug fix
9/22 #347 A move keeps auto-start clips in order Bug fix
10/22 #348 Trim a clip's start or end to the playhead New edit action
11/22 #349 Toolbar hover styles need a hover-capable pointer Changes the canvas toolbars on touch
12/22 #359 Action bar with Undo and Redo New timeline UI and option
13/22 #350 Split, Trim and Delete in the bar Clip actions and their reasons
14/22 #351 (this PR) Paste's insert step moves out of the selection manager Mechanical move
15/22 #352 More menu with Duplicate Menu component
16/22 #353 Paste in the bar System clipboard from a tap
17/22 #360 Nudge and move a track New matte-following move
18/22 #354 Undo and redo select the changed clip Timeline behaviour on touch
19/22 #355 A toolbar timing change keeps the other value's link Bug fix
20/22 #356 Timing steppers and touch scrubbing Changes an existing control
21/22 #361 Stepped value field New UI primitive
22/22 #357 Position, scale and rotation fields Also shows on desktop

Merge bottom-up. Once its predecessor lands, retarget a PR to main and rebase it, so it squashes as its one commit. Later PRs build on earlier ones, so revert from the top down.

Merging this PR doesn't release: the release workflow holds a PR titled [n/m] until the last in its stack merges. Its squash subject is its one commit's: refactor: share the copied-clip paste step outside the selection manager.

@dazzatronus dazzatronus changed the title [14/21] refactor: share the copied-clip paste step outside the selection manager [14/22] refactor: share the copied-clip paste step outside the selection manager Dec 4, 2026
@dazzatronus
dazzatronus added this pull request to stack #362 December 4, 2026 05:48
@dazzatronus
dazzatronus merged commit 6d5a6b2 into main Dec 4, 2026
1 check passed
@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 2.37.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant