Commit Graph

130 Commits

Author SHA1 Message Date
zetaloop c56e4486a0 style(discover,header): refine hero, cards and nav visuals 2026-02-25 12:22:37 +08:00
zetaloop 523ba2d8be style(theme): neutralize palette and reduce base radius 2026-02-25 12:22:37 +08:00
zetaloop 807c329e87 chore(format): run prettier 2026-02-25 05:37:27 +08:00
zetaloop c301dbd3c2 style(main): extend proto2 surfaces to remaining pages 2026-02-25 05:33:54 +08:00
zetaloop 15678e755c style(dashboard): apply proto2 surfaces 2026-02-25 05:27:17 +08:00
zetaloop b57fe7f9dd style(order): apply proto2 surfaces 2026-02-25 05:19:13 +08:00
zetaloop 3f3172fabb style(account): apply proto2 surfaces 2026-02-25 05:10:31 +08:00
zetaloop 5dbf6bdd77 style(auth): apply proto2 surfaces 2026-02-25 05:01:20 +08:00
zetaloop 7bf1338b39 style(pages): extend proto2 styling to core flows 2026-02-25 04:45:57 +08:00
zetaloop e7eb86bf7e style(search): align search page with proto2 surfaces 2026-02-25 04:41:29 +08:00
zetaloop 14717f1340 feat(search): add api-backed filtering and sorting 2026-02-25 04:29:17 +08:00
zetaloop a1f3ea3914 style(colors): replace hard-coded whites with semantic tokens 2026-02-25 03:30:20 +08:00
zetaloop b944847fbd style(header): proto2 chrome and spacing 2026-02-25 03:27:32 +08:00
zetaloop ee926ac393 feat(discover): proto2 layout and on-page search module 2026-02-25 03:04:08 +08:00
zetaloop 215447fcef chore(footer): point search links to Discover anchor 2026-02-25 02:58:24 +08:00
zetaloop 6cbe07d489 refactor(header): move search entrypoint to Discover only 2026-02-25 02:56:08 +08:00
zetaloop 360ac9b5be chore(nav): rename homepage label to 发现 2026-02-25 02:53:51 +08:00
zetaloop dc451b0218 style(ui): align shadcn primitives with proto2 look 2026-02-25 02:48:58 +08:00
zetaloop c1f00f0dbc chore(lint): remove non-null assertion in order timeout map 2026-02-25 02:42:59 +08:00
zetaloop 1989d2bc09 style(theme): switch to proto2 oklch palette and card shadows 2026-02-25 02:23:28 +08:00
zetaloop 629a121272 refactor(order): move auto-dispatch to store with role-based action visibility 2026-02-23 11:10:20 +08:00
zetaloop 90f1245ff1 fix(chat): surface PolicyDecision feedback on send failure 2026-02-23 11:09:55 +08:00
zetaloop c9579c1b8d fix(dashboard): match new order ID format in income page 2026-02-23 11:09:55 +08:00
zetaloop b99242feb2 fix(order): add wallet deduction to payOrder and prevent duplicate submissions 2026-02-23 11:08:11 +08:00
zetaloop b1a8fd448d fix(dispute): drive order to pending_review on dispute resolution 2026-02-23 11:06:47 +08:00
zetaloop da5574c5b3 fix(order): remove status bypass and wire pending_review lifecycle 2026-02-23 11:05:38 +08:00
zetaloop 4fce328ef1 fix(ui): unify layout wrappers and simplify player/shop detail pages 2026-02-23 11:05:29 +08:00
zetaloop c986539954 feat(notifications): add notification system and wire order/dispute events 2026-02-23 11:05:04 +08:00
zetaloop 2222dccbb7 feat(domain): add income calculation with commission support 2026-02-23 11:04:48 +08:00
zetaloop 77d23d0c9d refactor(community): extract comment store and post/comment API adapters 2026-02-23 11:04:40 +08:00
zetaloop 8e62b15403 refactor(api): add adapter layer for order/chat/review/dispute writes 2026-02-23 11:04:16 +08:00
zetaloop 1dfcd3927d fix(dashboard): scope owner and service views by resolved shop 2026-02-23 11:04:08 +08:00
zetaloop 1f2dc1434b fix(dispute): enforce participant checks and phase constraints 2026-02-23 11:04:08 +08:00
zetaloop ca95165e1b fix(review): enforce pending-review submission and remove auto reply 2026-02-23 11:04:08 +08:00
zetaloop 385dac2d49 refactor(order): rewrite store around state machine transitions 2026-02-23 11:04:00 +08:00
zetaloop f8c4c87c61 test(tooling): add vitest baseline policy and order tests 2026-02-23 11:03:38 +08:00
zetaloop 6517018a9c refactor(order): add transition evaluator and timer constants 2026-02-23 11:03:31 +08:00
zetaloop 03fa447864 refactor(policy): add centralized decision helpers 2026-02-23 11:03:23 +08:00
zetaloop d0d21fa935 chore(copy): rename consumer label to 客户
Unify user-facing role terminology by replacing 消费者 with 客户 while keeping role keys unchanged. This aligns account settings, header role switch, global role labels, and order list role text.
2026-02-22 10:34:55 +08:00
zetaloop 519fb92c34 refactor(react-hooks): enable stricter effect rules
Turn on react-hooks/set-state-in-effect and react-hooks/incompatible-library, then remove effect-driven local state sync patterns across affected pages. Keep behavior stable by deriving values from source state, remounting tab state by role key, and replacing useForm watch with useWatch.
2026-02-22 10:03:00 +08:00
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