Filter package registry by version
Context
In https://gitlab.com/gitlab-org/ux-research/-/issues/1986 it was discovered that users often struggle to find the package they're looking for when looking at the package list page. (insight)
Package list page |
---|
Users are often looking for a specific package, but the sort/filter is lacking for them. Users mentioned wanting to filter by the version
Proposal
- Allow users to search/filter by the package version. NOTE: this may not be relevant anymore if we implement Simplify the packages list by consolidating ver... (&8924) first.
Implementation guide
- Update
app/assets/javascripts/packages_and_registries/package_registry/components/list/package_search.vue
to add newGlFilteredSearchToken
token to thetokens
array - Update
app/assets/javascripts/packages_and_registries/package_registry/graphql/queries/get_packages.query.graphql
to passpackageVersion
as argument - Update
extractFilterAndSorting
inapp/assets/javascripts/packages_and_registries/shared/utils.js
to returnversion
Edited by Rahul Chanila