Commit Graph

230 Commits

Author SHA1 Message Date
Nati
cc4ce06a71 feat: add payment functionality for passed exam certificates and update related statuses 2026-08-21 06:55:51 +00:00
Nati
2ec857f0f0 feat: add descriptions to document slots and application sections 2026-08-20 13:04:20 +00:00
Nati
6901e985fc feat: update exam stage actions and payment flow
- Refactor ExamStageActions component to handle eligibility payment and retake exam actions.
- Update MyApplicationsPage to use new retakeExam mutation instead of requestExamPayment.
- Modify licensing API to include retakeExam mutation for handling exam fee requests for failed candidates.
- Adjust mock data to reflect new application statuses and ensure consistency in eligibility and exam payment states.
- Update licensing helpers to include new status labels and colors for eligibility payment states.
- Revise licensing types to replace ELIGIBILITY_APPROVED with ELIGIBILITY_PAYMENT_PENDING and ELIGIBILITY_PAID for clarity in application status flow.
2026-08-20 12:41:46 +00:00
Nati
558cfe20a1 feat: Refactor medical and sea service verification pages
- Split MedicalVerificationPage into MedicalVerificationPage and SeaServiceVerificationPage for better separation of concerns.
- Update navigation to include separate entries for Sea Service Verification and Medical Verification.
- Enhance sea service columns to display additional vessel information and days served.
- Add translations for new and updated labels in both English and Amharic.
- Introduce seaServiceDays helper function to calculate days served based on engagement and discharge dates.
- Remove deprecated MedicalCertificatePage from the portal.
- Update routing to direct to the new sea service and medical pages.
2026-08-20 11:01:04 +00:00
Nati
db5b7bdf70 feat: Implement sea service and medical records management with evidence upload functionality 2026-08-20 10:48:24 +00:00
Nati
f429e717a7 feat: Update permissions and labels for seafarer document review and navigation 2026-08-20 09:06:11 +00:00
Nati
8eb4c38216 feat: Refactor seafarer document application flow
- Remove SeamanBookApplicationPage from router and redirect to Seaman Book page.
- Add new API endpoints for managing seafarer documents, including listing, reviewing, and issuing documents.
- Introduce new SeafarerDocumentQueuePage and SeafarerDocumentReviewPage components for document management.
- Update licensing types to accommodate optional applicationId and documentId in ApplicationPayment.
- Remove unused claimSeafarerRegistration mutation and related constants.
- Update seafarer registration status labels and types to remove 'UNDER_REVIEW'.
- Create new constants and types for seafarer documents, including status labels and colors.
- Implement document payment initiation and confirmation functionalities.
- Enhance UI components for better user experience in document management.
2026-08-20 08:39:17 +00:00
Nati
5a802b5dfc Merge branch 'WorkflowChange' of github.com:Tria-plc/emaui into WorkflowChange 2026-08-20 07:17:12 +00:00
Nati
818964a694 feat: add seafarer registration feature with multi-step form
- Implemented SeafarerRegistrationPage component with five-step registration process.
- Added API endpoints for seafarer registration including start, save, and submit functionalities.
- Created necessary types and constants for seafarer registration.
- Updated router to include new registration paths and permissions.
- Integrated profile defaults to pre-fill registration fields where applicable.
- Added validation and error handling for registration steps.
- Enhanced document upload functionality specific to seafarer registration.
2026-08-20 07:14:57 +00:00
nati14575
524131fe42 Merge branch 'WorkflowChange' of https://github.com/Tria-plc/emaui into estif-branch-1 2026-08-19 16:49:12 +03:00
Nati
e1d52adb0c change 2026-08-19 11:14:30 +00:00
estifanos
ec28f6456d feat: implement ActiveSessions component and JWT session tracking to manage user device access 2026-08-19 11:00:20 +00:00
estifanos
ff89b9af5e feat: implement two-factor authentication flow during sign-in and add utility hooks for configuration management 2026-08-19 10:42:30 +00:00
Nati
2b07cacce1 btc wizard 2026-08-19 10:10:22 +00:00
nati14575
548846a1bd feat: update routing and navigation for Basic Training Certificate and Seaman Book applications 2026-08-19 12:58:24 +03:00
estifanos
b860e57227 feat: integrate PdfPreviewModal across apps 2026-08-19 08:59:08 +00:00
Nati
f97eb68e25 Major 2026-08-19 08:35:28 +00:00
estifanos
58f9dd7668 UI Fixes 2026-08-19 08:32:44 +00:00
Estifo77
1624cc16be fixes 2026-08-19 10:31:53 +03:00
Estifo77
9185df64b9 fixes 2026-08-19 10:31:13 +03:00
Estifo77
0832e5d339 fixes 2026-08-19 10:23:57 +03:00
Estifo77
c377ddf74a Merge branch 'WorkflowChange' of https://github.com/Tria-plc/emaui into estif-branch-1 2026-08-19 10:23:33 +03:00
nati14575
130082dcc4 Refactor LicenseApplicationPage and RequireSeafarerProfile components
- Updated imports for better readability in LicenseApplicationPage.
- Introduced legacy profile sources for backward compatibility in LicenseApplicationPage.
- Enhanced user profile handling by utilizing accountUser in LicenseApplicationPage.
- Improved application state management in LicenseApplicationPage to include accountUser.
- Refactored RequireSeafarerProfile to check for existing applications and handle navigation accordingly.
- Cleaned up navigation items in PortalLayout for better readability and maintainability.
2026-08-19 09:42:23 +03:00
Nati
d70b2e76cd refactor: remove unused application query and simplify application creation logic 2026-08-19 05:55:53 +00:00
Nati
629b02fd26 feat: implement person name utility functions and update related components for name handling 2026-08-19 05:52:26 +00:00
Nati
d44977cbf3 Remove obsolete test artifacts and error context files for seafarer registration tests 2026-08-19 05:14:43 +00:00
Nati
99eb55c366 feat: enhance location handling and localization; improve fallback mechanisms and unify type definitions 2026-08-18 14:44:24 +00:00
fitse-yotor
03e2b2b8a4 feat: update seafarer registration flow and localization; remove profile gating and enhance user experience 2026-08-18 16:44:39 +03:00
Estifo77
4374502ebd Merge branch 'WorkflowChange' of https://github.com/Tria-plc/emaui into estif-branch-1 2026-08-18 14:54:05 +03:00
estifanos
10d2a8935a fixes 2026-08-18 11:49:08 +00:00
estifanos
98277924a3 UI improvements 2026-08-18 11:46:52 +00:00
estifanos
de78052429 feat: add in-flight registration application tracking and status dashboard to vessel registration page 2026-08-18 11:43:11 +00:00
estifanos
1509f8ca1f refactor: update vessel registration route and clarify navigation logic in OperationsOnboardingPage 2026-08-18 11:36:35 +00:00
estifanos
2257989821 feat: add account type synchronization to operations form based on selected license types 2026-08-18 11:23:30 +00:00
estifanos
581eac7466 UI changes 2026-08-18 10:57:37 +00:00
Estifo77
007c0e3d71 feat: configure vite settings for portal and backoffice apps with shared environment directory 2026-08-18 13:47:45 +03:00
Fistum
1931e69594 Add error context and media files for seafarer registration tests
- Created error context markdown files for failed tests in seafarer registration, detailing validation errors related to profile details.
- Added binary files (PNG, ZIP, WEBM) for test results, including snapshots and traces for debugging purposes.
- Updated test cases to include new error context and media files for better analysis of failures.
2026-08-18 09:20:36 +00:00
estifanos
3d508acc41 feat: implement 18+ age validation, enforce document review completion for approvals, and refactor DecisionBar UI 2026-08-18 07:43:48 +00:00
Estifo77
c6ecb2dd48 fix 2026-08-18 10:22:12 +03:00
Estifo77
6a717eb761 Merge branch 'WorkflowChange' of https://github.com/Tria-plc/emaui into estif-branch-1 2026-08-18 09:56:16 +03:00
Nati
c7bd69eecb fix(seafarer): route registration through the application wizard
/seafarer-registration had a page of its own that wrote the profile directly
and created no application at all. A "submitted" registration was therefore
never reviewed, never approved and never numbered — there was nothing for an
officer to open. The shared wizard, the review queue and the approval side
effects all already existed; only the route pointed away from them.

The page is deleted rather than repaired. It was a second wizard maintained
alongside the config-driven one, and the seed already describes every step it
was hand-rolling — including the physical characteristics and medical details
added this release, which it would not have known about. /seafarer-registration
now redirects, so navigation, deep links and the profile gate keep working.

Also adds Configuration -> Number Formats, for the shape of generated seafarer,
seaman book and BTC numbers. The sample is rendered by the server rather than
formatted here, so the preview cannot drift from what an approval will actually
generate, and asking for one never consumes a number.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-17 14:48:26 +00:00
Nati
13c4e09f88 Fix 2026-08-17 12:03:19 +00:00
Nati
50679614fb Application Commit 2026-08-17 11:33:14 +00:00
estifanos
366f75a84d fixes 2026-08-17 10:34:00 +00:00
estifanos
ecd875adf4 fixes 2026-08-17 10:30:03 +00:00
estifanos
903b178527 UI 2026-08-17 10:25:40 +00:00
estifanos
0ad617510e fixes 2026-08-17 10:22:32 +00:00
estifanos
023af2dca4 fixes 2026-08-17 10:19:29 +00:00
Estifo77
84e3500352 Merge branch 'certficate' of https://github.com/Tria-plc/emaui into estif-branch-1 2026-08-17 13:16:22 +03:00
Nati
7f45df04e0 feat(seafarer-registration): remove standalone registration page and redirect to licensing flow; update profile handling and eligibility checks 2026-08-17 09:15:39 +00:00