Add disabled icon for disabled security policies
What does this MR do and why?
This MR adds an icon for disabled policies
Previously no icon was rendered for disabled policies. Now user would see gray disabled icon
This code update enhances the user interface for managing security orchestration policies. It introduces tooltips to provide additional context about policy statuses, such as whether a policy is enabled or disabled. The tooltip content is now more descriptive, providing a clear explanation of the policy's status. Additionally, the visual representation of policy statuses has been improved, with enabled policies now displaying a green checkmark icon and disabled policies displaying a grayed-out icon. These changes aim to make it easier for users to understand and manage their security orchestration policies.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Description | UI |
---|---|
New icon |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Go to Group/project
- Secure -> Polices
- Create any 2 policies enabled and disabled
- If you have policies, just disable one of it
- Make sure enabled policies have green icon and enabled tooltip, disabled policies have gray icon
Related to #441434 (closed)