Commit Graph

6 Commits

Author SHA1 Message Date
Kalle
2d4592ee79 Scrims e2e green against apps/web: origin shim for remote CSRF, popover mount semantics, live refresh fixes 2026-08-17 18:42:38 +03:00
Kalle
8da2b66ac6 Diff leaderboard 2026-08-16 19:14:22 +03:00
Kalle
8f3caa4683 App shell: sidenav/header/footer layout, sidebar data path, notifications bell
- Layout.svelte composes SideNav (events/friends/streams), MobileNav, header (logo, breadcrumbs, collapse buttons, TopNavMenus, TopRightButtons, nprogress anchor) and Footer (patrons via remote query)
- sidebar server data ported: resolveSidebarData + StreamRanking + friend/scrim/tournament/stream repositories, wired through the root layout load with the signed sidenav cookie
- notifications: repository + getNotifications remote query, bell popover with unseen dot, notification link/icon mapping ported
- theme: ThemeHead with color-scheme meta + no-flash script, byte-compatible theme cookie in layout data
- PWA head links extracted from the React root; git commit define; nprogress driven by navigating state
- differ head diff made semantic (title/meta/SEO-links as a sorted set) since framework asset links legitimately differ
2026-08-16 12:09:57 +03:00
Kalle
35ffc136be Phase 2 harness wiring: differ --right-app web, e2e target app, dev-controls, cookbook
- differ can serve apps/web on the right side (--right-app web); impersonation no longer follows app-specific redirects
- e2e: E2E_TARGET_APP=web spawns apps/web servers per worker against the shared dbs; leaderboards spec + page object added; expectRouterIdle exported
- apps/web dev-controls endpoints: /auth/impersonate(+stop), /theme (404-redirect GET parity), /refresh-caches, /end-season, /run-routine, /sidenav
- HydrationTestIndicator implements the hydrated/router-idle contract (counts in-flight remote fetches)
- codemods: route-map (routes.ts -> SvelteKit route scaffolds, manifest-aware, idempotent) and remote-scaffold (loader->query, _action branches->commands)
- MIGRATION.md cookbook seeded with the golden read-path pattern and slice learnings; manifest: leaderboards migrated
2026-08-16 11:59:13 +03:00
Kalle
e3e071b6a5 Differ 2026-08-16 11:05:12 +03:00
Kalle
c0b339f740 Add migration manifest and codemod tooling skeleton 2026-08-16 09:32:04 +03:00