Commit Graph

117 Commits

Author SHA1 Message Date
bfadf56173 feat(MED-161): update analysis results view 2025-09-17 11:17:36 +03:00
4ac261fd0d feat(MED-161): move analyses logic to separate package from kit/accounts 2025-09-17 11:16:59 +03:00
e7650e3c32 feat(MED-161): move type to types file 2025-09-17 11:16:50 +03:00
afac628bcf feat(MED-161): move analysis types separately from accounts types 2025-09-17 11:16:42 +03:00
Helena
99e62b91a5 use analysis order id as valis tellimuse id (#92)
* use order analysis id as valis tellimuse id

* send analysis order id in xml
2025-09-10 16:54:12 +03:00
96f82444a7 show 2fa secret as text also (example: adding to bitwarden) 2025-09-10 07:12:05 +03:00
0328e518b6 improve some texts + styles 2025-09-10 07:11:18 +03:00
4f99e32009 fix error boundary flashing on signout action 2025-09-10 06:42:39 +03:00
8b3e58e833 improve signup container 2025-09-10 06:34:27 +03:00
b8a8eab87c update order details view, translations 2025-09-10 06:34:18 +03:00
fa0bbe64fb update account form for email login 2025-09-10 06:34:05 +03:00
229b3d7c27 fix warnings on cart page refresh 2025-09-10 06:32:48 +03:00
95452de88b prefer using providers conf from supabase instead of env 2025-09-10 06:31:23 +03:00
Helena
ca13e9e30a MED-82: add patient notification emails (#74)
* MED-82: add patient notification emails

* remove console.log

* clean up

* remove extra paragraph from email
2025-09-09 10:37:22 +03:00
5b91ece1ec sort compare packages modal analyses by title 2025-09-09 09:56:16 +03:00
0e063cd5dc 'medreport.update_account' should also update email 2025-09-09 09:56:12 +03:00
0081e8948b move most isikukood.js usage to utils 2025-09-09 09:56:03 +03:00
f01829de96 update keycloak signup / login 2025-09-08 01:02:10 +03:00
96eea95fb9 fix password signup not redirecting to update-account view 2025-09-08 00:58:34 +03:00
dfcfdb8f97 Merge pull request #76 from MR-medreport/improvements-0609
update order xml for live, allow adding discounts in cart
2025-09-06 19:58:59 +00:00
c83694222d allow adding discounts in cart 2025-09-06 22:56:54 +03:00
95e72bb3f8 log out of medusa and reset cart on supabase logout 2025-09-05 14:15:03 +03:00
e0940a1600 allow transferCart to fail on register 2025-09-04 13:41:21 +03:00
65eb6c780d allow transferCart to fail on login/register 2025-09-04 13:20:12 +03:00
6e9cde6b95 medusa product can have either analysiselement or analysis originalId 2025-09-04 13:20:09 +03:00
Helena
9122acc89f MED-151: add profile view and working smoking dashboard card (#71)
* MED-151: add profile view and working smoking dashboard card

* update zod

* move some components to shared

* move some components to shared

* remove console.logs

* remove unused password form components

* only check null for variant

* use pathsconfig
2025-09-04 12:17:54 +03:00
Helena
b7926f79a9 MED-89: add analysis view with doctor summary (#68)
* add analysis view with doctor summary

* remove console.log, also return null if analysis data missing

* replace orders table eye with button
2025-09-02 12:18:18 +03:00
Helena
9d62a2d86f MED-140: ui fixes (#69)
* MED-140: ui fixes

* make accountid optional in hook
2025-09-02 12:14:24 +03:00
Helena
3498406a0c MED-88: add doctor email notifications (#65)
* MED-88: add doctor email notifications

* add logging, send open jobs notification on partial analysis response

* update permissions

* fix import, permissions

* casing, let email be null

* unused import
2025-09-02 12:14:01 +03:00
Danel Kungla
5479f310d7 Merge branch 'main' into MED-104 2025-08-29 09:46:04 +03:00
Danel Kungla
31bc4b6cff initial commit 2025-08-28 13:15:39 +03:00
Helena
86dc221cc6 MED-145: send notification to patient when summary completed (#61)
* MED-145: send notification to patient when summary completed

* MED-145: send notification to patient when summary completed

* use aliased imports where possible, revert cart service urls

* save language preference to local db

* remove unnecessary optional chaning
2025-08-28 13:05:07 +03:00
a547503887 Merge branch 'main' into MED-85 2025-08-27 08:31:26 +03:00
94439432fd feat(MED-85): improve naming 2025-08-27 08:29:36 +03:00
Helena
8c6ce29c23 MED-147: add doctor actions logging (#59)
* MED-147: add doctor actions logging

* enum casing
2025-08-27 08:11:13 +03:00
Helena
5d92c34259 MED-56: show specific error when job taken, other small improvements (#58)
* show specific error when job taken, other small improvements

* enum name case

* enum value case, actually
2025-08-26 11:43:31 +03:00
Danel Kungla
dedb42f15b Merge branch 'main' into MED-57 2025-08-26 11:30:34 +03:00
Helena
38d8ca9cfb add isBefore check to previous analysis find 2025-08-25 19:34:47 +03:00
Helena
d017834b8c MED-90: improve doctor analysis detail view (#57)
* add doctor jobs view

* change translation

* another translation change

* clean up

* add analaysis detail view to paths config

* translation

* merge fix

* fix path

* MED-90: improve doctor analysis detail view

* add key
2025-08-25 16:49:04 +03:00
Danel Kungla
e0a8173368 Merge branch 'main' into MED-57 2025-08-25 12:25:18 +03:00
Danel Kungla
56ffd7591e feat(team-accounts): enhance team account statistics and health details components with new data and improved calculations 2025-08-25 12:24:27 +03:00
89d6035151 feat(MED-85): create customer group for company account in Medusa 2025-08-25 11:51:12 +03:00
Helena
195af1db3d MED-137: add doctor other jobs view (#55)
* add doctor jobs view

* change translation

* another translation change

* clean up

* add analaysis detail view to paths config

* translation

* merge fix

* fix path

* move components to shared

* refactor

* imports

* clean up
2025-08-25 11:12:57 +03:00
Danel Kungla
1fb8df7c89 feat(dashboard, api): integrate BMI thresholds and enhance dashboard with health metrics 2025-08-21 22:09:17 +03:00
Danel Kungla
b1b0846234 feat(dashboard, api): enhance dashboard card calculations and add team membership check 2025-08-21 21:32:22 +03:00
Danel Kungla
cdf1491e53 refactor(auth): remove personal code from sign-up flow and update related components
feat(i18n): update translations for company account creation and get started
2025-08-21 21:32:03 +03:00
Danel Kungla
2b79a9e401 Refactor team account statistics and health details
- Simplified the TeamAccountStatistics component by removing unused code and integrating translation for health details.
- Updated the load-team-account-health-details to calculate average BMI based on member parameters.
- Adjusted the billing page to correctly reference the number of team members.
- Enhanced the main account page to pass member parameters to the Dashboard component.
- Modified the admin account page to destructure member data from the API response.
- Updated the TeamAccountsApi to return member parameters alongside member data.
- Added new translations for health details in Estonian locale.
2025-08-18 16:50:26 +03:00
Helena
b4b75438d2 Fix: add application_role to account-related fields (#48)
* Fix: fix accounts view, menu

* add migration

* add application_role to account-related fields
2025-08-14 11:40:53 +03:00
Helena
3c6c86c7c8 MED-109: add doctor role and basic view (#45)
* MED-109: add doctor role and basic view

* add role to accounts

* remove old super admin and doctor sql
2025-08-13 12:28:50 +03:00
Danel Kungla
3295ce7d04 feat(auth): refactor account submission data structure and remove unused billing error component 2025-08-12 15:47:01 +03:00