Skip to content

Add "Assisted split" and "Assisted move" windows with ranked one-click suggestions - #14198

Merged
niksedk merged 2 commits into
mainfrom
claude/assisted-split-window-3440fc
Aug 28, 2026
Merged

Add "Assisted split" and "Assisted move" windows with ranked one-click suggestions#14198
niksedk merged 2 commits into
mainfrom
claude/assisted-split-window-3440fc

Conversation

@niksedk

@niksedk niksedk commented Aug 27, 2026

Copy link
Copy Markdown
Member

Implements the idea from #14195 discussion: instead of remembering shortcuts, two new windows offer the most sensible edits for the selected line as ranked one-click choices with full previews.

Assisted split

  • Up to 5 ranked split suggestions: dialog dash, end of sentence, line break, comma, space nearest the middle.
  • Each option previews both resulting lines - text, time codes, character count and CPS - generated by running the real SplitManager on a copy, so continuation style, tag fix-up and the text-weighted time split are exactly what you get.
  • Suggestions leaving an orphan dash-only line, or duplicating another option, are filtered out.

sentence

Dialog line - dialog dash ranked first, dashes removed in the halves:

dialog

After pressing "1" on the first example - times and text match the preview:

after

Assisted move

Word and sentence-fragment moves between the selected line and its neighbours, or between its own two lines.

  • Context aware: cross-subtitle options only appear where the sentence actually continues across that boundary. A line running on into the next gets only "with next" options; moves into a neighbour that starts a new sentence or a new dialog are not offered at all.
  • Options: move the unfinished sentence across in one go (break early at a period), balance the two subtitles by moving as many words as needed, and single-word moves in both directions.
  • Auto-balanced lines: both sides are unbroken and re-broken after the move, so a moved word does not leave a lopsided line behind (dialog texts keep their per-speaker lines).
  • The time moves with the text: the outer start/end and the gap are preserved while the span between is divided proportionally to the new text lengths, so the retimed values shown in the preview are applied along with the text.

assisted move

Shared

  • Apply with a single click or by pressing the option number; Escape or the window close button cancels (no Cancel button).
  • Green-ish background on the hovered/focused card; the card list scrolls when it outgrows the screen.
  • A status bar message when there are no suggestions, instead of nothing happening.
  • Both are in the subtitle grid context menu ("Assisted split..." / "Assisted move...") and assignable as shortcuts (no default bindings).

Note: the three assisted split images above are from an earlier iteration and still show a Cancel button, which has since been removed.

Covers the "logical split scenarios" and word/line move parts of #14195.

🤖 Generated with Claude Code

niksedk and others added 2 commits August 27, 2026 15:33
New window (issue #14195) that offers up to five ranked split scenarios
for the selected line - dialog dash, sentence end, line break, comma,
or the space nearest the middle - each with a live preview of both
halves (text, time codes, chars and CPS) produced by running the real
SplitManager on a copy. A suggestion is applied with a single click or
by pressing its number (1-5).

Available from the subtitle grid context menu ("Assisted split...")
and as an assignable shortcut (no default binding).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
New "Assisted move" window (issue #14195) offering ranked one-click word
and sentence-fragment moves between the selected line and its neighbors,
or between the two lines of the line itself.

The suggestions are context aware: cross-subtitle options are only offered
where the sentence actually continues across that boundary, so a line that
runs on into the next only gets "with next" options and moves into a
neighbor starting a new sentence or a new dialog are left out entirely.
Options include moving the unfinished sentence across in one go, balancing
the two subtitles by moving as many words as needed, and single-word moves.
Both sides are re-broken with the auto-balancer afterwards, and the boundary
time moves with the text - the outer start/end and the gap are preserved
while the span between is divided proportionally to the new text lengths.

Shared polish for both assisted windows:
- green-ish background on the hovered/focused option card
- no Cancel button; Escape or the window close button cancels
- the card list scrolls (capped to the screen) with spacing below the last card
- a status bar message when there are no suggestions instead of nothing happening

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@niksedk niksedk changed the title Add "Assisted split" window with ranked one-click split suggestions Add "Assisted split" and "Assisted move" windows with ranked one-click suggestions Aug 27, 2026
@niksedk
niksedk merged commit 2835ce2 into main Aug 28, 2026
1 check passed
@niksedk
niksedk deleted the claude/assisted-split-window-3440fc branch August 28, 2026 00:02
@niksedk niksedk mentioned this pull request Aug 28, 2026
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.

1 participant