Review player: show clicks and captions on the timeline

Đang mở
#378 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
57/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

Hướng nghiên cứu

Start with src/tools/reviewRecording.ts to see how player_frames builds its payload, then read assets/ui/player.js for the timeline and frame display. Check src/utils/events.ts, src/tools/readEvents.ts, and src/tools/transcribe.ts for the event log and SRT sidecar formats. Done means both tracks can be toggled, clicks seek and show their frame position, captions follow the current frame and can seek, and a 10k-event log keeps the payload bounded.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

effort: medium enhancement help wanted priority: medium

Summary

The review player's timeline shows scene changes and markers, but not what happened: no clicks or keystrokes from the event log, and no captions. Finding "the moment after the Save click" means scrubbing frame by frame, even when the server already knows when every click happened.

Where

  • src/tools/reviewRecording.ts:51-53, 106 (player data carries markers only)
  • assets/ui/player.js:118-143 (renders scene ticks and markers only)
  • src/utils/events.ts, src/tools/readEvents.ts (event log on the video clock)
  • src/tools/transcribe.ts (SRT sidecar)

Suggested fix

  • Include a compact clicks list (t, button, x/y, and the UI element name from #333 when present) and captions (t, end, text) in the player_frames result when the sidecars exist. Cap the counts.
  • Draw click ticks as a second row under the timeline. Hovering or focusing one shows a crosshair on the frame at the click point.
  • Show the caption for the current frame under the stage, and make caption lines clickable to seek.
  • Both tracks can be toggled off.

Acceptance criteria

  • Recordings with an event log show click ticks that seek on activation
  • Recordings with an SRT show the current caption
  • Recordings without sidecars look the same as today
  • Payload stays bounded (test with a 10k-event log)

Getting started

  • Relevant files: src/tools/reviewRecording.ts, assets/ui/player.js, src/utils/events.ts

Filed by repo-audit/feature-ideas at 1ac339f. Severity: medium. Effort: M. audit-key: enhancement|src/tools/reviewRecording.ts|tracks

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của TMHSDigital/screencast-mcp

Tất cả issue của TMHSDigital/screencast-mcp

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.