feat(cameras): green pulsing LIVE badge; large view with live-on-demand and a Live/Snapshot switch

Clicking a tile's picture opens a large view that streams live on demand (vehicle event
or not), with a Live / Snapshot switch — a camera-started stream can be stopped to see the
last snapshot, and a snapshot can be switched to live. Closing the view returns the tile to
automatic: a user-started stream stops, a camera-started one carries on in the tile. The
tile and the large view share one live socket. Live is marked by a pulsing green badge.

Verified in headless Firefox against the park-lab cameras.

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 14:14:20 +01:00
parent d893f4e991
commit 301aefc186
3 changed files with 214 additions and 46 deletions
+3
View File
@@ -272,6 +272,9 @@ export const sq = {
checkedAt: "kontrolluar {{time}}",
},
camera: {
expand: "Shfaq më të madhe",
snapshot: "Foto",
liveOnDemand: "Live me kërkesë",
live: "Live",
showTile: "Shfaq këtë kamerë",
hideTile: "Fshih këtë kamerë",