Cut middle sections: pipeline 'cut' op with ranges, and Cut selection in the review player
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 42/100
- Type d'issue
- Fonctionnalité
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- typescript
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- Langage dominant
- TypeScript
- Étoiles
- 1
- Forks
- 4
- Merge moyen
- 8 h 17 min
- PR mergées (30 j)
- 46
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de TMHSDigital/screencast-mcp
-
effort: small good first issue priority: medium testing
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
TMHSDigital/screencast-mcp#351 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
effort: small enhancement good first issue priority: low
Difficulté 3/5 1-2 jours Accessibilité débutants 72/100
TMHSDigital/screencast-mcp#380 ·
Les mainteneurs répondent en général sous 1 jour
-
effort: medium enhancement help wanted priority: medium
Difficulté 4/5 3-5 jours Accessibilité débutants 56/100
TMHSDigital/screencast-mcp#379 ·
Les mainteneurs répondent en général sous 1 jour
-
effort: medium enhancement help wanted priority: medium
Difficulté 4/5 3-5 jours Accessibilité débutants 57/100
TMHSDigital/screencast-mcp#378 ·
Les mainteneurs répondent en général sous 1 jour
-
Review player: limit a redaction box to a time windowPeut-être pris @lucky0559 l’a pris il y a 2 jours. Ouverteeffort: small enhancement good first issue priority: medium
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
TMHSDigital/screencast-mcp#377 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de TMHSDigital/screencast-mcp
Issues similaires
-
clawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster P3
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
openclaw/openclaw#203385 · 1 commentaire · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
nwverse/persona#12800 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 80/100
Les mainteneurs répondent en général sous 1 jour
-
[MCP]: page snapshots in .playwright-mcp/ are not git-ignored (.playwright-cli/ is, since #42318)Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
microsoft/playwright#44289 ·
Les mainteneurs répondent en général sous 1 jour
-
good first issue
Difficulté 2/5 Une demi-journée Accessibilité débutants 65/100
Les mainteneurs répondent en général sous 1 jour