Skip to content

feat: add Live IP Cameras panel with region filtering and snapshot refresh#1734

Draft
anonymmaro-alt wants to merge 1 commit intokoala73:mainfrom
anonymmaro-alt:main
Draft

feat: add Live IP Cameras panel with region filtering and snapshot refresh#1734
anonymmaro-alt wants to merge 1 commit intokoala73:mainfrom
anonymmaro-alt:main

Conversation

@anonymmaro-alt
Copy link

@anonymmaro-alt anonymmaro-alt commented Mar 17, 2026

Summary

  • Adds a new Live IP Cameras panel displaying public traffic/city camera JPEG snapshots organised by region (Americas, Europe, Asia, Middle East, Africa)
  • 3×2 grid view and single-cam view with region filters, 6-second snapshot auto-refresh, offline detection + retry, and IntersectionObserver-based pause when off-screen
  • 18 cameras from confirmed public sources: Norwegian Statens vegvesen, Slovenian DRSI, Colorado DOT, Quebec MTQ, Taiwan freeway bureau, and more

Changes

  • src/components/LiveIpCamerasPanel.ts — new panel component
  • src/config/panels.ts — registered in all variants + core category
  • src/app/panel-layout.ts — instantiated after live-webcams
  • src/locales/en.json — i18n keys
  • src/styles/main.css — panel-specific CSS

Test plan

  • Run npm run dev and verify the Live IP Cameras panel appears in the dashboard
  • Check region filter buttons (ALL / AMERICAS / EUROPE / ASIA / MIDEAST / AFRICA) switch camera lists
  • Verify grid ↔ single view toggle works
  • Confirm snapshots refresh every ~6 seconds
  • Simulate offline camera: verify offline badge appears and retry button works
  • npm run typecheck passes with zero errors

🤖 Generated with Claude Code

…fresh

Adds a new panel displaying public IP camera JPEG snapshots (traffic/city
cams) organised by region (Americas, Europe, Asia, Middle East, Africa).
Features a 3×2 grid and single-cam view, 6-second auto-refresh with cache
busting, offline detection with retry, and IntersectionObserver-based pause
when off-screen. Prefs persisted to localStorage.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Mar 17, 2026

@anonymmaro-alt is attempting to deploy a commit to the Elie Team on Vercel.

A member of the Team first needs to authorize it.

@anonymmaro-alt anonymmaro-alt marked this pull request as draft March 17, 2026 01:58
@koala73
Copy link
Owner

koala73 commented Mar 18, 2026

This PR is still draft, do you want me to review it ? @anonymmaro-alt

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