Review player: Scan for secrets button that pre-fills redaction boxes from OCR
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 73/100
- Tipo de issue
- Funcionalidade
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- typescript
- Domínio
- backend-api-design, frontend
Direção de pesquisa
Start with assets/ui/player.js and assets/ui/player.html to see how redaction boxes are drawn, listed, and exported, then read src/tools/findText.ts to understand the redact: true result. Add a keyboard-accessible scan action that turns each hit into a suggested box labeled with its kind, never its text; allow removal and report the result in the status line. Done when a player test with a stubbed tool result covers the scan path and the acceptance criteria pass.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Summary
The review player only redacts boxes a person draws or types. The server can already find on-screen secrets by OCR, so the player should offer a "Scan for secrets" button that pre-fills the boxes for the person to check before export.
Where
assets/ui/player.js:363-369(export builds{ op: "redact", regions }from hand-drawn boxes only)assets/ui/player.html:116-118(controls: Play, Draw redaction box. No scan action)src/utils/pipelineStep.ts:38-44(pipelineredactalready acceptssecrets: true | regex)src/tools/findText.ts(redact: truereturns boxes ready forredact_region)
Details
The player exists so a person can review a recording before it is shared, but finding every token, email, or key by eye across a whole recording is the hard part. The OCR secret scan already exists server-side and is used by bug_report and the pipeline recipes. The player never calls it.
Suggested fix
- Add a Scan for secrets button. It calls
find_text(redact: true) on the sampled frames (or the kept range) and adds each hit as a box, marked "suggested" in#boxListwith its matched kind (not the value). - Suggested boxes can be removed like drawn ones. Export sends them as ordinary
regions(withstart/endonce per-box time ranges land). - Alternative: a checkbox "Also blur secrets found by OCR" that adds
secrets: trueto the redact step. Simpler, but the person cannot see or veto the boxes.
Acceptance criteria
- One click adds boxes for OCR-detected secrets on the current recording
- Box labels show the secret kind, never the text
- Works by keyboard; status line reports "N suggested boxes" or "No secrets found"
- Player test covers the scan path with a stubbed tool result
Getting started
- Relevant files:
assets/ui/player.js,assets/ui/player.html,src/tools/findText.ts - Tests:
npm test; lint:npm run lint
Filed by repo-audit/feature-ideas at 1ac339f. Severity: high. Effort: M. audit-key: enhancement|assets/ui/player.js|scanSecrets
- 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