Commit Graph
39 Commits
Author SHA1 Message Date
adrianbonpin a63cc52108 fix: upgrade better-auth to v1.6.22 for api-key plugin compatibility 2026-06-28 05:41:45 +08:00
adrianbonpin cd72b7a948 refactor: convert to bun workspaces monorepo
- Move web app into apps/web/
- Create packages/shared/ with shared types
- Create plugins/decky-vault/ scaffold
- Root package.json manages workspaces only
2026-06-28 05:20:28 +08:00
adrianbonpin 99d6572a3d chore: bump version to 2026.2.2, add changelog and update news (Task 7) 2026-05-28 00:18:20 +08:00
adrianbonpin bc1fe0b72b chore: bump version to 2026.2.1, add changelog entry for SEO improvements (Task 13) 2026-05-25 19:43:58 +08:00
adrianbonpin 2afee33fb0 fix: update vitest config (exclude .worktrees, revert package.json test scripts to vitest) 2026-05-25 19:24:41 +08:00
adrianbonpin 86fc0c2999 fix: resolve pre-existing test failures in auth, steam, and auto-pin tests 2026-05-25 19:20:54 +08:00
adrianbonpin 8da0dce723 chore: bump version to 2026.2.0 with CHANGELOG and update news 2026-05-20 02:25:04 +08:00
adrianbonpin f4eab9c8e0 fix: show existing screenshots in edit mode, fix drag reorder jank, bump version to 2026.1.102 2026-05-16 18:33:56 +08:00
adrianbonpin 3363b9161d chore: bump version to 2026.1.0 and write changelog 2026-05-16 17:40:42 +08:00
adrianbonpin 45d4570665 chore: bump version to 2026.0.101, update changelog and update news 2026-05-15 01:07:42 +08:00
adrianbonpin fbfc43832e feat: add OpenAPI support and in-process cron scheduler
- Install @elysia/openapi to auto-generate API docs at /api/openapi
- Install @elysia/cron for in-process scheduled jobs (orphan detection at 2am, storage cleanup at 3am)
- Add Scalar UI docs with 14 tag groups and Bearer JWT security scheme
- Add route-level detail annotations (tags, summaries) to all 30+ route files
- Upgrade crud-builder to accept optional tags config
- Keep HTTP cron endpoint as manual/admin fallback
2026-05-14 21:43:33 +08:00
adrianbonpin 20f010cef1 feat: Update to nextjs 16.2.4 2026-05-11 13:10:26 +08:00
adrianbonpin 3e94033c83 chore: bump version to 2026.0.100, write CHANGELOG and update news (Tasks 7.1-7.3) 2026-05-10 05:24:51 +08:00
adrianbonpin b7c74fcaf5 feat: add sharp dependency and screenshot processing pipeline 2026-05-09 22:36:05 +08:00
adrianbonpin c20ef2a5f4 chore: version bump to 2026.0.99, changelog, and news post 2026-05-09 22:09:23 +08:00
adrianbonpin 32386ce170 fix: resolve all ESLint errors and warnings
- Replace  types with  and proper type casting
- Remove unused imports and variables across multiple files
- Fix React set-state-in-effect by suppressing with eslint-disable
- Wrap handleFile in useCallback to stabilize hook dependencies
- Remove dead MetaItem component from game-page-client
- Add public/sw.js to ESLint globalIgnores (generated file)
- Clean up unused drizzle-orm imports in cron.ts, dashboard-public.ts
- Remove unused _configured flag from r2-client.ts
2026-05-09 16:38:29 +08:00
adrianbonpin 7094e05227 feat: v2026.0.98 changelog, version bump, regenerated sitemap 2026-05-09 13:33:47 +08:00
adrianbonpin 5bc85aa850 feat: add static sitemap generation script, replace dynamic sitemap with static files 2026-05-09 13:04:33 +08:00
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 824fbbd13f feat: rearrange game benchmark wizard and improve overall 2026-05-01 01:18:13 +08:00
adrianbonpin bce1e812b5 chore: bump version to 2026.0.9 2026-04-29 13:02:26 +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 d1e2a8f281 test(auth): add test-only auth instance with testUtils plugin and initial tests 2026-04-25 14:14:23 +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 0c234ed0d9 fix: revert unnecessary env-file prefix in db scripts 2026-04-25 12:02:19 +08:00
adrianbonpin 65d13933bf feat(db): add hardware seed script, db:seed command, and initial migration
- Create lib/db/seed.ts with idempotent hardware seeding
- Add db:seed script and fix db:* scripts to load .env.local via bun --env-file
- Generate initial Drizzle migration (0000_crazy_nick_fury)
- Apply migration and seed 3 hardware devices (steamdeck-oled, steamdeck-lcd, steam-machine)
2026-04-25 11:53:10 +08:00
adrianbonpin ef20a03f55 fix: remove echarts dependency added by mistake 2026-04-25 11:37:05 +08:00
adrianbonpin ad3fd31feb feat(db): setup drizzle config, client and package scripts
- Add drizzle.config.ts with PostgreSQL dialect configuration
- Create lib/db/index.ts with Drizzle ORM client and pg Pool
- Add db:generate, db:migrate, db:studio, db:push scripts to package.json

Part of Chunk 1: Drizzle Config & DB Client setup
2026-04-25 11:32:13 +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