Commit Graph

64 Commits

Author SHA1 Message Date
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 e2671638e6 feat(chat): migrate chat to backend API 2026-03-01 17:03:30 +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 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 cc24a0cbc3 refactor(errors): migrate decisions to {code,msg} 2026-02-28 07:21:51 +08:00
zetaloop 336aa36d5a feat(theme): add dark mode with next-themes and settings toggle 2026-02-25 20:01:52 +08:00
zetaloop c55d533925 refactor(shadow): introduce shadow-card utility and extend tailwind-merge 2026-02-25 19:31:39 +08:00
zetaloop f9d48af658 refactor(search): add IconInput size variant and adopt across search bars 2026-02-25 15:56:24 +08:00
zetaloop 5812b7b0ed feat(auth): redesign auth pages with brand panel, IconInput and forgot-password 2026-02-25 15:49:37 +08:00
zetaloop 2d42473910 chore(format): add prettier-plugin-organize-imports and sort imports 2026-02-25 15:34:33 +08:00
zetaloop 37d83d8805 refactor(dashboard): extract RoleGuard and unify mobile nav with Button 2026-02-25 15:18:20 +08:00
zetaloop 0cf2d272c9 refactor(pages): replace inline links with Button asChild and TabsList variant 2026-02-25 14:54:15 +08:00
zetaloop 84dffd6764 refactor(nav): unify navigation links with Button asChild pattern 2026-02-25 14:31:28 +08:00
zetaloop 7a55f35b76 style(ui): adjust primitives, card shadow and header nav 2026-02-25 14:21:49 +08:00
zetaloop cd759ae309 chore(format): reformat header and search page 2026-02-25 13:30:33 +08:00
zetaloop 5a17cab60c style(theme): cool-gray palette with refined shadows and smaller radii 2026-02-25 12:37:04 +08:00
zetaloop c56e4486a0 style(discover,header): refine hero, cards and nav visuals 2026-02-25 12:22:37 +08:00
zetaloop 523ba2d8be style(theme): neutralize palette and reduce base radius 2026-02-25 12:22:37 +08:00
zetaloop 807c329e87 chore(format): run prettier 2026-02-25 05:37:27 +08:00
zetaloop b944847fbd style(header): proto2 chrome and spacing 2026-02-25 03:27:32 +08:00
zetaloop 215447fcef chore(footer): point search links to Discover anchor 2026-02-25 02:58:24 +08:00
zetaloop 6cbe07d489 refactor(header): move search entrypoint to Discover only 2026-02-25 02:56:08 +08:00
zetaloop 360ac9b5be chore(nav): rename homepage label to 发现 2026-02-25 02:53:51 +08:00
zetaloop dc451b0218 style(ui): align shadcn primitives with proto2 look 2026-02-25 02:48:58 +08:00
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