feat: implement vessel ownership transfer feature with navigation updates and localization

This commit is contained in:
estifanos
2026-08-11 08:18:40 +00:00
parent ce802af366
commit 71c55e8da8
7 changed files with 14 additions and 47 deletions

View File

@@ -1,5 +1,6 @@
import {
IconAnchor,
IconArrowsExchange,
IconFileDescription,
IconId,
IconShip,
@@ -89,6 +90,13 @@ const PRESENTATION: Record<string, LicenseTypePresentation> = {
icon: IconAnchor,
detailSections: DEFAULT_SECTIONS,
},
VESSEL_OWNERSHIP_TRANSFER: {
key: 'VESSEL_OWNERSHIP_TRANSFER',
icon: IconArrowsExchange,
// Transfers an existing registration between owners: no company entity,
// no capital threshold, no staff roles.
detailSections: ['overview', 'documents'],
},
};
/** Falls back to a generic presentation so an unseeded type still renders. */

View File

@@ -1,21 +0,0 @@
import { Container } from '@mantine/core';
import { FeatureUnavailable } from '@ema-platform/ui';
/**
* Placeholder until this feature has a backend.
*
* This page previously rendered hardcoded sample records, which were
* indistinguishable from real ones.
*/
export function VesselOwnershipTransferQueuePage() {
return (
<Container size="lg" py="xl">
<FeatureUnavailable
title="Ownership transfer queue"
description="Vessel ownership transfer is not connected to the backend yet."
/>
</Container>
);
}
export default VesselOwnershipTransferQueuePage;

View File

@@ -1,21 +0,0 @@
import { Container } from '@mantine/core';
import { FeatureUnavailable } from '@ema-platform/ui';
/**
* Placeholder until this feature has a backend.
*
* This page previously rendered hardcoded sample records, which were
* indistinguishable from real ones.
*/
export function VesselOwnershipTransferReviewPage() {
return (
<Container size="lg" py="xl">
<FeatureUnavailable
title="Ownership transfer review"
description="Vessel ownership transfer is not connected to the backend yet."
/>
</Container>
);
}
export default VesselOwnershipTransferReviewPage;