Skip to content

Timeline markers for notes across complete playlists - #33

Merged
D-Mad merged 2 commits into
mainfrom
agent/pr28-review
Jul 15, 2026
Merged

Timeline markers for notes across complete playlists#33
D-Mad merged 2 commits into
mainfrom
agent/pr28-review

Conversation

@D-Mad

@D-Mad D-Mad commented Jul 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • mark comment and drawing frames directly on the review timeline
  • aggregate markers across the full global playlist timeline, including duplicate shot instances
  • use active in-memory notes for immediate feedback and lightweight validated sidecar reads for other shots
  • clear stale markers when media is removed or fails to open
  • cover rendered marker pixels, playlist mapping, duplicates, and malformed sidecars

Validation

  • full local test suite passes with QT_QPA_PLATFORM=offscreen

This supersedes #28 while preserving and extending the contributor's marker implementation.

emlcpfx and others added 2 commits July 15, 2026 11:25
Ported from reviewapp Timeline.set_markers. A reviewer scrubbing a shot can now
see where the notes are instead of hunting for them.

Colours and shape follow reviewapp: a 3px tick per annotated frame, blue for a
frame holding comments and purple for one holding only drawings. A frame with
both reads as a comment, because the words are the reviewable part and the
drawing marker must not hide them.

The markers are drawn under the playhead, so a note never hides the frame the
reviewer is actually sitting on.

Annotations are keyed by the player LOCAL frame while the timeline is a global
range during playlist playback, so every marker is mapped across with
_timeline_frame_for_local. Without that the notes for one shot land on another.

Drawing a stroke changes what the timeline should show and only the viewer knows
it happened, so ViewerWidget gains an annotations_changed signal, emitted when a
stroke is completed, undone, redone or cleared. Comment add/delete/resolve and
the sidecar load already funnel through single call sites, so the refresh hangs
off those.

10 tests. The timeline is a plain QWidget, so they render it offscreen and probe
the real pixels: the marker colours, a both-kinds frame reading as a comment, an
unannotated frame staying clean, out-of-range markers not smearing onto the
track ends, and the playhead winning the pixel it shares with a marker.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TexnzYbmCjjTDB8zzZuUPb
@D-Mad
D-Mad marked this pull request as ready for review July 15, 2026 04:31
@D-Mad
D-Mad merged commit 4f8a565 into main Jul 15, 2026
3 checks passed
@D-Mad
D-Mad deleted the agent/pr28-review branch July 15, 2026 04:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants