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
    image
  • Archived groups should be listed in the Inactive tab
  • Archived groups should be marked with an Archived label
  • Unfolding an archived group should reveal the subgroups and projects, which should also be marked with an Archived label

Implementation guide

  • Look for active argument in app/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.js add variables: { active: false }
Edited by Peter Hegman