Commit Graph

92 Commits

Author SHA1 Message Date
Kirill e273c29c36 refactor(SettingsPage): split into ProfileSection, AvatarSection, AuthMethodsSection
- Extract ProfileSection (45 lines): display name form with save button
- Extract AvatarSection (114 lines): avatar preview, style selector, generate/save/cancel
- Extract AuthMethodsSection (204 lines): auth methods list, set/change password forms
- Rewrite SettingsPage as composer (41 lines): composes 3 sections with dividers
- Add tests for all 3 sections
2026-05-22 15:04:49 +05:00
Kirill 03e60e46f3 fix(auth): defer setState in OAuth error effect to avoid cascading renders 2026-05-22 14:50:38 +05:00
Kirill b1530ef705 fix(auth): add forgot password flow and fix OAuth URL clearing 2026-05-22 14:47:06 +05:00
Kirill 68bbbf8895 refactor(auth): extract AuthPasswordForm and AuthCodeForm to features
- Create auth-password feature with login/register form
- Create auth-code feature with email+code verification form
- Extract getApiErrorMessage to shared lib
- Simplify AuthPage to pure UI composer with tabs
- Update tests for new component structure
- All 40 tests passing
2026-05-22 14:36:19 +05:00
Kirill d79d02d5d1 refactor: remove email change functionality 2026-05-22 14:20:11 +05:00
Kirill ad43ff98b6 feat: add password change and reset via email code 2026-05-22 14:12:29 +05:00
Kirill 22282c5f4e fix: accept token as query param in authenticate, pass token to oauth link URL 2026-05-22 13:52:48 +05:00
Kirill b7c11fbce6 test commit 2026-05-22 13:46:37 +05:00
Kirill f02c615dd9 fix(client): remove hover shift on pill tabs and OAuth buttons 2026-05-22 13:45:05 +05:00
Kirill cf61a5c44f fix(client): remove OAuth tab, show VK/Yandex always with separator, fix pill hover offset 2026-05-22 13:41:52 +05:00
Kirill e468625cfc chore: fix type errors, move textAlign/fontWeight to sx 2026-05-22 13:28:45 +05:00
Kirill 9696a4dcc3 feat(client): redesign auth page with minimal style, BearLogo, pill buttons 2026-05-22 13:24:35 +05:00
Kirill 669b9aa45d test commit 2026-05-22 12:51:41 +05:00
Kirill b2ccc2a256 chore: fix lint issues, remove unused hasAvatar 2026-05-22 12:27:20 +05:00
Kirill 5651403d2e test(client): add auth page tab tests 2026-05-22 12:21:50 +05:00
Kirill 39d6a1604c fix(client): remove avatarType and OAuth avatar from admin settings 2026-05-22 12:18:45 +05:00
Kirill 6d23aafcc1 feat(client): add auth methods section to settings page 2026-05-22 12:16:58 +05:00
Kirill afc763c522 feat(client): auth page with 3 tabs (password/code/oauth) 2026-05-22 12:11:36 +05:00
Kirill be65f2330e refactor(client): remove avatarType, add auth effects, simplify UserAvatar 2026-05-22 12:08:41 +05:00
Kirill 924d7b7b77 test commit 2026-05-21 21:58:49 +05:00
Kirill 4fa4a91ddc feat: avatars in /me/messages chat 2026-05-21 21:55:10 +05:00
Kirill e09fe7211a fix: type-only import for UpdateProfileParams 2026-05-21 21:12:29 +05:00
Kirill 7a9e44bc5c fix: rename name to displayName in AdminUser type and page 2026-05-21 20:58:50 +05:00
Kirill 2751332356 feat: avatar column in admin users table 2026-05-21 20:52:43 +05:00
Kirill 52290e162e fix: use mutation variables in onSuccess, fix null displayName handling 2026-05-21 20:42:59 +05:00
Kirill 0dfa428931 feat: add admin settings page for display name and avatar editing 2026-05-21 20:28:35 +05:00
Kirill d056399b3b test commit 2026-05-21 14:32:45 +05:00
Kirill 47124a01a7 test commit 2026-05-21 14:22:03 +05:00
Kirill 058fa26e12 test commit 2026-05-21 13:39:45 +05:00
Kirill 1837b36b14 test commit 2026-05-21 12:02:29 +05:00
Kirill faac332138 feat: implement yookassa redirect payment flow on client 2026-05-20 19:28:46 +05:00
Kirill e8f5bba9bf feat: add OAuth buttons to AuthPage 2026-05-20 11:07:18 +05:00
Kirill 00b74e56d7 refactor: rename name→displayName across client 2026-05-20 11:00:28 +05:00
Kirill cb4661dc13 test commit 2026-05-19 15:32:45 +05:00
Kirill 0b01b61e48 fix: use MUI v9 slots API for StepLabel stepIcon 2026-05-19 15:18:42 +05:00
Kirill 348ffd940c feat: remove info page from admin navigation and routes 2026-05-19 14:56:08 +05:00
Kirill dbe36ce6fd feat: remove admin info page CRUD 2026-05-19 14:55:13 +05:00
Kirill 777ba6ec15 feat: rewrite InfoPage as static container with section components 2026-05-19 14:53:42 +05:00
Kirill e7cc518d7f fix: prettier formatting and step key in info sections 2026-05-19 14:52:11 +05:00
Kirill f01ede6ee9 feat: add ReturnsSection with return and warranty blocks 2026-05-19 14:44:23 +05:00
Kirill 2ffa11be50 feat: add DeliverySection with pickup, courier, and postal cards 2026-05-19 14:44:08 +05:00
Kirill 22ac9e381d feat: add PaymentSection with card and cash methods 2026-05-19 14:43:58 +05:00
Kirill 4952ed6371 feat: add HowToOrderSection with purchase step stepper 2026-05-19 14:43:26 +05:00
Kirill 5adbe9baa7 test commit 2026-05-19 11:25:23 +05:00
Kirill 3972133155 test commit 2026-05-19 10:31:59 +05:00
Kirill c25b4f97f2 test commit 2026-05-19 10:30:05 +05:00
Kirill 9999b28d49 test commit 2026-05-19 09:00:26 +05:00
Kirill d0b3c97803 feat: improve notifications - fix auth code tg duplicate, double order notify, add PAID label, expand text, add deliveryFeeAdjusted event 2026-05-18 14:48:54 +05:00
Kirill 6054ef4c06 feat: add admin notification settings page 2026-05-18 11:55:45 +05:00
Kirill dfec821545 feat: add user notification settings page 2026-05-18 11:51:41 +05:00