Repository navigation
refactor(media): adopt Loaded in Calendar and Discover - #5522
shepherdjerred wants to merge 3 commits into
Conversation
|
This change is part of the following stack: Change managed by git-spice. |
|
Automatic reviews are disabled for this repository. Configure in Code Review Settings. |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
280bd68 to
6ff402d
Compare
Why Calendar and Discover use TanStack Query but handle initial loading, errors, and refreshes in bespoke rendering branches. What Render Calendar ranges and Discover rails, search, and full feeds through Loaded and LoadingBlock. Share the complete-range Calendar query with Home. Keep cached results during transient failures, hide denied results, and retry pagination at the failed page. Verification Local checks and browser evidence are recorded in the PR. Production deployment and live behavior were not checked. Tracker: AI-1193
Why The contrast check can sample placeholder numerals before Calendar finishes reading its date range. What Wait for the accessible Calendar grid and scope the existing fill comparison to its real numerals. Verification Reproduced the race against the main bundle with a held Calendar read. The focused and affected browser checks are recorded in the PR.
Why Other Home sections can still load while the test holds the interests read. What Match the On the way loading status by its accessible text. Verification Reproduced the broad locator failure on main with Calendar and interests both held. The browser checks are recorded in the PR.
6ff402d to
7c33a59
Compare
|
@codex review Automated re-review request for |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Why
A Calendar refresh failure hid previously loaded releases. Discover handled
initial loading, refreshes, and page failures in several rendering branches,
and a page retry restarted at page one.
What
AI-1193
Demo
Discover's retry requests page two again and appends the results. Retry recording
Verification
CI_VITEST_MAX_WORKERS=2 bunx turbo run build typecheck test:ci lint --filter='...[origin/main...HEAD]' --concurrency=1passed both affected packages. After Temporal advanced on main, Media passed all 2,266 cases, and Temporal had one five-second promotion-dashboard timeout among 4,165 tests. The isolated rerun passed all five tests in that file.bun run verify:extended -- --filter=@shepherdjerred/mediapassed all 2,318 tests. After main advanced, the download-progress integration passed all three cases. The embedded subtitle checks passed, and the isolated rerun of the native subtitle proof file passed all 17 tests.bun run verify:extended -- --filter=@shepherdjerred/temporalpassed all 152 integration tests. The workflow step had 13 test timeouts and one startup timeout under concurrent local work. The isolated Node Vitest rerun passed all 35 tests in the 13 affected files with the original timeouts.bun run e2e:affectedpassed all 1,624 desktop and mobile tests against the current Media files.build typecheck lintrun passed all 41 tasks. The final restack preserved Media's files, and the refreshed Media typecheck and Temporal maintenance checks passed.bun run check-react-suspensereported zero authored occurrences.