Commit Graph

90 Commits

Author SHA1 Message Date
zetaloop c9dbf5037e refactor(auth): support async deferred actions for login gating
Allow deferred login actions to return promises and execute them safely without violating lint rules. Also initialize order detail timer state without impure render-time Date.now calls so React hook purity checks pass.
2026-02-22 09:50:48 +08:00
zetaloop f82a926b8f chore(tooling): migrate from Biome to ESLint + Prettier
Replace Biome lint/check/format scripts with ESLint and Prettier commands, add Next + TypeScript oriented ESLint flat config, and remove biome.json. Update dependencies and lockfile to a single lint stack with Prettier-based formatting.
2026-02-22 09:50:38 +08:00
zetaloop acb04a02e7 fix(order): stabilize zustand selector snapshots
Move filter-based derivations out of Zustand selectors in order/chat/review detail pages so snapshots stay stable under useSyncExternalStore checks. Add evidence-backed comments referencing React useSyncExternalStore guidance and Zustand issues #1936/#3155 to document the regression trigger.
2026-02-22 09:05:04 +08:00
zetaloop 2ade1780c1 fix(settings): enable profile save and avatar selection 2026-02-22 08:30:40 +08:00
zetaloop 4beb610f23 refactor(pages): migrate app data reads to api adapters 2026-02-22 08:30:21 +08:00
zetaloop 43a0cf7a73 feat(post): persist new posts and wire like interactions 2026-02-22 08:29:59 +08:00
zetaloop 237cf90f5e refactor(favorites): replace localStorage with centralized favorite store 2026-02-22 08:29:37 +08:00
zetaloop 8ce3b8a8b5 feat(auth): add pending action queue and api auth wrapper 2026-02-22 08:29:18 +08:00
zetaloop dc629c9472 feat(wallet): add runtime balance flow and role-gated order posting 2026-02-22 08:17:31 +08:00
zetaloop ea822aaa8d feat(chat): add image messages and enforce readonly sessions 2026-02-22 08:17:09 +08:00
zetaloop 5542015abe feat(dispute): support bilateral evidence, timeline, and one-time appeal 2026-02-22 08:16:51 +08:00
zetaloop a7d56240ff feat(order): add sealed review reveal, timeout rules, and dispatch behavior 2026-02-22 08:16:35 +08:00
zetaloop 33b7e4d0b9 feat(auth): complete verification state machine with resubmit flow 2026-02-22 08:16:14 +08:00
zetaloop 76df8a6f56 feat(pages): add help, terms, privacy pages and footer links 2026-02-22 08:03:27 +08:00
zetaloop 312061330c refactor(auth): unify current user state usage across UI 2026-02-22 08:03:09 +08:00
zetaloop 7bcb73f139 refactor(data): add mock API adapters, id utility, and toast feedback 2026-02-22 08:02:48 +08:00
zetaloop 5f25043923 fix: sync notification and shop dashboard state 2026-02-22 06:43:24 +08:00
zetaloop 02269dd9c3 feat: wire order and chat state flow 2026-02-22 06:40:40 +08:00
zetaloop 4ce7303258 fix: replay pending action after login 2026-02-22 06:36:49 +08:00
zetaloop c04a1d5b71 chore: apply biome autofix in shop dashboard 2026-02-21 15:54:26 +08:00
zetaloop 6ed8620ca6 fix: sync verification state with auth guards 2026-02-21 15:53:46 +08:00
zetaloop 6469811382 feat: connect dashboard shop pages to mutable state 2026-02-21 15:49:42 +08:00
zetaloop 94b96ac577 feat: make dashboard service management actionable 2026-02-21 15:47:30 +08:00
zetaloop 3a1f9c2b7f feat: wire post interactions and persist favorites state 2026-02-21 15:45:20 +08:00
zetaloop 1ff499720f fix: complete disputed order flow and wallet entry 2026-02-21 15:43:21 +08:00
zetaloop e2e0b5a06a fix: restore search mixed results and order entry links 2026-02-21 15:42:33 +08:00
zetaloop e975f1aa03 fix: add missing game icons for new categories 2026-02-21 00:26:19 +08:00
zetaloop 7ed7bad975 refactor: rewrite and expand mock data into modular files 2026-02-21 00:24:03 +08:00
zetaloop 44669d5606 feat: add community sorting/filtering and quote post input 2026-02-20 23:08:15 +08:00
zetaloop 505ae9d683 feat: add quote post selection state and preview card 2026-02-20 23:06:05 +08:00
zetaloop 7e632ce092 feat: add shop dashboard order overview, income stats, and rule settings pages 2026-02-20 23:04:38 +08:00
zetaloop 1362a29755 feat: add community sorting/filtering and quote post input 2026-02-20 23:02:22 +08:00
zetaloop a5780c8393 feat: add interactive dispute evidence upload and sealed review mechanism 2026-02-20 22:47:33 +08:00
zetaloop 86ece33c00 feat: add role-based wallet view for consumer vs player/owner 2026-02-20 22:46:28 +08:00
zetaloop 977d19ed5c feat: add executable actions to order flow 2026-02-20 22:45:38 +08:00
zetaloop fd58b81318 feat: add role-based tabs and filtering to order list 2026-02-20 22:44:14 +08:00
zetaloop 943b2da25c feat: implement drag-and-drop sorting and save handler for shop templates 2026-02-20 22:43:20 +08:00
zetaloop 896a22c296 feat: make role switching drive navigation and view changes 2026-02-20 22:39:57 +08:00
zetaloop 4cc4383603 feat: add auth guards to protected routes and extend requireAuth coverage 2026-02-20 22:38:29 +08:00
zetaloop c0896faa78 fix: redirect owner profile link to shop page instead of user page 2026-02-20 22:36:34 +08:00
zetaloop 3a12b97ecb fix: read game URL param on search page to support homepage category entry 2026-02-20 22:36:26 +08:00
zetaloop 36b7c435f5 fix: resolve chat current user from auth store instead of hardcoded participants[0] 2026-02-20 22:36:18 +08:00
zetaloop b0e2728aa9 style: redesign hero section and auth split layout 2026-02-20 21:26:52 +08:00
zetaloop c49ba63d1f style: establish violet brand color system 2026-02-20 21:15:43 +08:00
zetaloop 0d01e659a1 refactor: strengthen type modeling with discriminated unions 2026-02-20 20:48:43 +08:00
zetaloop 1f316c2f61 chore: revert font change, gitignore agent workspace 2026-02-20 20:43:32 +08:00
zetaloop 6008aa9b04 fix: improve auth store with user state and role validation 2026-02-20 20:40:25 +08:00
zetaloop 9267df9ea1 refactor: extract shared constants to lib/constants.ts 2026-02-20 20:39:14 +08:00
zetaloop ed3858cff3 fix: sidebar mobile responsive and footer link clickability 2026-02-20 20:36:27 +08:00
zetaloop ebdf56a361 fix: rewrite mock data for realism 2026-02-20 20:34:40 +08:00