Commit Graph

136 Commits

Author SHA1 Message Date
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
492327c5c7 feat(account): add team membership check and refactor user account loading in HomeLayout 2025-08-21 21:32:17 +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
6f67a21cc1 refactor(footer, header): remove unused components and clean up code 2025-08-21 21:30:29 +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
Danel Kungla
937f3e4a71 feat(account): refactor team account retrieval and update SQL function for workspace 2025-08-18 15:59:59 +03:00
Danel Kungla
1427bcd5a9 Merge branch 'main' into MED-57 2025-08-18 15:15:27 +03:00
Danel Kungla
c48a4b482f feat(dashboard): add dynamic loading for dashboard component
feat(team-account-benefit-statistics): implement benefit statistics card with budget and booking details

feat(team-account-health-details): create health details component displaying account health metrics

feat(team-account-statistics): develop team account statistics page with charts and customer table

feat(load-team-account-health-details): add server-side function to retrieve account health details

chore(migrations): create trigger for logging changes in account memberships
2025-08-18 14:54:46 +03:00
Karli
2f732b254f feat(MED-123): log order analysis page view 2025-08-18 14:11:27 +03:00
Karli
abf455117d feat(MED-123): analysis to order can be not-available 2025-08-18 14:11:19 +03:00
Karli
9b50b0f92a feat(MED-123): update dashboard cards for "order analysis" 2025-08-18 13:58:42 +03:00
Karli
ec866c7f29 feat(MED-101): add audit log to cart item delete 2025-08-18 13:27:13 +03:00
Karli
43117985dd feat(MED-101): disable timer until TTO products are used 2025-08-18 13:21:56 +03:00
Karli
d65a6e8a4a feat(MED-105): update sending test analysis results 2025-08-18 13:20:06 +03:00
4c5ec1cfac feat(MED-105): update orders table to be by each separate order 2025-08-14 12:59:42 +03:00
5ff0500a9a Merge branch 'main' into MED-105-v3 2025-08-14 12:21:46 +03:00
1285b02f9c feat(MED-105): update analysis results view to be by analysis order 2025-08-14 12:10:12 +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
Danel Kungla
bbb5e83ed9 feat(audit): implement page view logging for membership confirmation and analysis results 2025-08-14 09:37:03 +03:00
Danel Kungla
536f915c69 fix: ensure form resets and button state reflects dirty status 2025-08-14 09:24:20 +03:00
87751e10b4 feat(MED-105): allow sending partial results in test 2025-08-14 01:20:45 +03:00
8e9da80e5c Merge branch 'main' into MED-105-v3 2025-08-14 01:19:48 +03:00
Helena
c22667dab4 Fix: add missing paths to dropdown (#47) 2025-08-13 14:42:26 +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
5d6aa96324 feat(MED-105): create notifications entry on email 2025-08-13 11:45:04 +03:00
Danel Kungla
e085a69442 feat(billing): remove unused BillingErrorPage component 2025-08-12 16:23:04 +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
Danel Kungla
801f5f45e2 Implement code changes to enhance functionality and improve performance 2025-08-11 17:58:36 +03:00
Danel Kungla
c3cab7c06d feat: update README for payment process clarity and enhance success notification button behavior 2025-08-11 17:51:35 +03:00
Danel Kungla
99ba14bab2 Refactor code structure and remove redundant sections for improved readability and maintainability 2025-08-11 17:51:12 +03:00
Danel Kungla
9298abe354 feat(billing): enhance health benefit form and yearly expenses overview with employee count and loading state 2025-08-11 15:04:16 +03:00
5264455793 feat(MED-87): improve naming 2025-08-11 10:44:53 +03:00
63b86c0abb feat(MED-87): update status on results 2025-08-11 10:41:01 +03:00
d582e222ce feat(MED-105): update order details redirect and shown page 2025-08-11 09:21:40 +03:00
556d7bd321 feat(MED-105): show analysis date in tooltip for now 2025-08-11 09:21:33 +03:00
37f233e363 feat(MED-105): show empty text on no ordered analyses 2025-08-11 09:21:27 +03:00
c8621c4453 feat(MED-105): sort analysis result elements by date 2025-08-11 09:21:20 +03:00
83fff1ffe7 feat(MED-105): create audit entry on analysis results view 2025-08-11 09:21:13 +03:00
49fc75b17b feat(MED-105): update analysis results page 2025-08-11 09:21:06 +03:00
Danel Kungla
2850478443 feat: enable TLS for email and improve loading state handling in CompanyOfferForm 2025-08-07 15:10:59 +03:00
09155ae110 feat(MED-131): revert to use server action for montonio token for revalidateTag 2025-08-05 10:59:44 +03:00
d9b619d560 feat(MED-131): rerun 2025-08-05 10:33:59 +03:00
7f1596b141 feat(MED-131): keep unused app/store pages for now but don't build them since its unstable 2025-08-05 10:29:37 +03:00
e375f22b57 feat(MED-131): route sometimes redirects back to login instead 2025-08-05 10:07:59 +03:00
danelkungla
90e0049d65 Merge pull request #41 from MR-medreport/MED-111
feat(MED-111): update navigation links and adjust invitation handling
2025-08-04 18:35:08 +03:00
47675252ed feat(MED-131): conditional env 2025-08-04 18:31:17 +03:00
Danel Kungla
cb7f4f7ba5 feat(MED-111): update navigation links and adjust invitation handling 2025-08-04 18:15:22 +03:00
edfc9776d3 feat(MED-131): remove fake url 2025-08-04 17:56:04 +03:00
77d58ef5b1 feat(MED-131): fix analysis element ids 2025-08-04 17:41:32 +03:00