Commit Graph
15 Commits
Author SHA1 Message Date
adrianbonpin dcf6066b2b feat: sitemap remediation, PWA activation, search refinements, Steam Deck UX
Sitemap:
- Switch from ISR (revalidate=3600) to force-dynamic for per-request generation
- Flatten into single app/sitemap.ts with inlined static entries and DB queries
- NULL-safe syncStatus filter: ne(games.syncStatus, 'failed') OR isNull(games.syncStatus)
- Structured JSON logging for generated URLs and DB errors
- Delete lib/sitemap/* helpers and app/api/revalidate-sitemap route
- Add basic vitest coverage for sitemap exports

PWA & Offline:
- Add @serwist/next service worker (webpack build) with runtime caching
- Cache strategies: stale-while-revalidate for game pages, network-first for listings/API,
  cache-first for Steam CDN images
- Offline fallback page (public/offline.html)
- Manifest icons: 192px maskable + 512px any
- Viewport meta with viewport-fit=cover, user-scalable=no
- Apple mobile web app meta tags

Search / Filter Refinements:
- Multi-genre OR support in listing API (comma-separated genres)
- Device-scoped FPS filter (min/max FPS constrained to selected device)
- Client-side URL state sync via router.replace for shareable filtered views
- Initialize filter state from URL params on mount
- Auto-collapse filter panel on saved-filter load
- Fix multi-genre saved filter parsing (comma-separated)

Steam Deck / Touch / Gamepad UX:
- WCAG 2.1 AA touch targets (44x44px) on all filter controls
- .gamepad-focus CSS focus ring for controller navigation
- useGamepadNavigation hook: D-pad/left-stick roving tabindex, A/B/X/Y actions
- Integrate gamepad hook into games page (X=search, Y=toggle filters)

Chore:
- Bump version to 2026.0.97
2026-05-05 16:20:28 +08:00
adrianbonpin ca08024cb5 feat: updates page and lint fixes 2026-05-01 10:15:13 +08:00
adrianbonpin 7bcd580397 fix: replace prose plugin with custom CSS for markdown styling 2026-05-01 09:49:26 +08:00
adrianbonpin 7749162414 fix: switch markdown pipeline to remark-rehype for proper HTML rendering 2026-05-01 09:44:47 +08:00
adrianbonpin fbc0085e9e feat: add typography plugin and prose styles for update viewer 2026-05-01 09:37:43 +08:00
adrianbonpin 04da5d6210 chore: add markdown parsing dependencies for updates page 2026-05-01 09:29:25 +08:00
adrianbonpin 18b9e5d0db fix: resolve lint issues in settings components
- Fix react-hooks/set-state-in-effect by inlining data fetch in useEffect
- Replace useCallback-wrapped fetch functions with plain async functions
- Replace window.location.href with window.location.assign()
- Remove unused eslint-disable directives
- Fix double res.json() call in passkey refresh
2026-04-26 11:31:01 -05:00
adrianbonpin 9ff44e3d15 feat: add echarts dependencies + preset performance link schema 2026-04-26 15:38:23 +08:00
adrianbonpin 4fc4b070dc feat: update search page and improve details 2026-04-26 01:08:10 +08:00
adrianbonpin 86d9c9b1fa fix: resolve all lint errors 2026-04-25 14:46:40 +08:00
adrianbonpin c0d2c8b137 feat(auth): configure Email OTP, Passkey, Last Login Method, and Admin with RBAC 2026-04-25 13:55:51 +08:00
adrianbonpin 78079779c9 feat(db): move auth schema into Drizzle structure and add user FK
- Move auth schema from auth-schema.ts to lib/db/schema/auth.ts
- Export auth tables (user, session, account, verification, passkey) via barrel
- Add FK from performanceEntries.userId to user.id
- Generate and apply migration for auth tables + user FK
- Remove unused echarts dependency
2026-04-25 12:29:42 +08:00
adrianbonpin 0dd1e86487 feat: add comprehensive SEO (metadata, OG images, sitemap, robots, manifest) and update README 2026-04-25 01:52:28 +08:00
adrianbonpin 4688f3f594 feat: install initial required deps and update readme 2026-04-24 22:02:56 +08:00
adrianbonpin 04588d04c7 Initial commit from Create Next App 2026-04-24 21:49:07 +08:00