Review player: Scan for secrets button that pre-fills redaction boxes from OCR
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 73/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
- Lĩnh vực
- backend-api-design, frontend
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- 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