136 Commits

Author SHA1 Message Date
Nati
a148c00792 feat: add IAM_ADMIN_PERMISSIONS for user management access control 2026-08-13 14:01:57 +00: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
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
2fa55965e1 feat: enhance internationalization support across various components and pages 2026-08-12 12:30:22 +00:00
estifanos
31c52c02e0 feat: introduce useLocalized hook for bilingual value retrieval.(localization round 2)
- Added useLocalized hook to provide a stable function for retrieving bilingual values based on the current language.
- Updated various components across the portal and backoffice to utilize the new useLocalized hook for consistent bilingual label rendering.
- Refactored localized function in licensing.helpers to handle empty Amharic strings correctly.
- Enhanced localization handling in LicenseApplicationPage, ProfilePage, and other components to ensure proper language switching.
2026-08-12 11:31:20 +00:00
Estifo77
faf58850f0 UI fixes 2026-08-12 14:17:29 +03:00
estifanos
8f2dcb30f0 feat: add internationalization support for seafarer registry
- Integrated i18n for seafarer registry page, including translations for various UI elements and statuses.
- Updated SeafarerDetailDrawer and StatusModal components to utilize translation hooks.
- Enhanced user feedback messages for status updates and errors.
- Added new translations for Amharic and English locales, covering seafarer statuses, drawer labels, modal content, and table headers.
localization for backoffice
2026-08-12 10:55:14 +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
Estifo77
33935419fb cookie clearting fix 2026-08-12 12:34:09 +03:00
estifanos
7c9f78c680 feat: replace Paper with Modal in CertificationPage, ConfigurationPage, ExamPage, and QuestionPage for consistent UI 2026-08-12 07:55:43 +00:00
estifanos
362e6d88b4 feat: enhance PaymentConfigPage with refetch and loading state for license types 2026-08-12 07:37:19 +00:00
estifanos
bbb23f3bbf feat: replace Table with AdvancedTable for improved license type management in PaymentConfigPage 2026-08-12 07:35:43 +00:00
estifanos
0633ecc165 feat: implement applicant name fallback logic in licensing helpers and update MyApplicationsPage 2026-08-12 07:18:43 +00:00
estifanos
7c3a25245f UI fixes 2026-08-11 11:48:09 +00:00
estifanos
1b0a21c683 feat: add page size selection to AdvancedTable and update useServerTable hook 2026-08-11 11:37:52 +00:00
Estifo77
0573e01769 UI fixes 2026-08-11 14:32:26 +03:00
estifanos
0fd78c7757 fix: update Badge component in LicenseQueuePage for consistent styling
feat: add siblings and boundaries props to pagination in AdvancedTable
2026-08-11 11:23:38 +00:00
estifanos
01899c0593 feat: implement endorsement types and update navigation for endorsement processing 2026-08-11 10:50:37 +00:00
estifanos
6b946f0149 feat: update applicant name handling for license types without company name 2026-08-11 08:42:32 +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
1997434028 Add applicant name handling for SEAFARER_REGISTRATION and update translations 2026-08-10 11:09:29 +00:00
estifanos
6b7c40cd3f Add SEAFARER_REGISTRATION type and update translations and navigation 2026-08-10 10:59:14 +00:00
estifanos
2c1b0306a0 revert 2026-08-10 10:21:58 +00:00
estifanos
73de3f212b Licence applications filter 2026-08-10 10:10:34 +00:00
Estifo77
c822e99052 Add AttachmentsModal and refactor MedicalVerificationPage with AdvancedTable integration 2026-08-10 13:06:54 +03:00
estifanos
0f7c1dba4b fixes 2026-08-08 07:22:36 +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
estifanos
44786a2f6f fixes 2026-08-08 06:36:48 +00:00
estifanos
70b6562045 fixes 2026-08-08 06:32:03 +00:00
estifanos
c006644166 Add review status column and enhance action buttons in ResultPage 2026-08-08 06:29:28 +00:00
Estifo77
23675005fc Refactor imports and improve LoginPage validation logic 2026-08-08 09:26:47 +03: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
3610c69a69 fixes 2026-08-06 09:43:40 +03:00
estifanos
a02cee1a78 feat(LicenseQueuePage): update sorting logic to prioritize claimedAt for "mine" view 2026-08-05 12:44:22 +00:00
Estifo77
ed782237ca fixes 2026-08-05 14:17:00 +03:00
estifanos
c79e4cc5fa feat(AmharicDatePicker): add width prop to align input fields in filter bar 2026-08-05 10:21:56 +00:00
estifanos
7ba760d74b feat(AmharicDatePicker): implement Amharic date picker component with calendar type switching and time input 2026-08-05 10:14:03 +00:00
estifanos
7d706aa990 fix(DocumentsTab): improve layout and truncation for document names and badges 2026-08-05 08:59:28 +00:00
estifanos
0627aa24fc feat(styles): add themed scrollbars for improved dark mode experience 2026-08-05 08:53:27 +00:00
estifanos
bbae230ad5 feat: implement ModalFooter component for consistent modal action layout 2026-08-05 08:50:38 +00:00
estifanos
c8df8e1578 fix(LicenseQueuePage): remove unused ActionIcon and IconRefresh imports for cleaner code 2026-08-05 08:16:45 +00:00
estifanos
4fc4d5953d fix(LicenseQueuePage): reduce default page size to 10 and set default sorting for queue display 2026-08-05 07:54:28 +00:00
estifanos
d474de186c feat(LicenseReviewPage): refactor staff evidence display to use StaffEvidenceCell component for better maintainability 2026-08-05 07:41:03 +00:00
estifanos
60604d8027 feat(LicenseReviewPage): make document badges clickable links for direct access 2026-08-05 07:33:11 +00:00