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
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
2d42473910
chore(format): add prettier-plugin-organize-imports and sort imports
2026-02-25 15:34:33 +08:00
zetaloop
c1f00f0dbc
chore(lint): remove non-null assertion in order timeout map
2026-02-25 02:42:59 +08:00
zetaloop
da5574c5b3
fix(order): remove status bypass and wire pending_review lifecycle
2026-02-23 11:05:38 +08:00
zetaloop
c986539954
feat(notifications): add notification system and wire order/dispute events
2026-02-23 11:05:04 +08:00
zetaloop
385dac2d49
refactor(order): rewrite store around state machine transitions
2026-02-23 11:04:00 +08:00
zetaloop
6517018a9c
refactor(order): add transition evaluator and timer constants
2026-02-23 11:03:31 +08:00
zetaloop
a7d56240ff
feat(order): add sealed review reveal, timeout rules, and dispatch behavior
2026-02-22 08:16:35 +08:00
zetaloop
7bcb73f139
refactor(data): add mock API adapters, id utility, and toast feedback
2026-02-22 08:02:48 +08:00
zetaloop
02269dd9c3
feat: wire order and chat state flow
2026-02-22 06:40:40 +08:00