Skip to content

Commit

Permalink
feat: archived tooltip alignment (#8820)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaanus and thomasheartman authored Nov 21, 2024
1 parent c927c6f commit b72ce90
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => ({
marginTop: theme.spacing(1),
marginBottom: theme.spacing(1),
Expand Down Expand Up @@ -513,6 +521,7 @@ export const FeatureLifecycleTooltip: FC<{
<Environments environments={stage.environments} />
</CompletedStageDescription>
)}
{stage.name === 'archived' && <ArchivedStageDescription />}
</ColorFill>
</Box>
}
Expand Down

0 comments on commit b72ce90

Please sign in to comment.