fix(wall): stop the reshuffle, keep offline tiles in their slot#14
Open
NewCoder3294 wants to merge 2 commits into
Open
fix(wall): stop the reshuffle, keep offline tiles in their slot#14NewCoder3294 wants to merge 2 commits into
NewCoder3294 wants to merge 2 commits into
Conversation
- 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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
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
🤖 Generated with Claude Code