Commit Graph

126 Commits

Author SHA1 Message Date
Estifo77
c00a19dd99 UI improvements 2026-08-14 15:10:41 +03:00
Estifo77
7733fe8efd UI improvements 2026-08-14 15:03:02 +03:00
Estifo77
9a7b93cfb6 loader UI improvements 2026-08-14 14:45:57 +03:00
estifanos
f31e75c3de feat: implement PageLoader component and register maritime loader as the default theme loader 2026-08-14 11:35:34 +00:00
estifanos
7c79f4d644 feat: implement useAuthToken hook for consistent auth token retrieval across components.comment from nati 2026-08-14 09:27:37 +00:00
estifanos
accfb8c95d fixes 2026-08-14 08:16:09 +00:00
estifanos
6795607b13 fix 2026-08-14 08:05:32 +00:00
estifanos
e0b3a4887a feat: add internationalization support for auth components and pages, including translations for Amharic and English 2026-08-14 07:54:30 +00:00
estifanos
d71483be4a feat: simplify hero section buttons and update call-to-action text 2026-08-14 07:46:39 +00:00
estifanos
cfbec948fb feat: enhance landing page with new hero section, badges, and improved styles 2026-08-14 07:43:14 +00:00
estifanos
de04ed64b3 feat: remove certificate verification page and related API, update landing page links 2026-08-14 07:34:35 +00:00
estifanos
d6b813b697 feat: add landing page copy and styles for English and Amharic versions
- Introduced `landing-copy.ts` containing text for the public landing page, supporting both English and Amharic languages.
- Added `landing.css` for styling the landing page, ensuring scoped styles to prevent conflicts with other app styles.
- Implemented smooth scrolling and animations for a better user experience.
2026-08-14 07:20:42 +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
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
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
0633ecc165 feat: implement applicant name fallback logic in licensing helpers and update MyApplicationsPage 2026-08-12 07:18:43 +00:00
estifanos
444c3111ab UI 2026-08-12 06:40:43 +00:00
estifanos
4a68bdf169 UI fixes 2026-08-11 12:24:03 +00:00
estifanos
b2f99200e7 feat: enhance AmharicDatePicker with Ethiopian time selection and formatting 2026-08-11 12:20:22 +00:00
estifanos
18de7b1c1d UI fixes 2026-08-11 11:39:46 +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
Estifo77
1cfa3dec69 UI 2026-08-11 13:10:44 +03:00
Estifo77
f956c41c06 UI 2026-08-11 11:58:23 +03:00
estifanos
19afcc3403 feat: add nationality support with demonym in CountrySelect and related components 2026-08-10 12:28:31 +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
Estifo77
1a0da134a5 Refactor MySeaRecordsPage to use AmharicDatePicker and update styles for better UX 2026-08-10 14:18:09 +03: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
Estifo77
e93b439d50 date picker fix 2026-08-10 12:21:40 +03:00
estifanos
8ce6a2fa94 Revert "fixes"
This reverts commit 31547ba608.
2026-08-10 09:10:11 +00:00
estifanos
e0dec698a0 Revert "fix"
This reverts commit 854a446411.
2026-08-10 09:10:11 +00:00
estifanos
854a446411 fix 2026-08-10 09:07:09 +00:00
estifanos
31547ba608 fixes 2026-08-10 09:05:09 +00:00
estifanos
e2063223f4 fix 2026-08-10 08:48:40 +00:00
estifanos
40a4809e6a fix 2026-08-10 08:33:34 +00:00
estifanos
d1e9bc47c6 fixes 2026-08-10 08:29:00 +00:00
estifanos
fbf948b3d3 Implement seafarer profile requirement gate to ensure complete profile before registration 2026-08-08 08:35:40 +00:00
Estifo77
1116e57a8d Refactor ProfilePage to remove unused API calls and optimize user data handling 2026-08-08 11:13:03 +03:00
estifanos
56de3727fa Refactor AddressFormContent and ProfilePage to integrate CountrySelect for nationality selection and update address payload handling 2026-08-08 07:40:33 +00:00
estifanos
85c9930363 Add address management features and improve validation
- Implement saveMyAddress mutation for updating user addresses.
- Enhance address validation schema with additional fields.
- Add error handling for location loading in LocationPicker.
- Update translations for loading errors in English and Amharic.
- Introduce phone number validation for Ethiopian formats.
- Refactor AddressFormContent to accommodate new address structure.
2026-08-08 07:32:33 +00:00
Estifo77
23675005fc Refactor imports and improve LoginPage validation logic 2026-08-08 09:26:47 +03:00
Estifo77
a92580c7be fixes 2026-08-08 09:05:06 +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