zetaloop
629a121272
refactor(order): move auto-dispatch to store with role-based action visibility
2026-02-23 11:10:20 +08:00
zetaloop
4fce328ef1
fix(ui): unify layout wrappers and simplify player/shop detail pages
2026-02-23 11:05:29 +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
385dac2d49
refactor(order): rewrite store around state machine transitions
2026-02-23 11:04:00 +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
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
a7d56240ff
feat(order): add sealed review reveal, timeout rules, and dispatch behavior
2026-02-22 08:16:35 +08:00
zetaloop
76df8a6f56
feat(pages): add help, terms, privacy pages and footer links
2026-02-22 08:03:27 +08:00
zetaloop
312061330c
refactor(auth): unify current user state usage across UI
2026-02-22 08:03:09 +08:00
zetaloop
7bcb73f139
refactor(data): add mock API adapters, id utility, and toast feedback
2026-02-22 08:02:48 +08:00
zetaloop
5f25043923
fix: sync notification and shop dashboard state
2026-02-22 06:43:24 +08:00
zetaloop
02269dd9c3
feat: wire order and chat state flow
2026-02-22 06:40:40 +08:00
zetaloop
4ce7303258
fix: replay pending action after login
2026-02-22 06:36:49 +08:00
zetaloop
6ed8620ca6
fix: sync verification state with auth guards
2026-02-21 15:53:46 +08:00
zetaloop
3a1f9c2b7f
feat: wire post interactions and persist favorites state
2026-02-21 15:45:20 +08:00
zetaloop
1ff499720f
fix: complete disputed order flow and wallet entry
2026-02-21 15:43:21 +08:00
zetaloop
7ed7bad975
refactor: rewrite and expand mock data into modular files
2026-02-21 00:24:03 +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
977d19ed5c
feat: add executable actions to order flow
2026-02-20 22:45:38 +08:00
zetaloop
896a22c296
feat: make role switching drive navigation and view changes
2026-02-20 22:39:57 +08:00
zetaloop
4cc4383603
feat: add auth guards to protected routes and extend requireAuth coverage
2026-02-20 22:38:29 +08:00
zetaloop
c0896faa78
fix: redirect owner profile link to shop page instead of user page
2026-02-20 22:36:34 +08:00
zetaloop
6008aa9b04
fix: improve auth store with user state and role validation
2026-02-20 20:40:25 +08:00
zetaloop
ed3858cff3
fix: sidebar mobile responsive and footer link clickability
2026-02-20 20:36:27 +08:00
zetaloop
e12500fafd
fix: rewrite ai-flavored marketing copy with natural language
2026-02-20 20:13:54 +08:00
zetaloop
07754069c1
feat: global login dialog with useRequireAuth hook for 401 auth gating
2026-02-20 18:50:46 +08:00
zetaloop
0403c12ccc
feat: consumer profile page and header profile link for all roles
2026-02-20 18:50:37 +08:00
zetaloop
91d1694bcd
feat: favorites — type, mock data, and buttons on player/shop detail pages
2026-02-20 18:35:14 +08:00
zetaloop
7e2396fc60
fix: header personal page link and login flow
2026-02-20 17:43:13 +08:00
zetaloop
3fdd917672
fix: broken route links — dispute notification, chat hardcoding, dead sidebar link
2026-02-20 17:41:02 +08:00
zetaloop
e2b47681a3
feat: login/register pages, login dialog, homepage with game categories and player/shop cards
...
Use standardSchemaResolver instead of zodResolver to work around
Zod v4 type incompatibility with @hookform/resolvers.
2026-02-20 14:17:26 +08:00
zetaloop
f7c76db00f
feat: global shell — header, footer, sidebars, and layout integration
2026-02-20 13:27:33 +08:00
zetaloop
02cd8a23df
setup: shadcn/ui components + type definitions + mock data layer
2026-02-20 13:27:02 +08:00