mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-18 11:14:57 +02:00
feat: archived tooltip alignment (#8820)
From  To  --------- Co-authored-by: Thomas Heartman <thomas@getunleash.io>
This commit is contained in:
parent
c927c6f32b
commit
b72ce90102
@ -243,6 +243,14 @@ const PreLiveStageDescription: FC<{ children?: React.ReactNode }> = ({
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const ArchivedStageDescription = () => {
|
||||||
|
return (
|
||||||
|
<InfoText>
|
||||||
|
Your feature has been archived, it is now safe to delete it.
|
||||||
|
</InfoText>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
const BoldTitle = styled(Typography)(({ theme }) => ({
|
const BoldTitle = styled(Typography)(({ theme }) => ({
|
||||||
marginTop: theme.spacing(1),
|
marginTop: theme.spacing(1),
|
||||||
marginBottom: theme.spacing(1),
|
marginBottom: theme.spacing(1),
|
||||||
@ -513,6 +521,7 @@ export const FeatureLifecycleTooltip: FC<{
|
|||||||
<Environments environments={stage.environments} />
|
<Environments environments={stage.environments} />
|
||||||
</CompletedStageDescription>
|
</CompletedStageDescription>
|
||||||
)}
|
)}
|
||||||
|
{stage.name === 'archived' && <ArchivedStageDescription />}
|
||||||
</ColorFill>
|
</ColorFill>
|
||||||
</Box>
|
</Box>
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user