Skip to content

Filtering compliance Framework report

Extend the initial basic report with functionality to allow filtering the list of projects displayed by the framework that is applied.

Designs

Designs -> #385303 (closed)

image

Implementation plan

  • create new filter sub-component and render it in the framework_report above the results table
  • use the existing filter UI component: https://design.gitlab.com/components/filter/
    • add a framework filter token, implementation similar to user_token.vue
    • filter token fetches compliance frameworks for the current group when searching
      • e.g. via GraphQL group query { complianceFrameworks { node { name, color, description } }
    • TODO confirm operator - inclusive and not also exclusive, startswith etc: #388188 (comment 1243421991))
  • persist filter in the URL as they change
  • reset pagination back to 1 when other filters change
  • pass new filter values through to graphql query
  • tests
  • documentation
Edited by Elwyn Benson