mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-03-27 06:12:05 -07:00
1.9 KiB
1.9 KiB
id, title, status, assignee, created_date, labels, milestone, dependencies, references, parent_task_id, priority
| id | title | status | assignee | created_date | labels | milestone | dependencies | references | parent_task_id | priority | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TASK-239.4 | Add sentence clipping from arbitrary subtitle ranges | To Do | 2026-03-26 20:49 |
|
m-2 |
|
TASK-239 | medium |
Description
Current mining flows are optimized around the active subtitle line. Add a sentence-clipping workflow that lets users select an arbitrary contiguous subtitle range, preview the combined text/timing, and mine from that selection. This should improve multi-line dialogue capture without forcing manual copy/paste or separate post-processing.
Acceptance Criteria
- #1 Users can select a contiguous subtitle range from the existing subtitle UI instead of being limited to the active cue.
- #2 The workflow previews the combined text and resulting timing range before mining.
- #3 Mining from a clipped range uses the combined subtitle payload in card generation while preserving existing single-line behavior.
- #4 The feature handles overlapping/edge timing cases predictably and does not corrupt the normal active-cue flow.
- #5 Tests cover range selection, combined payload generation, and at least one card-creation path using a clipped selection.
Implementation Plan
- Define a selection model that fits the existing subtitle sidebar/runtime data flow.
- Add preview + confirmation UI before routing the clipped payload into mining.
- Keep the existing single-line path intact and treat clipping as an additive workflow.
- Verify with subtitle-sidebar, runtime, and Anki/card-creation tests.