Move subgroups and projects pending deletion from 'Subgroups and projects' to 'Inactive' in group overview
Problem
Groups pending deletion are currently displayed in the Subgroups and projects tab of the group overview page. Once #436392 (closed) is implemented, we should move groups pending deletion to the Inactive tab instead, so that users can have a focused view on active subgroups and projects only.
Note: Projects pending deletion are already listed in the current Archived tab (soon to be Inactive tab).
Proposal
-
Move groups pending deletion to the Inactivetab, so that users can have a focused view on active subgroups and projects only inSubgroups and projects.-
If the group pending deletion is nested at a lower level than the the first level underneath the current group, move only the group pending deletion (and all its subgroups and projects) to the Inactivetab. This means that if the group structure isTop-level group>Group>Subgroup>Project, andSubgroupis moved to pending deletion, onlySubgroupshould move to theInactivetab, butGroupremains inSubgroups and projects. -
Ensure that all subgroups and projects of the group pending deletion are also marked as Pending deletionin the Inactive tab when unfolding the nested structure. See also #457718 (closed).
-
-
Ensure that Archivedprojects and groups and projectsPending deletionare presented in theInactivetab only. -
All roles should be able to see groups and projects pending deletion in the Inactivetab. Only group Owners and project Owners and Maintainers should be able to action further on them and delete them completely. -
Add a new section to the docs that explains how to "View groups pending deletion", similar to View projects pending deletion.
Follow the styling proposal discussed here.
Implementation guide
- Change app/assets/javascripts/groups/service/inactive_projects_service.js#L18 to use endpoint added in #467265 (closed)
- Update specs in spec/frontend/groups/service/inactive_projects_service_spec.js
Edited by 🤖 GitLab Bot 🤖


