Commit Graph

116 Commits

Author SHA1 Message Date
zetaloop bce99c4c54 refactor(order): createPaidOrder uses id references 2026-02-28 07:25:52 +08:00
zetaloop cc24a0cbc3 refactor(errors): migrate decisions to {code,msg} 2026-02-28 07:21:51 +08:00
zetaloop 79618100c4 style(theme): refine dark mode palette with cool-blue tint 2026-02-26 01:04:36 +08:00
zetaloop 336aa36d5a feat(theme): add dark mode with next-themes and settings toggle 2026-02-25 20:01:52 +08:00
zetaloop c55d533925 refactor(shadow): introduce shadow-card utility and extend tailwind-merge 2026-02-25 19:31:39 +08:00
zetaloop feef03670a style(theme): soften card shadows and lighten border tokens 2026-02-25 16:03:10 +08:00
zetaloop f9d48af658 refactor(search): add IconInput size variant and adopt across search bars 2026-02-25 15:56:24 +08:00
zetaloop 5812b7b0ed feat(auth): redesign auth pages with brand panel, IconInput and forgot-password 2026-02-25 15:49:37 +08:00
zetaloop 2d42473910 chore(format): add prettier-plugin-organize-imports and sort imports 2026-02-25 15:34:33 +08:00
zetaloop d4a0765cad style(discover): remove rounded-full from card action buttons 2026-02-25 15:18:20 +08:00
zetaloop 37d83d8805 refactor(dashboard): extract RoleGuard and unify mobile nav with Button 2026-02-25 15:18:20 +08:00
zetaloop f8659b5ebc style(cards): normalize card list layout and padding across pages 2026-02-25 15:01:15 +08:00
zetaloop 0cf2d272c9 refactor(pages): replace inline links with Button asChild and TabsList variant 2026-02-25 14:54:15 +08:00
zetaloop f0a8abefa5 style(community): adjust card spacing and formatting 2026-02-25 14:31:28 +08:00
zetaloop 7a55f35b76 style(ui): adjust primitives, card shadow and header nav 2026-02-25 14:21:49 +08:00
zetaloop cd759ae309 chore(format): reformat header and search page 2026-02-25 13:30:33 +08:00
zetaloop 428e6f891e style(theme): refine palette with precise primary and neutral accent 2026-02-25 13:30:33 +08:00
zetaloop 075c6ee18c style(discover): tighten hero section and restyle search bar 2026-02-25 12:37:04 +08:00
zetaloop 5a17cab60c style(theme): cool-gray palette with refined shadows and smaller radii 2026-02-25 12:37:04 +08:00
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 ee926ac393 feat(discover): proto2 layout and on-page search module 2026-02-25 03:04:08 +08:00
zetaloop 360ac9b5be chore(nav): rename homepage label to 发现 2026-02-25 02:53:51 +08:00
zetaloop 1989d2bc09 style(theme): switch to proto2 oklch palette and card shadows 2026-02-25 02:23:28 +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 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 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 6517018a9c refactor(order): add transition evaluator and timer constants 2026-02-23 11:03:31 +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 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