Skip to content

Sentry Events Timeline: chronological view of all Sentry Mode recordings #37

@mphacker

Description

@mphacker

Sentry Events Timeline View

Problem

Sentry Mode events appear on the map as purple eye pins, but there's no dedicated way to browse, view, and manage all Sentry events. The video browser panel lists them as raw clips, but lacks context (what triggered the event, timeline view, etc.).

Feature: Sentry Events Timeline

A dedicated timeline view (accessible from the map page or as a sub-page) showing all Sentry Mode events chronologically with:

Timeline Layout

  • Vertical timeline with date/time markers
  • Each event as a card on the timeline showing:
    • Date and time of the event
    • Duration (number of clips × 1 minute)
    • Inferred location name (reverse geocode or "Near [last trip endpoint]")
    • Thumbnail from the first clip (if available)
    • Number of camera angles available
  • Color coding by recency (newer = brighter)

Event Card Actions

  • Play: Opens multi-camera event player for that sentry event
  • Download: ZIP of all clips in the event
  • Delete: Remove with confirmation
  • Map: Pan the map to the event's inferred location

Timeline Controls

  • Scroll through events chronologically
  • Date range filter
  • Summary stats at top: total events, total storage used, date range

Access Points

  • New "Sentry" section accessible from the map (e.g., clicking a Sentry pin shows "View in Timeline")
  • Could also be a tab in the video browser panel
  • Or a standalone page under the existing event player infrastructure

Implementation Notes

  • Sentry events are already in detected_events table with event_type = 'sentry'
  • Video files are in SentryClips/<event_folder>/ with multiple camera angles
  • Existing /videos/event/<folder>/<event> page handles multi-camera playback
  • Existing /videos/download_event/<folder>/<event> handles ZIP download
  • Timeline data can be fetched from /api/events?type=sentry

Related

Ref #25, Ref #36 (Sentry on map), Ref #32 (Video browser)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions