multica/apps/web
Bohan Jiang 3d053345fd
perf(web): fix slow tab switching by removing dynamic root layout (#502)
The root layout called `await cookies()` to read the locale, which
marked the entire app as dynamic. In Next.js 16, dynamic pages have
Router Cache staleTime=0, causing a fresh RSC server roundtrip on
every navigation — the root cause of ~400ms tab switching delays.

- Remove cookies() from root layout, making it static
- Add LocaleSync client component to read locale cookie on the client
- Add loading.tsx skeleton for dashboard routes as a loading fallback
2026-04-08 16:49:25 +08:00
..
app perf(web): fix slow tab switching by removing dynamic root layout (#502) 2026-04-08 16:49:25 +08:00
components perf(web): fix slow tab switching by removing dynamic root layout (#502) 2026-04-08 16:49:25 +08:00
core fix(issues): move sub-issues to content area and fix real-time refresh (#500) 2026-04-08 16:31:49 +08:00
features fix(issues): polish sub-issues section design to match Linear (#503) 2026-04-08 16:47:07 +08:00
hooks fix(upload): harden upload flow — sanitize filenames, refresh CF cookies, deduplicate handlers 2026-03-31 15:52:40 +08:00
lib refactor(web): self-contained shadcn UI with base-nova style and design tokens 2026-03-24 18:19:26 +08:00
public feat(web): add about, changelog pages and fix landing header for light backgrounds 2026-04-01 05:16:24 +08:00
shared feat(issues): add sub-issue support (#483) 2026-04-08 15:57:13 +08:00
test Merge remote-tracking branch 'origin/main' into feat/tanstack-query-migration 2026-04-08 10:35:28 +08:00
components.json chore(ui): switch shadcn menuColor from inverted-translucent to default 2026-03-31 11:01:54 +08:00
next-env.d.ts chore(web): update next-env.d.ts routes path 2026-04-01 05:51:28 +08:00
next.config.ts feat: wire allowedDevOrigins from CORS_ALLOWED_ORIGINS for non-localhost dev access (#355) 2026-04-08 14:39:01 +08:00
package.json feat(web): add TanStack Query infrastructure (Phase 0) 2026-04-07 14:43:51 +08:00
postcss.config.mjs refactor(web): self-contained shadcn UI with base-nova style and design tokens 2026-03-24 18:19:26 +08:00
proxy.ts feat(web): redirect logged-in users from / to /issues via server-side proxy 2026-04-01 18:20:57 +08:00
tsconfig.json feat(web): add TanStack Query infrastructure (Phase 0) 2026-04-07 14:43:51 +08:00
vitest.config.ts feat(web): add TanStack Query infrastructure (Phase 0) 2026-04-07 14:43:51 +08:00