Commit Graph

36 Commits

Author SHA1 Message Date
zetaloop e9a1bb4dac feat(ui): refine order management pages 2026-04-25 21:32:04 +08:00
zetaloop 9cff134cf2 fix(services): resolve owner shop from backend 2026-04-25 15:04:48 +08:00
zetaloop c3843b3671 fix(shop): load orders and income from backend 2026-04-25 14:49:50 +08:00
zetaloop 33f8f82e07 fix(shop): manage staff through backend 2026-04-25 14:49:44 +08:00
zetaloop fc0b754056 fix(shop): persist settings through backend 2026-04-25 14:49:36 +08:00
zetaloop e559204347 feat(services): manage services through backend 2026-04-25 14:31:04 +08:00
zetaloop ffb420f7e7 fix(pages): scope order views to the active role 2026-04-24 09:06:31 +08:00
zetaloop 4d8877f588 fix(pages): adapt all pages to backend-aligned types
Replace removed fields with available data sources throughout UI:
- order pages: use service.title instead of consumer/player names
- chat: look up sender from session.participants, remove readonly
- community: simplify post cards, keep pinned icon
- post detail: keep pinned/linkedOrderId display
- shop rules: use string commissionValue
- dashboard: parse string amounts for income display
- dispute/review: remove initiator/avatar references
2026-04-23 21:15:28 +08:00
zetaloop aae83bce44 fix(lint): resolve floating promise warnings 2026-03-01 22:53:48 +08:00
zetaloop 83ea3fea97 feat(wallet): migrate to backend API 2026-03-01 22:48:10 +08:00
zetaloop 9739c94bdc feat(orders): migrate orders to backend API 2026-02-28 18:13:42 +08:00
zetaloop f1ae3e04bb feat(catalog): fetch players, services, shops 2026-02-28 16:37:15 +08:00
zetaloop f4365668ab feat(games): fetch games from backend 2026-02-28 16:23:30 +08:00
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 37d83d8805 refactor(dashboard): extract RoleGuard and unify mobile nav with Button 2026-02-25 15:18:20 +08:00
zetaloop 15678e755c style(dashboard): apply proto2 surfaces 2026-02-25 05:27:17 +08:00
zetaloop c9579c1b8d fix(dashboard): match new order ID format in income page 2026-02-23 11:09:55 +08:00
zetaloop 1dfcd3927d fix(dashboard): scope owner and service views by resolved shop 2026-02-23 11:04:08 +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 4beb610f23 refactor(pages): migrate app data reads to api adapters 2026-02-22 08:30:21 +08:00
zetaloop 5f25043923 fix: sync notification and shop dashboard state 2026-02-22 06:43:24 +08:00
zetaloop c04a1d5b71 chore: apply biome autofix in shop dashboard 2026-02-21 15:54:26 +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 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 7e632ce092 feat: add shop dashboard order overview, income stats, and rule settings pages 2026-02-20 23:04:38 +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 ed3858cff3 fix: sidebar mobile responsive and footer link clickability 2026-02-20 20:36:27 +08:00
zetaloop b9859438d8 fix: render lucide icons in community and service form 2026-02-20 20:07:55 +08:00
zetaloop 7cf482e2f7 fix: remove prototype disclaimer from shop template editor 2026-02-20 20:06:54 +08:00
zetaloop 66c6cfd4fc fix: wire unit Select to react-hook-form via setValue 2026-02-20 17:41:13 +08:00
zetaloop 6523556d8b feat: shop management, employee management, and template editor pages 2026-02-20 15:29:08 +08:00
zetaloop 8f4e8604d3 feat: dashboard overview, services list, and service publish pages 2026-02-20 15:25:34 +08:00
zetaloop 3093da1665 feat: route structure, providers, layouts, and placeholder pages 2026-02-20 12:43:34 +08:00