tia/src/components
Mannu b6814579c6 feat(pwa): add Serwist service worker, manifest, icons, install prompt
- Wrap next.config.ts with @serwist/next (webpack mode, disabled in dev)
- Service worker: NetworkOnly for /api/*, offline fallback → /~offline
- Web app manifest via Next.js metadata API (app/manifest.ts)
- PNG icon set generated with sharp (192, 512, maskable-512, apple-180)
- iOS meta tags: appleWebApp, themeColor viewport export
- Middleware: pwaAssets early-return so /sw.js never gets a 302→login
- Offline fallback page at /~offline (static, no auth dependency)
- InstallPrompt component: beforeinstallprompt (Android) + iOS Share sheet instructions
- Logout (menu/page.tsx): purge all SW caches on signout (shared-device safety)
- Fix invite/[token]/page.tsx params type for Next.js 16 (use(params))
- Build script: next build --webpack (Serwist requires webpack, not Turbopack)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-27 23:20:48 +05:30
..
marketing fix(nav): always-visible sticky nav, rose pill button without Google G 2026-05-26 00:21:44 +05:30
medical refactor: full codebase sweep — shared types, utilities, component splits 2026-05-18 21:37:39 +05:30
ui feat(g1-g4): design system, memories pipeline, medical tracking, AI brain 2026-05-17 17:48:34 +05:30
BottomNav.tsx feat(marketing): public homepage replacing / → /login redirect 2026-05-25 23:26:26 +05:30
CalendarView.tsx refactor: full codebase sweep — shared types, utilities, component splits 2026-05-18 21:37:39 +05:30
InstallPrompt.tsx feat(pwa): add Serwist service worker, manifest, icons, install prompt 2026-05-27 23:20:48 +05:30
LogModal.tsx refactor: full codebase sweep — shared types, utilities, component splits 2026-05-18 21:37:39 +05:30
PageHeader.tsx refactor: full codebase sweep — shared types, utilities, component splits 2026-05-18 21:37:39 +05:30
PageTransition.tsx feat(g1-g4): design system, memories pipeline, medical tracking, AI brain 2026-05-17 17:48:34 +05:30
TabBar.tsx feat(home): horizontal scrollable quick log + wardrobe shortcut 2026-05-23 18:21:32 +05:30