Commit Graph

39 Commits

Author SHA1 Message Date
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 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 b2ccc2a256 chore: fix lint issues, remove unused hasAvatar 2026-05-22 12:27:20 +05:00
Kirill 6d23aafcc1 feat(client): add auth methods section to settings page 2026-05-22 12:16:58 +05:00
Kirill be65f2330e refactor(client): remove avatarType, add auth effects, simplify UserAvatar 2026-05-22 12:08:41 +05:00
Kirill 4fa4a91ddc feat: avatars in /me/messages chat 2026-05-21 21:55:10 +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 00b74e56d7 refactor: rename name→displayName across client 2026-05-20 11:00:28 +05:00
Kirill 5adbe9baa7 test commit 2026-05-19 11:25:23 +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 dfec821545 feat: add user notification settings page 2026-05-18 11:51:41 +05:00
Kirill f855568687 refactor: simplify order status model — remove DELIVERY_FEE_ADJUSTMENT and PAYMENT_VERIFICATION
- Add deliveryFeeLocked field to Order model
- Remove DELIVERY_FEE_ADJUSTMENT and PAYMENT_VERIFICATION statuses (11→8)
- 3 order paths: delivery+online (locked→unlocked→paid), pickup+online (unlocked→paid), pickup+on_pickup (direct to in_progress)
- Update checkout to use PENDING_PAYMENT + deliveryFeeLocked
- Update payment flow to stay in PENDING_PAYMENT until admin confirms
- Update admin UI to use deliveryFeeLocked instead of status check
- Update client payment UI with new deliveryFeeLocked logic
2026-05-15 21:55:14 +05:00
Kirill d5075813a2 fix: lint and type errors in ToggleCartIcon, AdminLayout, ProductFilters, use-product-filters 2026-05-14 21:36:00 +05:00
Kirill 8632601490 feat: UI style refresh — Lucide icons, theme, slider, filters, buttons, VK 2026-05-14 21:25:11 +05:00
kirill.komarov c6b542bd95 fix: TypeScript errors — NominatimItem import, unknown ReactNode, unused deliveryType, effect generics, export name 2026-05-13 22:16:00 +05:00
@kirill.komarov a06f9cf2c4 Merge branch 'refactor' 2026-05-13 22:07:46 +05:00
@kirill.komarov 519c647f65 deploy 2026-05-12 21:53:11 +05:00
@kirill.komarov 57fa4adf08 deploy 2026-05-12 21:37:39 +05:00
@kirill.komarov 4eda6d0f81 deploy 2026-05-11 15:14:35 +05:00
@kirill.komarov 5ddde15fd3 base commit 2026-05-10 14:28:35 +05:00
@kirill.komarov 97537a8717 base commit 2026-05-10 13:50:44 +05:00
@kirill.komarov ebe1ede25c base commit 2026-05-04 12:34:01 +05:00
@kirill.komarov 6885e39017 base commit 2026-05-03 20:30:21 +05:00
@kirill.komarov fe10f25b8c base commit 2026-05-03 19:57:12 +05:00
@kirill.komarov 9139a24093 base commit 2026-04-30 22:34:55 +05:00
@kirill.komarov 123d86091d base commit 2026-04-29 20:23:30 +05:00
@kirill.komarov f26223091a base commit 2026-04-29 19:29:24 +05:00
@kirill.komarov bfc9661d22 base commit 2026-04-29 19:14:34 +05:00
@kirill.komarov 326521c9e6 base commit 2026-04-29 18:34:25 +05:00
@kirill.komarov d40edf97e7 base commit 2026-04-28 21:47:43 +05:00
@kirill.komarov 2148fd7a12 base commit 2026-04-28 21:36:30 +05:00