Update approve action layout for Approve policy
What does this MR do and why?
The changes are in the JavaScript code for the Security Orchestration feature. They involve updates to components that allow users to select different options, such as approvers, groups, roles, and users, within the policy editor. These updates include improvements to the user interface, such as displaying the correct toggle class and adjusting the toggle text based on user selections. Additionally, there are enhancements to the logic for handling user selections and ensuring accurate representation of the selected items. These changes aim to provide a better user experience and ensure the correct functionality of the policy editor.
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 |
---|---|
BEFORE | |
All selected | |
Some selected | |
Mobile screen |
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
- New policy -> New approve policy
- Play around with approve action
Related to #467209 (closed)