zetaloop
7d10be1c1f
fix(api): support xsrf and backend error message
2026-02-28 12:57:52 +08:00
zetaloop
6facf979af
feat(users): fetch current user from backend
2026-02-28 12:23:24 +08:00
zetaloop
f34f18cca1
feat(auth): connect to backend endpoints
2026-02-28 12:18:01 +08:00
zetaloop
8463e9ea1c
feat(search): migrate to backend endpoint
2026-02-28 12:17:52 +08:00
zetaloop
db02313801
feat(api): add httpJson helper
2026-02-28 12:17:42 +08:00
zetaloop
e9b0dced0e
refactor(types): align core types with backend contract
2026-02-28 07:34:14 +08:00
zetaloop
527d08fb81
refactor(mock): convert mock ids to numeric strings
2026-02-28 07:26:15 +08:00
zetaloop
f5df00df4e
refactor(auth): align auth UI and mock auth API
2026-02-28 07:26:05 +08:00
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
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
14717f1340
feat(search): add api-backed filtering and sorting
2026-02-25 04:29:17 +08:00
zetaloop
b99242feb2
fix(order): add wallet deduction to payOrder and prevent duplicate submissions
2026-02-23 11:08:11 +08:00
zetaloop
b1a8fd448d
fix(dispute): drive order to pending_review on dispute resolution
2026-02-23 11:06:47 +08:00
zetaloop
c986539954
feat(notifications): add notification system and wire order/dispute events
2026-02-23 11:05:04 +08:00
zetaloop
2222dccbb7
feat(domain): add income calculation with commission support
2026-02-23 11:04:48 +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
6517018a9c
refactor(order): add transition evaluator and timer constants
2026-02-23 11:03:31 +08:00
zetaloop
03fa447864
refactor(policy): add centralized decision helpers
2026-02-23 11:03:23 +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
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
4beb610f23
refactor(pages): migrate app data reads to api adapters
2026-02-22 08:30:21 +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
8ce3b8a8b5
feat(auth): add pending action queue and api auth wrapper
2026-02-22 08:29:18 +08:00
zetaloop
7bcb73f139
refactor(data): add mock API adapters, id utility, and toast feedback
2026-02-22 08:02:48 +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
e975f1aa03
fix: add missing game icons for new categories
2026-02-21 00:26:19 +08:00
zetaloop
7ed7bad975
refactor: rewrite and expand mock data into modular files
2026-02-21 00:24:03 +08:00
zetaloop
0d01e659a1
refactor: strengthen type modeling with discriminated unions
2026-02-20 20:48:43 +08:00
zetaloop
6008aa9b04
fix: improve auth store with user state and role validation
2026-02-20 20:40:25 +08:00
zetaloop
9267df9ea1
refactor: extract shared constants to lib/constants.ts
2026-02-20 20:39:14 +08:00
zetaloop
ed3858cff3
fix: sidebar mobile responsive and footer link clickability
2026-02-20 20:36:27 +08:00
zetaloop
ebdf56a361
fix: rewrite mock data for realism
2026-02-20 20:34:40 +08:00
zetaloop
082da2ff0c
fix: replace emoji game icons with lucide-react icons
2026-02-20 20:07:40 +08:00
zetaloop
07754069c1
feat: global login dialog with useRequireAuth hook for 401 auth gating
2026-02-20 18:50:46 +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
3fdd917672
fix: broken route links — dispute notification, chat hardcoding, dead sidebar link
2026-02-20 17:41:02 +08:00
zetaloop
02cd8a23df
setup: shadcn/ui components + type definitions + mock data layer
2026-02-20 13:27:02 +08:00
zetaloop
1f87f4676e
setup: Biome linter/formatter + Zustand + TanStack Query + RHF + Zod
2026-02-20 12:11:00 +08:00
zetaloop
f24fb1704e
init: shadcn/ui with new-york style + neutral base
2026-02-20 12:06:51 +08:00