Group Project - Deletion message followups
What does this MR do and why?
Closes #455350 (closed)
This MR addresses a few minor follow ups from the !148997 (merged)
Screenshots or screen recordings
Important: No visual changes are expected!
Before | After | |
---|---|---|
Permanent Deletion Date | ||
Deletion flash message | ||
Group pending deletion banner | ||
Subgroup pending deletion banner | ||
Project pending deletion banner |
How to set up and validate locally
- Create a group
- Create a sub group of group
- Create a project from sub group
- Navigate back to the top level Group you created
- Go to Settings -> General in the sidebar
- Expand the Advanced section and scroll to the bottom
- Find the delete group and click the button
- Modal should appear that explains it will be deleted in X days (default 7)
- Ensure the date calculation is correct
- Fill out modal and click delete
- Ensure info Flash alert appears on the page with correct text
- Ensure warning banner is now on page a bit lower than alert with correct text
- Navigate to the Sub group and project
- Ensure on both that there is a warning banner on the page with correct text
- Repeat this on
master
and ensure no UI differences
Related to #455350 (closed)