multica/apps/web/components
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
..
common feat(core): migrate workspace + runtimes to TanStack Query (Phase 3+4) 2026-04-07 17:19:52 +08:00
markdown refactor(editor): unify editor into features/editor with single markdown pipeline 2026-04-03 10:28:29 +08:00
ui feat(issues): sticky mini bar for agent live card + toast icon colors 2026-04-03 16:05:35 +08:00
loading-indicator.tsx refactor(web): self-contained shadcn UI with base-nova style and design tokens 2026-03-24 18:19:26 +08:00
locale-sync.tsx perf(web): fix slow tab switching by removing dynamic root layout (#502) 2026-04-08 16:49:25 +08:00
multica-icon.tsx refactor(web): self-contained shadcn UI with base-nova style and design tokens 2026-03-24 18:19:26 +08:00
spinner.tsx refactor(web): self-contained shadcn UI with base-nova style and design tokens 2026-03-24 18:19:26 +08:00
theme-provider.tsx refactor(web): remove default keyboard shortcuts 2026-03-30 18:47:14 +08:00
theme-toggle.tsx refactor(web): self-contained shadcn UI with base-nova style and design tokens 2026-03-24 18:19:26 +08:00