CLAUDE - Add snapshot time scrubber with per-camera navigation #118

Closed
coding-agent-marvin8 wants to merge 5 commits from refs/pull/118/head into main
coding-agent-marvin8 commented 2026-07-15 22:07:47 +00:00 (Migrated from codeberg.org)

Replace the flat Prev/Next slideshow with a time scrubber for days with 1440+ snapshots per camera.

Changes

  • New list_cameras_for_day DB query returns distinct cameras with snapshots on a given day
  • Snapshot album route now passes timestamps, motion_times, and snapshot_camera_tabs to the template
  • URL encoding fixed throughout: camera names are now percent-encoded in all generated URLs
  • Day view shows per-camera snapshot links instead of a single 'Browse all snapshots' link
  • Snapshot album shows a camera tab bar (active camera highlighted) above the image
  • <input type="range"> scrubber spanning 00:00–23:59 with JS binary search to nearest snapshot
  • Orange motion-event tick marks overlaid above the scrubber track
  • Hour-jump bar (00–23) for coarse navigation
  • Arrow keys on the focused scrubber advance ±1 snapshot (overriding default ±1 second behaviour)
  • Slider stays in sync during auto-play and Prev/Next navigation

Closes #117

Replace the flat Prev/Next slideshow with a time scrubber for days with 1440+ snapshots per camera. ## Changes - New `list_cameras_for_day` DB query returns distinct cameras with snapshots on a given day - Snapshot album route now passes `timestamps`, `motion_times`, and `snapshot_camera_tabs` to the template - URL encoding fixed throughout: camera names are now percent-encoded in all generated URLs - Day view shows per-camera snapshot links instead of a single 'Browse all snapshots' link - Snapshot album shows a camera tab bar (active camera highlighted) above the image - `<input type="range">` scrubber spanning 00:00–23:59 with JS binary search to nearest snapshot - Orange motion-event tick marks overlaid above the scrubber track - Hour-jump bar (00–23) for coarse navigation - Arrow keys on the focused scrubber advance ±1 snapshot (overriding default ±1 second behaviour) - Slider stays in sync during auto-play and Prev/Next navigation Closes #117
marvin8 commented 2026-07-16 03:21:54 +00:00 (Migrated from codeberg.org)

Retired in favour of the solution provided by PI agent

Retired in favour of the solution provided by PI agent

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
marvin8/cang!118
No description provided.