Cut middle sections: pipeline 'cut' op with ranges, and Cut selection in the review player
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 42/100
- Issue 類型
- 功能
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- typescript
研究方向
Read src/utils/pipelineStep.ts and src/utils/pipelineRun.ts to see how pipeline operations are defined and executed, then trace the keep-list path in src/utils/transcriptCut.ts and inspect the selection and export flow in assets/ui/player.js. Run the existing pipeline tests and add coverage for merging overlapping or unsorted ranges and for the new operation. Done means cuts retime sidecars and keep audio in sync, and the player can add, list, undo, and export multiple cut ranges.
由索引模型根據 Issue 內容生成。
描述
Summary
Neither the review player nor pipeline can remove a stretch from the middle of a recording. The player has a single IN/OUT pair, and the pipeline trim op keeps one segment. Removing "the 20 s where I typed my password" or "the wrong turn at 1:10" needs a multi-range cut.
Where
assets/ui/player.js:168-173, 368-369(oneinI/outIpair, exported as onetrim)src/utils/pipelineStep.ts:21-26(trim:start,end/durationonly)src/tools/cutByTranscript.ts:17(removecuts ranges, but only by quoting transcript text)src/tools/cutIdle.ts(cuts ranges, but only ones it detects itself)
Details
The cut machinery already exists inside cut_idle and cut_by_transcript (keep-list, concat, audio kept in sync, sidecars retimed), but there is no way to say "remove 12.0-31.5 and 70-74" directly.
Suggested fix
- Add a pipeline op
{ op: "cut", ranges: [{ start, end }, ...] }(andremoveontrimif that fits better) that reuses the cut_idle / transcript-cut keep-list path. Markers, event logs, and.edit.jsonretime the same way. - In the player, add Cut selection: select a range on the timeline and press it (or
X) to mark it removed. Removed ranges are shaded, listed, and can be undone. Export sends onecutstep afterredactand beforetrim.
Acceptance criteria
-
pipelineacceptscutwith overlapping and unsorted ranges, and merges them - Output duration = input − removed; audio stays in sync
- Player can mark, list, and remove several cut ranges, by keyboard as well as by pointer
- Tests for range merging and the pipeline op
Getting started
- Relevant files:
src/utils/pipelineStep.ts,src/utils/pipelineRun.ts,src/utils/transcriptCut.ts,assets/ui/player.js - Run
npm run docsafter changing the pipeline schema
Filed by repo-audit/feature-ideas at 1ac339f. Severity: high. Effort: M. audit-key: enhancement|src/utils/pipelineStep.ts|cut
- 主要語言
- TypeScript
- 星號
- 1
- 分支
- 4
- 平均合併
- 8 小時 17 分鐘
- 30 天內合併 PR
- 46
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
TMHSDigital/screencast-mcp 的其他 Issue
-
effort: small good first issue priority: medium testing
難度 2/5 1-3 小時 新手友好度 84/100
TMHSDigital/screencast-mcp#351 · 2 則留言 ·
維護者通常 1 天內回覆
-
effort: small enhancement good first issue priority: low
難度 3/5 1-2 天 新手友好度 72/100
TMHSDigital/screencast-mcp#380 ·
維護者通常 1 天內回覆
-
effort: medium enhancement help wanted priority: medium
難度 4/5 3-5 天 新手友好度 56/100
TMHSDigital/screencast-mcp#379 ·
維護者通常 1 天內回覆
-
effort: medium enhancement help wanted priority: medium
難度 4/5 3-5 天 新手友好度 57/100
TMHSDigital/screencast-mcp#378 ·
維護者通常 1 天內回覆
-
Review player: limit a redaction box to a time window可能已有人在做 @lucky0559 於 2 天前認領。 未關閉effort: small enhancement good first issue priority: medium
難度 4/5 3-5 天 新手友好度 25/100
TMHSDigital/screencast-mcp#377 ·
維護者通常 1 天內回覆
查看 TMHSDigital/screencast-mcp 的全部 Issue
相似的 Issue
-
clawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster P3
難度 2/5 1-3 小時 新手友好度 76/100
openclaw/openclaw#203385 · 1 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
nwverse/persona#12800 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 80/100
維護者通常 1 天內回覆
-
[MCP]: page snapshots in .playwright-mcp/ are not git-ignored (.playwright-cli/ is, since #42318)未關閉
難度 2/5 1-3 小時 新手友好度 62/100
microsoft/playwright#44289 ·
維護者通常 1 天內回覆
-
good first issue
難度 2/5 半天 新手友好度 65/100
維護者通常 1 天內回覆