[FE] Add active/Archive toggle on work item settings

  1. When viewing work item types in work item settings page , we should be showing the active/archived toggle when 1 or more archive types exist
  2. We should be reading the "archived" configuration exposed in the work item types query
query namespaceWorkItemTypes($fullPath: ID!, $name: IssueType) {
  workspace: namespace(fullPath: $fullPath) {
    id
    webUrl
    workItemTypes(name: $name) {
      nodes {
        ...WorkItemTypeFragment
        __typename
      }
      __typename
    }
    __typename
  }
}

fragment WorkItemTypeFragment on WorkItemType {
  id
  name
  iconName
  archived
}

image.png

image.png

Edited by 🤖 GitLab Bot 🤖