Add archived groups to 'Inactive' tab in Your Work
Problem
In #472638 (closed) we added an Inactive tab to Your Work > Groups. This tab currently only displays groups pending deletion. The content of the Inactive tab should also display archived groups to be aligned with the pattern on the group overview page, where the Inactive tab displays both archived namespaces and those pending deletion.
Proposal
Add/Modify tabs to the following pages to account for active and inactive groups:
-
Your work groups
-
Archived groups should be listed in the Inactivetab -
Archived groups should be marked with an Archivedlabel -
Unfolding an archived group should reveal the subgroups and projects, which should also be marked with an Archivedlabel
Implementation guide
- Look for
activeargument inapp/assets/javascripts/groups/your_work/graphql/resolvers.js, pass to API. See #525114 (closed) for more info about API arguments. - In corresponding tab in
app/assets/javascripts/groups/your_work/constants.jsaddvariables: { active: false }
Edited by Peter Hegman
