Commit Graph

25 Commits

Author SHA1 Message Date
zetaloop e9b0dced0e refactor(types): align core types with backend contract 2026-02-28 07:34:14 +08:00
zetaloop 80daf60ebe chore(account): refine verify roleMeta typing 2026-02-28 07:30:47 +08:00
zetaloop f5df00df4e refactor(auth): align auth UI and mock auth API 2026-02-28 07:26:05 +08:00
zetaloop 336aa36d5a feat(theme): add dark mode with next-themes and settings toggle 2026-02-25 20:01:52 +08:00
zetaloop 2d42473910 chore(format): add prettier-plugin-organize-imports and sort imports 2026-02-25 15:34:33 +08:00
zetaloop f8659b5ebc style(cards): normalize card list layout and padding across pages 2026-02-25 15:01:15 +08:00
zetaloop 3f3172fabb style(account): apply proto2 surfaces 2026-02-25 05:10:31 +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 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 2ade1780c1 fix(settings): enable profile save and avatar selection 2026-02-22 08:30:40 +08:00
zetaloop dc629c9472 feat(wallet): add runtime balance flow and role-gated order posting 2026-02-22 08:17:31 +08:00
zetaloop 33b7e4d0b9 feat(auth): complete verification state machine with resubmit flow 2026-02-22 08:16:14 +08:00
zetaloop 312061330c refactor(auth): unify current user state usage across UI 2026-02-22 08:03:09 +08:00
zetaloop 5f25043923 fix: sync notification and shop dashboard state 2026-02-22 06:43:24 +08:00
zetaloop 6ed8620ca6 fix: sync verification state with auth guards 2026-02-21 15:53:46 +08:00
zetaloop 7ed7bad975 refactor: rewrite and expand mock data into modular files 2026-02-21 00:24:03 +08:00
zetaloop 86ece33c00 feat: add role-based wallet view for consumer vs player/owner 2026-02-20 22:46:28 +08:00
zetaloop 4cc4383603 feat: add auth guards to protected routes and extend requireAuth coverage 2026-02-20 22:38:29 +08:00
zetaloop ed3858cff3 fix: sidebar mobile responsive and footer link clickability 2026-02-20 20:36:27 +08:00
zetaloop 104e7c5291 fix: require verification before role switch in settings 2026-02-20 20:02:49 +08:00
zetaloop 5b21793ede feat: settings, wallet, notifications, and identity verification pages 2026-02-20 15:34:15 +08:00
zetaloop f7c76db00f feat: global shell — header, footer, sidebars, and layout integration 2026-02-20 13:27:33 +08:00
zetaloop 3093da1665 feat: route structure, providers, layouts, and placeholder pages 2026-02-20 12:43:34 +08:00