Repository navigation
fix(app): TV sign-in QR code, and a smooth TV app - #394
Merged
Merged
Conversation
TV sign-in showed no code: production names its Auth0 tenant in AUTH0_ISSUER_BASE_URL (the token check needs it), not AUTH0_DOMAIN, so /tv-link refused every sign-in address. It now reads either. The TV app lagged badly on a real TV box. Profiled on the Google TV emulator with the CPU slowed 6x: - Every artwork frame kept its loading shimmer running behind the loaded picture: 181 background animations restyled and repainted the page every frame, even with nothing happening. The shimmer now stops once the picture arrives (all platforms), and a TV never runs it. Idle went from ~77 long tasks in 10 s to none; style recalculation from 4.6 s to 0.8 s. - A remote press measured every control on the page; it now looks closely only at those within a couple of screens (getBoundingClientRect 1.7 s -> 0.1 s). A held-down button is throttled instead of queueing moves. - Focus moves jump instead of smooth-scrolling (each glide frame cost a layout), posters appear without a fade, and framer-motion's decorative motion is off on a TV. - Focusing a card no longer loads its details at once (it waits until the focus rests there); rows no longer re-render on every scroll frame; the scroll memory reads the position once a frame. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 20 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
This branch was successfully deployed
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.
Fixes from the first real-TV install of #393.
QR code / sign-in code missing. Production names its Auth0 tenant in
AUTH0_ISSUER_BASE_URL(required by the token check), notAUTH0_DOMAIN, soPOST /tv-linkrefused every sign-in address (400 authorizeUrl must be this site's Auth0 sign-in address, confirmed against production).tvLink.tsnow reads either; tests added.Lag on the TV. Profiled on the Google TV emulator with the CPU slowed 6× (TV-box class):
.skeleton's shimmer animating behind loaded pictures (181 of them) → stops once the image loads (all platforms), off entirely on TV.Tested: unit (291 frontend, 444 backend, 15 app), typecheck, lint, emulator profiling before/after.
🤖 Generated with Claude Code