Skip to content

fix(wall): stop the reshuffle, keep offline tiles in their slot#14

Open
NewCoder3294 wants to merge 2 commits into
mainfrom
prod/wall-stop-reshuffle
Open

fix(wall): stop the reshuffle, keep offline tiles in their slot#14
NewCoder3294 wants to merge 2 commits into
mainfrom
prod/wall-stop-reshuffle

Conversation

@NewCoder3294
Copy link
Copy Markdown
Owner

Summary

  • Flip `hideOffline` default to `false` in `CameraWall`. Offline tiles now render the existing "offline" overlay in-place instead of being filtered out, which was causing CSS-grid reflow on every status flip — and an empty wall in prod, where many Caltrans HLS URLs currently 404.
  • Re-applies the fix from `9672f31` (reverted by `0010078` without restoring in-place behavior).

Root cause (from /investigate report)

`CameraWall` defaults `hideOffline=true`; `visible` filters offline IDs out of the array → CSS grid reflows → "constant shifting" + empty wall in prod where many stream URLs are dead. URL-rot itself is a separate problem (sync-cameras refresh + scheduling `validate-cameras` in `vercel.json`).

Test plan

  • Local: load `/wall` — tiles do not shift as individual cams flip offline.
  • Prod (after merge): `watchdog-yc.vercel.app/wall` shows tiles (with offline overlays where streams are dead) instead of an empty grid.

🤖 Generated with Claude Code

NewCoder3294 and others added 2 commits May 19, 2026 15:29
- Remove Supabase auth middleware and (app) layout gate; the dashboard
  is now reachable without sign-in.
- Delete /login route, (auth) layout, and /auth/callback handler.
- Replace the business-owner landing's "HLS feed preview" placeholder
  with a real Caltrans D4 stream rendered via the existing LiveStream
  component (proxied through /api/hls). Falls back to an offline
  overlay if the upstream feed is unavailable.

Supabase client libs are kept — contributor flows still read from them.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
`hideOffline` defaults back to false. Offline tiles now render the
existing "offline" overlay in-place instead of being filtered out of
the visible array, which was causing CSS-grid reflow on every status
flip — and an empty wall in prod, where many Caltrans HLS URLs are
returning 404 (e.g. wzmedia.dot.ca.gov/D4/N101_at_6th.stream/playlist.m3u8).

Re-applies the fix from 9672f31, which was reverted by 0010078 without
restoring any in-place offline behavior. URL-rot itself still needs a
separate pass — sync-cameras + scheduling validate-cameras in
vercel.json — but the wall stops looking broken in the meantime.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
watchdog Ready Ready Preview, Comment May 19, 2026 11:02pm

Request Review

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.

1 participant