Skip to content

Change "Archived" tab title on group overview page to "Inactive"

Problem

As per discussion in #25368 (comment 1703162080) - the archived tab on the group overview page currently includes projects that are archived and those that are pending deletion.

Screenshot_2024-01-02_at_22.06.26

Proposal

To make the tab content more clear from the title, and to align with the proposal in Modernize sorting and filtering in Your Work > ... (#25368 - closed), we should update the tab title from Archived projects to Inactive. The empty state should display No inactive projects.

image

Implementation guide

  1. Change app/assets/javascripts/groups/components/overview_tabs.vue#L204 to Inactive
  2. Change https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/assets/javascripts/groups/components/empty_states/archived_projects_empty_state.vue#L9 to No inactive projects.
  3. It doesn't look like we have documentation about this tab. We should add some documentation about the Inactive tab to https://docs.gitlab.com/ee/user/project/working_with_projects.html. We can ping @lciutacu for technical writer review.
  4. Change config/routes/group.rb#L26 route to inactive.
  5. Add redirect to archived based on https://guides.rubyonrails.org/routing.html#redirection
  6. Change app/assets/javascripts/groups/init_overview_tabs.js#L17 to inactive
  7. Change app/assets/javascripts/groups/constants.js#L7 to inactive
  8. Find and replace ACTIVE_TAB_ARCHIVED -> ACTIVE_TAB_INACTIVE
Edited by Peter Hegman