feat(design): skeleton first loads by shape on the shared reveal clock (E28 S3d2, B8)

This commit is contained in:
2026-09-25 00:37:45 +02:00
parent c47c193ad1
commit 6354454cc9
21 changed files with 134 additions and 50 deletions
+1 -1
View File
@@ -699,7 +699,7 @@ export default function Home() {
if (surpriseRequest !== null && takeSurprise()) reroll("surprise");
}, [surpriseRequest, reroll]);
if (q.isPending) return <LoadingState />;
if (q.isPending) return <LoadingState shape="grid" />;
// `&& !data`, the codebase-wide convention (and the one `ui/QueryState` documents): react-query
// flips `status` to error on a FAILED REFETCH while keeping the cached payload, and every mutation
// on this page invalidates `qk.discover()` — so without the guard, marking one card watched over a