Commit Graph

50 Commits

Author SHA1 Message Date
fitse-yotor
f294f67ced fix(portal,backoffice): six reported issues in registration and the designer
Seafarer and vessel registration were filtered out of the operations
step by `requiresOperatorMode !== false`, so someone registering as a
seafarer or vessel owner landed on an onboarding screen that did not
describe them. Both now appear, grouped apart from the company modes:
declaring "I am a seafarer" is a different kind of statement from "my
company forwards freight".

The designer's preview was gated on the Handlebars source alone, which a
canvas layout does not have until the server compiles it on save -- so
the button was dead for exactly the designs the canvas exists for.

Editing looked broken rather than deliberately read-only: every seeded
template is PUBLISHED, and a published design is immutable because
certificates were issued from it. Says so, and offers the new-version
action that is the way forward.

Reviewing officers saw company, capital and staff tabs on seafarer
certificate applications, because PRESENTATION is keyed by the generic
licence keys and the fifty-odd rank-specific CoC/CoP keys fell through
to the company default. Matched by prefix instead, so a certificate
configured tomorrow gets the right presentation without a code change.

Seaman book and BTC are wired to the newly seeded licence types and no
longer marked "soon".

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-16 22:21:00 +03:00
fitse-yotor
0ac75669d4 feat: add ExamStageActions component for exam fee handling
- Implemented ExamStageActions component to manage actions related to exam booking and payment based on application status.
- Added mock-base-query for development, providing a partial mock backend for various API endpoints.
- Introduced mock-data for simulating responses in the mock-base-query, covering profiles, vessels, applications, licenses, exams, and notifications.
2026-08-15 11:51:14 +03:00
Nati
6852fc86c6 feat: implement permission-based access control across various pages and components
- Added RequirePermission component to manage access based on user permissions.
- Integrated permission checks in MySeaRecordsPage, SeafarerRegistrationPage, VesselRegistrationPage, WaiverPage, and PortalLayout.
- Updated router to enforce permissions for specific routes.
- Introduced PORTAL_PERMISSIONS and LICENSE_PERMISSIONS constants for consistent permission management.
- Enhanced usePermissions hook to fetch permissions from the server and determine access rights.
- Refactored UI components to conditionally render based on user permissions, improving security and user experience.
2026-08-13 12:58:11 +00:00
Estifo77
faf58850f0 UI fixes 2026-08-12 14:17:29 +03:00
Estifo77
33935419fb cookie clearting fix 2026-08-12 12:34:09 +03:00
estifanos
01899c0593 feat: implement endorsement types and update navigation for endorsement processing 2026-08-11 10:50:37 +00:00
estifanos
71c55e8da8 feat: implement vessel ownership transfer feature with navigation updates and localization 2026-08-11 08:18:40 +00:00
estifanos
ce802af366 feat: add vessel registration application queue to navigation and localization 2026-08-11 08:13:35 +00:00
estifanos
3d5b9db442 feat(i18n): update CoC and CoP queue labels in English and Amharic translations 2026-08-10 11:50:44 +00:00
Estifo77
4fc73b0567 feat(i18n): update medical verification label to include sea service verification
fix(layouts): import baseApi in BackofficeLayout and PortalLayout for API state management

refactor(auth): remove clearCurrentProfile call on logout and improve cookie removal logic

chore(auth-storage): enhance cookie management with secure and sameSite attributes, and streamline cleanup process
2026-08-10 14:42:21 +03:00
estifanos
6b7c40cd3f Add SEAFARER_REGISTRATION type and update translations and navigation 2026-08-10 10:59:14 +00:00
estifanos
b98c2b274d Revert "Add translations for CoP queue and update existing CoC queue labels"
This reverts commit 52d2747f7a.
2026-08-08 07:04:03 +00:00
estifanos
52d2747f7a Add translations for CoP queue and update existing CoC queue labels 2026-08-08 06:54:05 +00:00
Estifo77
203d2e5026 Merge branch 'dev' of https://github.com/Tria-plc/emaui into estif-branch-1 2026-08-08 09:03:50 +03:00
Mulu Mehari
7c968c7093 Adding more functionalities for all the license types 2026-08-07 11:50:07 +03:00
Estifo77
5889ee2105 Merge branch 'dev' of https://github.com/Tria-plc/emaui into estif-branch-1 2026-08-03 09:26:04 +03:00
Mulu Mehari
c62ec59655 Initial End to End functionality 2026-08-02 22:44:08 +03:00
Muluhabt
5161e278ce Adding license generation functionality 2026-07-29 16:53:50 +03:00
Estifo77
a9638afa27 lay out fix 2026-07-29 11:45:47 +03:00
Estifo77
6ca48cbb9a merge fixes 2026-07-29 10:54:43 +03:00
Estifo77
85e84c24b8 Merge branch 'dev' of https://github.com/Tria-plc/emaui into estif-branch-1 2026-07-29 09:40:33 +03:00
fitse-yotor
e39f80941e feat: add Shipping Agent License Renewal and Waiver Application pages
- Implement ShippingAgentLicenseRenewalPage for submitting renewal documents with file uploads.
- Create WaiverApplicationPage for multi-step waiver application process, including document uploads and review.
- Add WaiverPage to display application status and details, including waiver letter download functionality.
- Introduce document handling components and validation for required fields in both applications.
2026-07-28 14:46:06 +03:00
fitse-yotor
c4af36005c feat: add vessel registration feature with dashboard and ownership transfer
- Implemented VesselRegistrationPage for managing vessel registrations.
- Added localization for vessel registration and ownership transfer in Amharic and English.
- Updated PortalLayout to include navigation for vessel registration and ownership transfer.
- Created VesselOwnerLayout to restrict access to vessel owner-specific routes.
- Integrated routing for vessel registration, application, and ownership transfer pages.
2026-07-28 12:58:03 +03:00
estifanos
e482a4aca6 feat(vessel-registration): implement vessel registration feature with multi-step application process
- Added VesselRegistrationApplicationPage for submitting new vessel registrations.
- Created VesselRegistrationPage to list user's registrations and navigate to details.
- Implemented VesselRegistrationStatusPage to display registration status and download certificates.
- Integrated mock data for registrations and certificates.
- Updated navigation and routing to include vessel registration paths.
- Added translations for vessel registration in English and Amharic.
- Documented the vessel registration workflow and API integration notes.
2026-07-24 07:44:45 +00:00
estifanos
60ef3fc8b8 feat: implement vessel ownership transfer feature in portal and backoffice
- Added VesselTransferReviewPage for reviewing and managing vessel transfer requests in backoffice.
- Created VesselTransferApplicationPage for submitting new ownership transfer requests in portal.
- Introduced mock data for vessels and transfer requests in both portal and backoffice.
- Updated navigation and layout to include vessel transfer sections in both applications.
- Added internationalization support for vessel transfer labels in English and Amharic.
- Documented the implementation details and suggested API surface for future integration.
2026-07-23 12:56:16 +00:00
Estifo77
2c2464d12a test 2026-07-22 12:32:38 +03:00
mengstabketemaw
7f76c862fb feat: implement i18n localization for exam components and detail page commit 2026-06-30 16:46:19 +03:00
mengstabketemaw
9fd59f52ed feat: add i18n support and localized labels to certification and profession features commit 2026-06-30 15:57:25 +03:00
mengstabketemaw
c46747c98e feat: refactor department to organization and move certifications to configuration tab commit 2026-06-29 15:57:42 +03:00
mengstabketemaw
d7420d2de6 feat: added exam modules 2026-06-26 12:10:38 +03:00
mengstabketemaw
f876d57219 feat: change usermanagement from git submodule to componenet based 2026-06-23 11:10:35 +03:00
mengstabketemaw
5d8e749cf7 ui componenet based on the requirements 2026-06-20 09:44:41 +03:00
mengstabketemaw
1f27a36b90 feat: add configurable sidebar and top navigation layout modes commit 2026-06-19 16:17:01 +03:00
mengstabketemaw
ddd91b6125 added configuration page 2026-06-19 15:24:37 +03:00
mengstabketemaw
910bba622a change the headbar to top side 2026-06-19 11:06:20 +03:00
mengstabketemaw
1ba3f0fa8b fix display name 2026-06-18 12:19:12 +03:00
mengstabketemaw
ccb2b6118c added location registeration 2026-06-17 16:25:58 +03:00
mengstabketemaw
85e070db33 merge design protal and backoffice 2026-06-17 13:50:20 +03:00
mengstabketemaw
9ae0f63424 backoffice i18n config 2026-06-16 11:40:38 +03:00
mengstabketemaw
76a8d034ee added internationalization for backoffice 2026-06-15 16:56:39 +03:00
Mengisteab
7e6e9eb1a7 update usermanagement 2026-06-15 11:17:13 +00:00
mengstabketemaw
a229259df6 fix usermanagement issues 2026-06-15 13:57:01 +03:00
mengstabketemaw
e71f246c4c Merge branch 'feature/pencil-design' of github.com:Tria-plc/emaui into feature/pencil-design 2026-06-15 13:32:05 +03:00
Mengisteab
1b62161368 user dashboard 2026-06-15 10:29:28 +00:00
mengstabketemaw
bd6fd97111 remove usermanagment from the backoffice 2026-06-13 11:47:39 +03:00
mengstabketemaw
a74a1fb29c update the usermanagment ui design 2026-06-12 14:35:48 +03:00
mengstabketemaw
d730be3e85 use iam module login page for backoffice 2026-06-03 14:17:06 +03:00
mengstabketemaw
4faf851a8f usermanagment url 2026-06-03 10:16:31 +03:00
mengstabketemaw
798beb0e7a add iam module usermanagment ui 2026-06-02 16:06:51 +03:00
Muluhabt
2fbc557aac Project Init 2026-05-29 15:23:46 +03:00