Filter by whether artifacts are expired
Details
As part of the vision to be able to locate build artifacts quickly and manage them from an operational level, we should add more filters to the artifacts table.
Proposal
This issue is to add Expired as an optional filter, controllable by a toggle next to the filter/search bar.
Technical proposal
- add a
<gl-toggle />to control whether we're filtering by the expired status - modify the GraphQL query according to the value of the toggle in order to either fetch all artifacts or only expired artifacts, update the list of artifacts when the toggle is toggled
- this is not currently possible with our GraphQL setup, this will need additional work to add a filter/search for expired artifacts: currently expired-ness is just an attribute of the artifact, not something that we can filter by in the query
Edited by 🤖 GitLab Bot 🤖