Commit Graph

402 Commits

Author SHA1 Message Date
Nati
688b111b6a feat: define FAMILY_KIND_BY_KEY for SEAFARER_REGISTRATION in licensing helpers 2026-08-19 13:26:03 +00:00
Nati
acbb789960 feat: enhance license queue functionality for logistics and non-logistics applications 2026-08-19 13:20:21 +00: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
estifanos
6117f9c862 UI fixes 2026-08-19 10:42:08 +00:00
estifanos
0fa5566432 UI fixes 2026-08-19 10:22:00 +00:00
Nati
2b07cacce1 btc wizard 2026-08-19 10:10:22 +00:00
estifanos
4121e2a8b1 UI fixes 2026-08-19 10:09:15 +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
4e2f63d4df feat: implement cross-tab idle session timeout and add request collapsing to token refresh logic. 2026-08-19 09:29:02 +00:00
estifanos
439a4963ec fixes 2026-08-19 09:04:28 +00:00
estifanos
b860e57227 feat: integrate PdfPreviewModal across apps 2026-08-19 08:59:08 +00:00
estifanos
4d87d41e55 feat: add PdfPreviewModal component and integrate into DocumentsTab for centralized PDF viewing 2026-08-19 08:48:50 +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
mihretue
59bb8cefb9 fix(exam): stop print margins doubling up, fitting far fewer questions per page
body had its own 40px padding + max-width:800px for the on-screen preview
tab, which stacked with @page's own margin once actual printing kicked in
— the preview tab never shows @page at all, so it looked like one
continuous page while the real printed output wasted ~150px+ of page
height per side and was capped to 800px wide regardless of the physical
page width. In @media print specifically: padding:0, max-width:none —
@page's margin is the only inset that should apply once printing.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-18 12:59:08 +00:00
mihretue
20b7de2310 fix(exam): pin print footer to the bottom of every page
Footer was just the last thing in document flow, so on a short paper it
landed mid-page instead of at the bottom. position:fixed in @media print
(the standard trick for a repeating page footer) plus a matching @page
bottom margin so it never overlaps the last question's text.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-18 12:12:00 +00:00
mihretue
cb3f945a2a fix(exam): cap cutting point input at 100 for Percentage evaluation
Matches the new backend rule. Field caps at 100 and shows a hint the
moment Percentage is selected, instead of letting you type 150 and only
finding out later.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-18 12:02:45 +00:00
mihretue
df9db6a36e feat(question): add CHOICE options inline while creating, not after
Create a CHOICE question and the options fields were hidden behind a
'save first' message — had to save, then reopen via Edit, to actually add
options. Added an inline options editor (local state, same bilingual
fields/correct-checkbox as the existing edit-mode one) directly in the
create form. On submit: create the question, then immediately call
setOptions with the drafted options using the new question's id — one
action from the user's point of view, two API calls under the hood.
Edit mode is unchanged, still uses the existing QuestionOptionsEditor
against the real question id.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-18 12:00:15 +00: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
mihretue
ae3af7777e fix(exam,result,question): kebab-icon action menus, status change as a picker
Two follow-ups on the dropdown-actions pass:
- All four action menus (exams, results, questions, candidates panel) now
  trigger off a plain three-dot icon button instead of a text 'Actions'
  button with a chevron.
- Exam status change no longer lists all six statuses flat in the dropdown
  (bad UX, looked like six always-visible options). 'Status' is now one
  menu item that opens a small picker modal (current status + a Select +
  Update) rather than the full edit form.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-18 11:46:16 +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
mihretue
80db201676 fix(exam,result): collapse row actions into a dropdown menu everywhere
Same treatment as the questions table, applied consistently: exams list,
exam results list, and the exam-detail candidates panel all now show a
single Actions button opening a dropdown instead of a row of inline
buttons/icons. Also fixes the exams list's action column header, which was
rendering the literal untranslated key ('exam.columns.actions') — missing
a fallback string, same pattern already used elsewhere in this file.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-18 11:40:13 +00:00
estifanos
1509f8ca1f refactor: update vessel registration route and clarify navigation logic in OperationsOnboardingPage 2026-08-18 11:36:35 +00:00
mihretue
3ca5c342c3 fix(question): collapse row actions into a dropdown menu
Matches the exams table's action pattern — a single Actions button opening
a menu, instead of a row of inline buttons/icons that got crowded once a
question had submit/approve/reject/retire/edit/delete all applicable at
once.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-18 11:32:42 +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
estifanos
cb19928bde UI fixes 2026-08-18 10:41:44 +00:00
estifanos
5897e73442 feat: add status filtering and display to medical and sea service verification queues 2026-08-18 10:37:57 +00:00
estifanos
de0dcbfbe8 feat: add workflow profiles to restrict status filtering and sync queue counts by license type 2026-08-18 10:07:22 +00:00
estifanos
2d91092a6b refactor: remove VesselRegistrationHeadDashboardPage and associated navigation links 2026-08-18 09:54:13 +00:00
estifanos
7e19ce9cc9 Revert "mock data for test"
This reverts commit 02b9c73caf.
2026-08-18 09:38:54 +00:00
estifanos
02b9c73caf mock data for test 2026-08-18 09:35:47 +00: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
Estifo77
fbe9129fb7 Merge branch 'estif-branch-1' of https://github.com/Tria-plc/emaui into estif-branch-1 2026-08-18 11:59:52 +03:00
Estifo77
eb0b1b7d80 fixes 2026-08-18 11:59:46 +03:00