feat(web): timeline titles first — section spinner, then async manifest, then hydration #1012
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/timeline-titles-first"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Reworks the initial timeline load into three phases (spec 051 addendum, S6):
media-grid-section-spinner) — no count placeholders, no layout tiles, no day-items requests.layoutAroundfor restore) is fetched after phase 1 has painted and merged into the existing day list (addslayoutItemsonly, never replaces keys/labels/order/counts). Spinners become exact-geometry placeholders.manifestSettled). Day-reveal sentinels arm only after the manifest lands; filter/scope refreshes release stale gates. Manifest failure falls back to the pre-051 count placeholders.awaitingManifestis an opt-in MediaGrid prop — only the timeline wall passes it; other walls are untouched.Also: adds
apps/web/test-results/to .gitignore (Playwright artifacts, never committed) and updates spec 051 (spec.json S6 + tasks.json S051T004).Verification
npm run check(svelte-check): 0 errors (22 pre-existing warnings)npx playwright test tests/timeline.spec.ts: 83 passed, 11 skipped (incl. new 3-phase test, placeholder test, bulk-selection timing test — each desktop+mobile confirmed)npm run test:unit(vitest): 60 passedBase: latest origin/main (
42c501fe) — the 9 new main commits do not touch the changed files.Validation (browser check, copy review, merge): Orchestrator.