feat(cameras): ‹ › through older/newer snapshots in the large view

On the Snapshot side the large view steps through that camera's snapshots (‹ older,
› newer, also ← →), muted at either end; the caption carries the date and always names
the picture on screen (the previous one stays while the next loads; a pruned still says
"unavailable"). The tile stays on the newest; closing resets. New read-only route
GET /api/cameras/:deviceId/snapshots/:snapshotId/neighbors (session:read), ordered by
(capturedAt, id) like latest-snapshot, bounded to seek the device/time index.

Also carries the user's own label edits in en.ts / sq.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RZgP5oMncSaVmKRKk1UvN4
This commit is contained in:
2026-11-17 17:31:58 +01:00
parent bccef3875b
commit cb43ad78ca
8 changed files with 267 additions and 43 deletions
+4 -1
View File
@@ -272,7 +272,7 @@ export const en: Catalog = {
camera: {
expand: "Show larger",
snapshot: "Snapshot",
liveOnDemand: "Live on request",
liveOnDemand: "Live on-demand",
live: "Live",
showTile: "Show this camera",
hideTile: "Hide this camera",
@@ -281,6 +281,9 @@ export const en: Catalog = {
connecting: "Connecting to live video…",
liveUnavailable: "Live video unavailable",
vehicleInView: "Vehicle in view",
older: "Older snapshot",
newer: "Newer snapshot",
snapshotUnavailable: "Snapshot unavailable",
},
booth: {
processTicket: "Process ticket",