Review player: limit a redaction box to a time window

オープン
#377 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@lucky0559 がすでに取り組んでいます。

2026年11月19日 から。

  • #381 @lucky0559 による — マージされずにクローズ
  • #382 @lucky0559 による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
typescript
領域
frontend

調査の方向性

Start with assets/ui/player.html and assets/ui/player.js to trace the box form, box list, stage drawing, and export; read src/tools/redactRegion.ts for the existing start and end behavior. Run npm test and inspect the generated regions assertion. Done means boxes can be time-limited by pointer and keyboard, display only while active, and export their window; an open linked pull request indicates work is already underway.

索引モデルが issue の本文から書いたものです。

説明

effort: small enhancement good first issue priority: medium

Summary

Redaction boxes drawn in the review player cover the whole kept range. redact_region and pipeline redact already support a start..end window per region, but the player cannot set one. A notification that sits on screen for 3 seconds gets blurred for the whole video.

Where

  • assets/ui/player.html:137-146 (box form: X, Y, W, H only)
  • assets/ui/player.js:367 (regions: S.boxes.map((b) => ({ ...b })), with no time fields)
  • src/tools/redactRegion.ts:15 ("each optionally limited to start..end seconds")

Suggested fix

  • A new box defaults to "whole video". Add a From playhead / To playhead pair (or a small range on the timeline under the box) to limit it.
  • Show each box's window in #boxList (01:10.0–01:13.5) and only draw a box on the stage while the playhead is inside its window.
  • Export includes start/end when set.

Acceptance criteria

  • Boxes can be limited to a time window, by pointer and by keyboard
  • Stage shows only the boxes active at the current frame
  • Export passes the window. A test checks the generated regions

Getting started

  • Relevant files: assets/ui/player.js, assets/ui/player.html
  • Tests: npm test

Filed by repo-audit/feature-ideas at 1ac339f. Severity: medium. Effort: S. audit-key: enhancement|assets/ui/player.js|boxTimeRange

主要言語
TypeScript
スター
1
フォーク
4
平均マージ
8時間 17分
マージ済み PR(30日)
46

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

TMHSDigital/screencast-mcp のほかの issue

TMHSDigital/screencast-mcp の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。