- Added support for rollback and hold actions in the enterprise module. - Updated tooltip labels for action buttons to improve user experience. - Refactored PageActions component to use tooltipLabel instead of shortcutLabel. - Introduced height prop for system pages (Coming Soon, Forbidden, Maintenance, Not Found) for better layout control. - Improved ModulePageHeader to accept custom button properties and enhanced title handling. - Cleaned up default privileges by removing unused actions (ALLOW_DUPLICATE, ALLOW_SAVE). - Implemented detail page provider with comprehensive action handling for CRUD operations. - Created a new full-page detail component for better data presentation.
35 lines
1.0 KiB
TypeScript
35 lines
1.0 KiB
TypeScript
interface ComingSoonProps {
|
|
showActions?: boolean;
|
|
height?: StyleProp<React.CSSProperties['height']>;
|
|
}
|
|
|
|
import { Title, Text, Button, Container, Stack, Center, StyleProp } from '@mantine/core';
|
|
|
|
export function ComingSoon({ showActions = false, height = '100vh' }: ComingSoonProps) {
|
|
return (
|
|
<Container size="sm" h={height} pos="relative">
|
|
<Center h="100%">
|
|
<Stack align="center" ta="center" gap="md">
|
|
<Text size="sm" fw={500} tt="uppercase" c="dimmed" lts="var(--mantine-spacing-xs)">
|
|
Coming Soon
|
|
</Text>
|
|
|
|
<Title order={1} fw={900} c="brand">
|
|
Feature in Progress
|
|
</Title>
|
|
|
|
<Text size="md" c="dimmed">
|
|
This feature is currently under development. Stay tuned! We'll have it ready for you very soon.
|
|
</Text>
|
|
|
|
{showActions && (
|
|
<Button component="a" href="/" color="brand" size="sm" mt="xl">
|
|
Back to Home
|
|
</Button>
|
|
)}
|
|
</Stack>
|
|
</Center>
|
|
</Container>
|
|
);
|
|
}
|