Cut middle sections: pipeline 'cut' op with ranges, and Cut selection in the review player
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 42/100
- Tipo de issue
- Funcionalidade
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- typescript
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- TypeScript
- Estrelas
- 1
- Forks
- 4
- Merge médio
- 8h 17min
- PRs com merge (30d)
- 46
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de TMHSDigital/screencast-mcp
-
effort: small good first issue priority: medium testing
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
TMHSDigital/screencast-mcp#351 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
effort: small enhancement good first issue priority: low
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 72/100
TMHSDigital/screencast-mcp#380 ·
Mantenedores costumam responder em até 1 dia
-
effort: medium enhancement help wanted priority: medium
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 56/100
TMHSDigital/screencast-mcp#379 ·
Mantenedores costumam responder em até 1 dia
-
effort: medium enhancement help wanted priority: medium
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 57/100
TMHSDigital/screencast-mcp#378 ·
Mantenedores costumam responder em até 1 dia
-
Review player: limit a redaction box to a time windowTalvez já em andamento @lucky0559 assumiu há 2 dias. Abertaeffort: small enhancement good first issue priority: medium
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 25/100
TMHSDigital/screencast-mcp#377 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de TMHSDigital/screencast-mcp
Issues semelhantes
-
clawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster P3
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
openclaw/openclaw#203385 · 1 comentário · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
nwverse/persona#12800 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 80/100
Mantenedores costumam responder em até 1 dia
-
[MCP]: page snapshots in .playwright-mcp/ are not git-ignored (.playwright-cli/ is, since #42318)Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
microsoft/playwright#44289 ·
Mantenedores costumam responder em até 1 dia
-
good first issue
Dificuldade 2/5 Meio dia Facilidade para iniciantes 65/100
Mantenedores costumam responder em até 1 dia