Commit Graph

17 Commits

Author SHA1 Message Date
zetaloop c55d533925 refactor(shadow): introduce shadow-card utility and extend tailwind-merge 2026-02-25 19:31:39 +08:00
zetaloop 2d42473910 chore(format): add prettier-plugin-organize-imports and sort imports 2026-02-25 15:34:33 +08:00
zetaloop b57fe7f9dd style(order): apply proto2 surfaces 2026-02-25 05:19:13 +08:00
zetaloop 1dfcd3927d fix(dashboard): scope owner and service views by resolved shop 2026-02-23 11:04:08 +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 312061330c refactor(auth): unify current user state usage across UI 2026-02-22 08:03:09 +08:00
zetaloop 02269dd9c3 feat: wire order and chat state flow 2026-02-22 06:40:40 +08:00
zetaloop e2e0b5a06a fix: restore search mixed results and order entry links 2026-02-21 15:42:33 +08:00
zetaloop 7ed7bad975 refactor: rewrite and expand mock data into modular files 2026-02-21 00:24:03 +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 9267df9ea1 refactor: extract shared constants to lib/constants.ts 2026-02-20 20:39:14 +08:00
zetaloop a4e05cf482 chore: clean up placeholder comments and over-engineering 2026-02-20 20:20:22 +08:00
zetaloop 3fdd917672 fix: broken route links — dispute notification, chat hardcoding, dead sidebar link 2026-02-20 17:41:02 +08:00
zetaloop 6ae5e533c1 feat: search, player detail, shop detail, order flow, chat, review, and dispute pages 2026-02-20 15:10:31 +08:00
zetaloop 3093da1665 feat: route structure, providers, layouts, and placeholder pages 2026-02-20 12:43:34 +08:00