1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-12-09 20:04:11 +01:00

feat: add tooltip for remove safeguard and automation (#11107)

This commit is contained in:
Mateusz Kwasniewski 2025-12-09 16:32:08 +01:00 committed by GitHub
parent c0fc2032ae
commit abc1eadf66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 2 deletions

View File

@ -252,9 +252,14 @@ export const MilestoneTransitionDisplay = ({
{badge}
<PermissionIconButton
permission={UPDATE_FEATURE_STRATEGY}
projectId={projectId}
environmentId={environment}
onClick={onDelete}
size='small'
aria-label={`Delete automation for ${milestoneName}`}
aria-label={`Remove automation for ${milestoneName}`}
tooltipProps={{
title: `Remove automation for ${milestoneName}`,
}}
sx={{ padding: 0.5 }}
>
<DeleteOutlineIcon fontSize='small' />

View File

@ -424,7 +424,10 @@ const SafeguardFormBase: FC<SafeguardFormBaseProps> = ({
environmentId={environment}
onClick={handleDelete}
size='small'
aria-label='Delete safeguard'
aria-label='Remove safeguard'
tooltipProps={{
title: 'Remove safeguard',
}}
sx={{ padding: 0.5 }}
>
<DeleteOutlineIcon fontSize='small' />