Re-introduce the ability to set a framework as default from the dropdown
What does this MR do and why?
This MR re-introduces the ability to set a framework as a default from the framework dropdown on the list frameworks page
This functionality should only be possible at the top level group compliance center (not subgroup or project levels). If the framework is already default, then the dropdown option should be to Remove framework as default
. Otherwise the dropdown should say Set framework as default
There are two other UI changes that this introduces:
- Left align the
Manage Framework
header in the dropdown - Close the dropdown after clicking on an item. This was changed because:
- Some of the items in this dropdown work this way and the inconsistency seemed odd.
- Other dropdowns work this way
References
I noticed this was referenced here and was informed that this functionality used to exist.
MR acceptance checklist
Before | After |
---|---|
![]() |
![]() |
![]() |
How to set up and validate locally
To test setting a default frameworks
- Make sure you have admin rights and group with an Ultimate subscription
- Head over to the Compliance Center
- Add at least two frameworks
- Select a framework dropdown and click on "Set as default"
To test closing the dropdown
- Make sure you have admin rights and group with an Ultimate subscription
- Head over to the Compliance Center
- Add at least one frameworks
- Select a framework dropdown and click on the "Copy Id" option
Edited by Dakota Dux