Skip to content

Add the Linked tool - #191

Merged
bpacholek merged 1 commit into
mainfrom
184-linked-tool
Nov 1, 2026
Merged

bpacholek merged 1 commit into
mainfrom
184-linked-tool

Conversation

@bpacholek

Copy link
Copy Markdown
Contributor

Closes #184

The spec lists Linked among the clip tools and in the tablet toolbar, and both editor boards show it, but neither editor had it. Linked clips (a caption and its source, a detached sound and its video) could only be taken apart by deleting one.

Linked

  • On a linked clip, it unlinks it: the clip moves and gets cut on its own ("Unlinked: the clip moves on its own now").
  • On a clip with no links, the boards don't show how to pick the second clip. Here, Linked asks "Tap the clip to link it with", and the next clip tapped is linked with it (and with whatever that clip is linked with). Tapping anything else lets go.

Both are one undo step: LinkClips and UnlinkClip in core:model.

Where

  • Phone: after Stabilize, as on the Editor board.
  • Tablet toolbar: after Detach audio, in the accent colour while the selected clip is linked, as on the TabletEditor board. TalkBack hears on or off.

Checked on the emulator (phone): selected a title, Linked, tapped another title. The second one got the partners' dashed outline, and the project file has the new link group. Linked again unlinked it. Two undos brought the project back exactly.

Tests: LinkCommandsTest: unlinking lets a clip stay when its old partner moves; linking joins both groups and moves them together; a clip can't be linked with itself. Tablet editor screenshots recorded again for the new toolbar button.

🤖 Generated with Claude Code

The spec and both editor boards have a Linked tool, but neither editor
had it: linked clips could only be taken apart by deleting one. Linked
unlinks the selected clip, or, on a clip with no links, links it with
the clip tapped next. On the tablet toolbar it is lit while the clip is
linked, as on the TabletEditor board.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bpacholek
bpacholek merged commit ffe476b into main Nov 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add the Linked clip tool

1 participant