Commit Graph

254 Commits

Author SHA1 Message Date
Kirill caa9b926e3 пва 2026-05-22 20:20:08 +05:00
Kirill cc94917c5f feat: add email, phone, VK contacts to About page 2026-05-22 19:43:31 +05:00
Kirill 3d0dbdd0a5 пва 2026-05-22 19:41:47 +05:00
Kirill 5644a2ede2 feat: replace footer VK inline icon with SVG logo 2026-05-22 19:41:04 +05:00
Kirill 20e4b1e0ab feat: latin-only slugs, server-side avatar generation, remove unused User fields 2026-05-22 19:32:30 +05:00
Kirill 02c7d7ba36 fix: review avatar uses authorId instead of displayName, show reviews for hidden products 2026-05-22 19:14:22 +05:00
Kirill a96944328d style: prettier format SseProvider test 2026-05-22 18:46:42 +05:00
Kirill 3b627e8e2f feat: mount SseProvider, remove polling from layouts 2026-05-22 18:45:00 +05:00
Kirill 86523cda71 feat: add SseProvider — SSE to ReactQuery bridge with tests 2026-05-22 18:43:02 +05:00
Kirill a5e875292d test: add SseProvider tests (TDD red) 2026-05-22 18:40:57 +05:00
Kirill a84045a68d feat: add EventSource factory for SSE 2026-05-22 18:39:10 +05:00
Kirill b38b24f158 fix(auth): add missing onRegisterChange prop to test 2026-05-22 16:04:50 +05:00
Kirill c903db439d fix(auth): enable register tab switching 2026-05-22 15:59:38 +05:00
Kirill 237106f2a4 fix(client): parse error message properly in ProfileSection 2026-05-22 15:41:50 +05:00
Kirill be9a9bad8e fix(Task 2): add error handling and sync state with user
- AuthMethodsSection: show Alert on fetchAuthMethodsFx failure
- AvatarSection: sync selectedStyle with user.avatarStyle via Select key
- ProfileSection: reset form defaultValues when user.displayName changes
2026-05-22 15:15:50 +05:00
Kirill fa276eb7f3 fix(settings): use $updateProfileError and changePasswordFx per spec 2026-05-22 15:10:20 +05:00
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 d51266446f fix(client): remove global borderWidth change on outlined button hover 2026-05-22 13:49:31 +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 eb30640b49 feat: load Outfit font from static files 2026-05-22 13:18:21 +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 f6729210db feat: public admin avatar endpoint, real admin avatar in user chat 2026-05-21 21:50:07 +05:00
Kirill 367ea1e501 test commit 2026-05-21 21:39:36 +05:00
Kirill e09fe7211a fix: type-only import for UpdateProfileParams 2026-05-21 21:12:29 +05:00
Kirill 57da755ea1 feat: real user avatars in reviews, conditional product link 2026-05-21 21:10:49 +05:00
Kirill 7e7bade80c feat: avatars in order messages 2026-05-21 21:05:22 +05:00
Kirill d69647ffe3 fix: out of stock chip z-index, PersonIcon for unauthenticated users 2026-05-21 21:00:26 +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 d1e4cc67aa feat: admin avatar in header with settings link 2026-05-21 20:45:23 +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