zetaloop
cf0fea9926
refactor(orders): replace local state machine with minimal cache
...
Strip store/orders.ts to a thin local cache with setOrders and
updateOrder only. Remove all client-side state transition logic,
actor validation, chat sync, notification generation, and wallet
integration — these are now handled by the backend API.
Fix components/order-actions.tsx and stores that depended on
the removed order store methods (markDisputed, autoTimeout*).
2026-05-01 17:32:06 +08:00
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
58dc001146
feat(ui): unify content shell layout
2026-04-26 01:53:15 +08:00
zetaloop
904148bd55
feat(ui): refine search input focus states
2026-04-25 21:51:24 +08:00
zetaloop
ac382960dd
feat(ui): refine dashboard configuration pages
2026-04-25 21:48:57 +08:00
zetaloop
14f6f5509a
feat(ui): refine dashboard management pages
2026-04-25 21:45:32 +08:00
zetaloop
1ee512940e
feat(ui): refine post interaction surfaces
2026-04-25 21:41:01 +08:00
zetaloop
29db9e5c0c
feat(ui): refine static content pages
2026-04-25 21:36:29 +08:00
zetaloop
e9a1bb4dac
feat(ui): refine order management pages
2026-04-25 21:32:04 +08:00
zetaloop
8b71e7e70e
feat(ui): refine order detail pages
2026-04-25 21:23:55 +08:00
zetaloop
8e02c8ca97
feat(ui): refine order chat pages
2026-04-25 21:15:43 +08:00
zetaloop
b0cecd58b0
feat(ui): refine account pages
2026-04-25 20:24:18 +08:00
zetaloop
151fabe8c2
feat(ui): refine public detail pages
2026-04-25 20:12:23 +08:00
zetaloop
93b880f932
feat(ui): refine public discovery pages
2026-04-25 20:12:23 +08:00
zetaloop
0999f1905e
feat(ui): add linear design foundation
2026-04-25 19:56:24 +08:00
zetaloop
b50464c854
fix(shop): use backend shop in navigation
2026-04-25 15:04:56 +08:00
zetaloop
9cff134cf2
fix(services): resolve owner shop from backend
2026-04-25 15:04:48 +08:00
zetaloop
9c7e207dfe
fix(post): persist creation through backend
2026-04-25 14:55:39 +08:00
zetaloop
65db255e20
fix(shop): render backend template defaults
2026-04-25 14:49:57 +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
874ee5cb9a
fix(wallet): persist balance actions through backend
2026-04-25 14:22:45 +08:00
zetaloop
2661cfcd8a
fix(account): submit verification through backend
2026-04-25 14:17:51 +08:00
zetaloop
e3572bf86b
fix(account): persist profile actions through backend
2026-04-25 14:13:55 +08:00
zetaloop
8813f7493f
fix(search): move router updates out of state updaters
2026-04-24 09:19:38 +08:00
zetaloop
774c62ec1c
fix(lint): avoid effect self-references in async loaders
2026-04-24 09:06:55 +08:00
zetaloop
d59f7c6dc8
fix(auth): preserve backend roles on login
2026-04-24 09:06:44 +08:00
zetaloop
ffb420f7e7
fix(pages): scope order views to the active role
2026-04-24 09:06:31 +08:00
zetaloop
ff03532da4
feat: restore auth state from backend session on app load
...
Call GET /api/v1/users/me on startup to rehydrate Zustand auth store
from the existing JToken cookie, so login survives page refresh.
2026-04-24 05:07:44 +08:00
zetaloop
2ab075d173
fix(api): propagate requestId for register and reset-password
...
Backend requires X-Request-Id header from the verification code send
response. Wire requestId through email/auth-extra API returns, register
and forgot-password pages, and auth API request headers.
2026-04-24 05:06:03 +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
ae239f3037
feat(notifications): migrate to backend API
2026-03-01 22:44:35 +08:00
zetaloop
236c1a24da
feat(comments): migrate to backend API
2026-03-01 22:40:29 +08:00
zetaloop
505d9c0168
feat(favorites): migrate to backend API
2026-03-01 22:36:50 +08:00
zetaloop
eba8fc7e65
fix(home): load catalog client-side
2026-03-01 22:33:42 +08:00
zetaloop
e2671638e6
feat(chat): migrate chat to backend API
2026-03-01 17:03:30 +08:00
zetaloop
f189ec9846
feat(disputes): migrate disputes and reviews to backend API
2026-03-01 16:25:33 +08:00
zetaloop
9739c94bdc
feat(orders): migrate orders to backend API
2026-02-28 18:13:42 +08:00
zetaloop
e94a7e68ff
feat(posts): wire community pages to backend posts API
2026-02-28 17:25:57 +08:00
zetaloop
536465aa54
feat(users): fetch user by id from backend
2026-02-28 16:42:33 +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
5797a8bdeb
feat(auth): hook up verification code sending
2026-02-28 15:45:05 +08:00
zetaloop
8463e9ea1c
feat(search): migrate to backend endpoint
2026-02-28 12:17:52 +08:00
zetaloop
e9b0dced0e
refactor(types): align core types with backend contract
2026-02-28 07:34:14 +08:00
zetaloop
80daf60ebe
chore(account): refine verify roleMeta typing
2026-02-28 07:30:47 +08:00