Refactor Type Token to use isFilterableListView on work items list
What does this MR do and why?
Refactor Type Token to use isFilterableListView on work items list
work_item_type_token.vue is used only on the work items list
to show the list of types the user can filter the list by.
We are refactoring the component so it uses the isFilterableListView
GraphQL field to know what types to show the user.
At this moment in time, this means it shows:
- Project work items list: Incident, Issue, Key result, Objective, Task, Ticket
- Group work items list: Epic, Incident, Issue, Key result, Objective, Task, Ticket
This MR will be followed up with further MRs to adjust this type filter for CWITs (configurable work item types)
References
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
- Go to the group or project work items list
- Check that you can filter by the expected types in the search bar
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #591278
Edited by Coung Ngo