Commit Graph

10 Commits

Author SHA1 Message Date
zetaloop 452004b194 refactor: remove demo timers and client-side timeout simulation
Remove lib/config/demo-timers.ts and all usages across stores
and pages. Order timeout scheduling, dispute auto-progression,
and hardcoded countdown displays are removed — timeouts are
now handled server-side by the backend.
2026-05-01 17:32:06 +08:00
zetaloop 12284290cc refactor(store): adapt Zustand stores to backend-aligned types
- orders: remove name fields from creation, keep dispatchMode logic
- chat: remove readonly/senderName/senderAvatar references
- reviews: remove fromUserAvatar/toUserId, simplify participant check
- disputes: remove initiatorId/initiatorName from creation
- posts: remove authorRole/quotedPostId, keep linkedOrderId as number
- comments: remove postId from creation
- wallet: use string amounts
2026-04-23 21:15:11 +08:00
zetaloop 9e64fb1201 refactor(mock): remove lib/mock fixtures and empty stores 2026-03-01 22:26:50 +08:00
zetaloop cc24a0cbc3 refactor(errors): migrate decisions to {code,msg} 2026-02-28 07:21:51 +08:00
zetaloop 2d42473910 chore(format): add prettier-plugin-organize-imports and sort imports 2026-02-25 15:34:33 +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 1f2dc1434b fix(dispute): enforce participant checks and phase constraints 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 5542015abe feat(dispute): support bilateral evidence, timeline, and one-time appeal 2026-02-22 08:16:51 +08:00