Commit Graph

1004 Commits

Author SHA1 Message Date
2caafad799 merge upstream 2026-11-24 13:02:37 +00:00
2d99aa8ab5 merge upstream 2026-11-24 13:01:51 +00:00
04105a6d9f merge upstream 2026-11-24 10:45:34 +00:00
misha
65219bce77 Merge remote-tracking branch 'upstream/main' into issue-851
# Conflicts:
#	lib/features/feed/presentation/widgets/plan_widget.dart
#	lib/features/profile/presentation/pages/profile_screen.dart
2026-11-24 12:24:45 +03:00
misha
ad122ed2f7 feat(issue-1154, issue-851): diary UX changed, price added to a active plan card 2026-11-24 12:17:32 +03:00
3aeda43fc2 resolve conflicts 2026-11-24 09:13:43 +03:00
4ed330cdb0 merge upstream 2026-11-23 21:16:16 +00:00
61b77bfaec Merge remote-tracking branch 'upstream_main' into HEAD
# Conflicts:
#	lib/generated/intl/messages_en.dart
#	lib/generated/intl/messages_ru.dart
2026-11-23 22:48:19 +03:00
b0ffbd318a feat(auth): align password policy and handle 429 responses
- map 429 Retry-After to a localized toast in AuthCubit
- enforce the 8-character minimum on registration v1 and add the hint
- surface errors.password in registration v2
- show password errors from 422 responses in the reset flow
- add ru/en localization strings and regenerate l10n
- add a regression test for the 429/Retry-After path
2026-11-23 14:46:29 +03:00
1ba5043e41 merge upstream 2026-11-23 11:20:41 +00:00
78192b742d Merge pull request 'issue-1140' (#1150) from misha/eatvio_app:issue-1140 into main
Reviewed-on: eatvio/eatvio_app#1150
2026-11-23 11:20:33 +00:00
3ed1649f3d merge upstream 2026-11-23 11:19:45 +00:00
608016c8ad feat(l10n): localize rating place and favorite error messages
- add rating_place and error_try_again_later ARB keys (ru/en)
- use S.rating_place in profile screen, plan widget and author card
- use S.current.error_try_again_later in profile plans cubit
- hide rating badge when rating place is null instead of rendering null-й
- initialize localization in profile plans cubit test
2026-11-20 17:42:03 +03:00
0df474b2b5 fix: plans - like and bookmark in consultant profile (#582)
- decouple PlanWidget from feed PlansCubit via owner-provided callbacks
- add like/favorite actions to profile PlansCubit: slug lookup, optimistic
  update, rollback of the affected plan, per-slug debounce, isClosed guards
- pass slug through like/favorite/comments events; guard out-of-range index
  in feed plans handlers and deep-link about_plan sync
- capture post like intent before await in profile blog post widget
- replace null force-unwraps in profile screen, guard indexOf == -1
- tests: profile plan like/bookmark, slug sync, bounds guards, #700 regression
2026-11-20 16:30:13 +03:00
misha
5308c11ca6 fixed sentry crashes handling 2026-11-20 14:24:20 +03:00
23f24c0be0 Merge remote-tracking branch 'origin/main' into fix/989-profile-save-alert
# Conflicts:
#	lib/features/settings/presentation/pages/general_info_screen.dart
#	lib/features/settings/presentation/pages/physical_activity_screen.dart
#	lib/generated/intl/messages_en.dart
#	lib/generated/intl/messages_ru.dart
#	test/features/settings/presentation/pages/general_info_screen_test.dart
#	test/features/settings/presentation/pages/other_info_screen_test.dart
#	test/features/settings/presentation/pages/physical_activity_screen_test.dart
#	test/features/settings/presentation/pages/physical_form_screen_test.dart
#	test/features/settings/presentation/pages/pressure_screen_test.dart
2026-11-19 14:19:40 +03:00
misha
29ee8ae5a8 fix: review fixes 2026-11-19 11:00:41 +03:00
ee31b235b9 merge upstream 2026-11-18 22:40:22 +00:00
misha
b05d3b891b fix: issue-1141 2026-11-18 14:38:15 +03:00
misha
215224f458 fix: old flutter version code fixed 2026-11-17 13:57:32 +03:00
misha
0e85f86950 Merge branch 'issue-1122' of ssh://10.55.5.123:222/misha/eatvio_app into issue-1122 2026-11-17 13:52:07 +03:00
misha
b4e1500dd4 feat(video_recordings): updated design, improved downloading logic, updated flutter version to 3.50 2026-11-17 13:47:04 +03:00
66d7028d0f fix(settings): return to settings with success toast after saving
related to: #989
2026-11-16 17:55:57 +03:00
0c66994644 fix(settings): show success toast after saving general info
related to: #989
2026-11-16 17:34:32 +03:00
a74119dabd fix(chat): replace video call icon with white phone on blue circle
related to: #1057
2026-11-16 16:46:02 +03:00
08bc3c7fb1 merge upstream 2026-11-16 13:42:34 +00:00
misha
3db96a1969 feat(video_call_recordings): call recordings first implementation 2026-11-16 10:33:50 +03:00
misha
db3a32c12e feat(insights): review fixes 2026-11-11 16:05:11 +03:00
misha
5228d43f15 Merge remote-tracking branch 'upstream/main' into issue-1123 2026-11-11 10:49:33 +03:00
28ae75474a fix: localize diet notification and type plan options 2026-11-10 13:52:06 +03:00
misha
c7198c5a48 fix: exteshions removed 2026-11-10 12:41:21 +03:00
misha
8d4cabf5c6 fix: comments fixed, version changed 2026-11-10 12:35:09 +03:00
misha
8c33f033ff feat(insights): added kbju fetching for analitics 2026-11-10 12:21:53 +03:00
misha
45d072cff4 feat(insights): first isights impemetation 2026-11-09 15:35:10 +03:00
6c4572af55 fix: show personal diet name and consultant notifications 2026-11-06 14:22:55 +03:00
ad70d0988e Merge branch 'main' into feature/1115-consultation-status-plank
# Conflicts:
#	lib/generated/intl/messages_ru.dart
2026-11-06 13:40:05 +03:00
0241265b3c fix: align diary diet row and hide terminal cancel
- show only the personal diet name in the diary and keep the plan day chip
- hide consultation cancellation for terminal and non-cancellable states
- enable the refund form only for paid, started and in-progress plans
- cover diary rows and order info cancel visibility with tests
2026-11-06 13:33:44 +03:00
57536aba06 fix(personal-diet): open client chat after diet assignment
- navigate to the client chat after a successful attach or reattach
- reset the stack so back returns to the chat list
- keep the diet screen on missing chat id and cover the flow with tests
2026-11-05 18:28:16 +03:00
16084ee94c fix(chat): guard diet duration and keep progress plank
- show diet duration hint and plan duration in suggestion flow
- disable diet CTA on duration mismatch with grey visual state
- keep progress plank visible for personal_diet_setted
- center step labels under their circles
2026-11-03 17:40:54 +03:00
bd1155233f feat(chat): add consultation progress and personal diet status
related to #1115
2026-11-03 14:45:44 +03:00
Anatoliy Poloz
1829ad611d feat(sbp_payments): QR-код оплаты СБП с другого устройства
- Новый SbpQrBottomSheet: рендер checkout_url (qr.nspk.ru/{qrcId}) через qr_flutter,
  сумма, инструкция, автоопределение оплаты polling-ом статуса chosen_plan (3 сек)
  и автозакрытие с успехом
- Кнопка «Оплатить по QR-коду» в шите выбора банков — первичная, под заголовком,
  доступна сразу после получения checkout_url, не дожидаясь списка банков
  (важно для устройств без банковских приложений, iOS в РФ)
- Блок «Симуляция оплаты» (testpay.alfabank.ru/sbp-page?qrcId=...) показывается
  только когда base URL API не продуктовый: AppConfig.isProdApi/prodApiHosts
  (хост целиком — стенды-поддомены eatvio.ru продом не считаются)
- showBottomSheetWithBlur стал генериком — возвращает значение pop(result)
- showConsultationPaymentFlow: опциональная прокидка суммы в QR-шит
- Локализация ru/en, тесты (16 новых, всего 34 платёжных зелёные)
2026-11-02 14:03:56 +03:00
36079de81c merge upstream 2026-11-02 10:00:33 +00:00
2668907f60 merge upstream 2026-11-02 08:14:53 +00:00
56ab9b65f9 merge upstream 2026-11-02 08:14:46 +00:00
cba2689406 feat(session): centralize session teardown and refresh
Add SessionLifecycleService to reset user-scoped cubits, analytics, socket id and account-scoped preferences on logout, 401 or account deletion. Run the same refresh after every successful auth path, including registration v1/v2, and ignore 401 responses from stale tokens so an old request cannot terminate the new user's session.

Refs: #1113
2026-10-30 15:15:28 +03:00
5f0b7e026b fix(profile): refresh bottom-nav avatar on account switch
Reset ProfileAvatarCubit and user-scoped feed, chat and notification state so stale data from the previous account cannot be rendered. Refresh the avatar when the stored token changes and rebuild nav tabs when the profile identity or consultant role changes.

Refs: #1113
2026-10-30 15:15:21 +03:00
f58892bdeb fix(consultant): keep registration button above system navigation bar 2026-10-30 13:31:05 +03:00
f14f426381 fix(consultations): open chat via consultation chat_id
Use chat_id from the consultations payload for direct navigation and keep
the chat lookup as a fallback for legacy rows without chat_id.

- validate chat id in ChatRepository and make it nullable
- guard repeated taps while opening chat
- handle nullable chat id in ProfileCubit and EmptyChatScreen

related to #1106
2026-10-29 18:09:08 +03:00
6a31880a85 fix(consultations): open chat from consultation card
The chat icon on the consultant consultation card had an empty onTap handler.
Resolve the conversation with the client via the chat API and navigate to it.

related to #1106
2026-10-29 17:27:12 +03:00
misha
4a5c67632e feat(video_calls): app opening from terminated state fix 2026-10-29 13:55:38 +03:00