Commit Graph

16 Commits

Author SHA1 Message Date
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
Nati
220ed2d018 Merge branch 'dev' of github.com:Tria-plc/emaui into Refactor
Resolved by unifying on the lib/data AdvancedTable (PR #10) as the canonical
table component: kept its API plus teammate i18n/feature work, kept the
folder-per-table structure (index.tsx + columns.tsx + actions.tsx) across all
27 tables, removed the parallel lib/table implementation, and fixed
pre-existing compile breaks in ExamDetailPage/QuestionAssigner/RecordResultModal.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 11:31:27 +00:00
Nati
2af9e60800 feat(vessel-registration): add vessel registration page with incident reporting and certificate download functionality
feat(waiver): implement waiver page with application tracking and letter download feature

feat(ui): introduce AdvancedTable component for enhanced table functionality across the application

chore: update package-lock.json to remove unnecessary dependencies
2026-08-13 09:11:50 +00:00
estifanos
9897a9bf78 feat: implement date display utility across various pages
- Added `useDateDisplayer` hook and `dateDisplayer` function to format dates consistently based on the user's language.
- Updated multiple components and pages in both backoffice and portal applications to utilize the new date display functionality, ensuring proper formatting for dates in lists, tables, and detail views.
- Introduced Ethiopian date formatting for Amharic language support.
- Refactored date handling in components such as ExamAppealsPage, ResultPage, SeafarerRegistryPage, and others to improve localization and user experience.
2026-08-12 10:22:39 +00:00
estifanos
71c55e8da8 feat: implement vessel ownership transfer feature with navigation updates and localization 2026-08-11 08:18:40 +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
estifanos
bbae230ad5 feat: implement ModalFooter component for consistent modal action layout 2026-08-05 08:50:38 +00: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
Muluhabt
5161e278ce Adding license generation functionality 2026-07-29 16:53:50 +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
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
2ce1381960 UI improvements 2026-07-24 09:31:25 +00:00
estifanos
ecb4649eb7 ui improvments 2026-07-24 09:25:38 +00:00
estifanos
9d202b0a12 vesselRegistration review page ui imporvement 2026-07-24 09:22:20 +00: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