Cut middle sections: pipeline 'cut' op with ranges, and Cut selection in the review player
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 42/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- TypeScript
- Star
- 1
- Fork
- 4
- Merge trung bình
- 8 giờ 17 phút
- Pull request đã merge (30 ngày)
- 46
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của TMHSDigital/screencast-mcp
-
effort: small good first issue priority: medium testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
TMHSDigital/screencast-mcp#351 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
effort: small enhancement good first issue priority: low
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
TMHSDigital/screencast-mcp#380 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
effort: medium enhancement help wanted priority: medium
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 56/100
TMHSDigital/screencast-mcp#379 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
effort: medium enhancement help wanted priority: medium
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 57/100
TMHSDigital/screencast-mcp#378 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Review player: limit a redaction box to a time windowCó thể đã có người làm @lucky0559 đã nhận 2 ngày trước. Đang mởeffort: small enhancement good first issue priority: medium
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
TMHSDigital/screencast-mcp#377 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của TMHSDigital/screencast-mcp
Issue tương tự
-
[MCP]: page snapshots in .playwright-mcp/ are not git-ignored (.playwright-cli/ is, since #42318)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
microsoft/playwright#44289 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
blamechris/chroxy#9272 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
no-repo-link tool-submission
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 66/100
BraveOPotato/NoSignups#2458 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
drmrd/vernacular#1061 ·
Maintainer thường phản hồi trong vòng 1 ngày