Add `includeArchived: true | false` to `groupProjects` graphQL
What does this MR do and why?
This MR
This MR exposes the new include_archived
filter param in the groupProjects
graphql resolver which was added in !141989 (merged)
As the existing behavior was to include archived projects, the default for the new param is include_archived: true
to keep any other usages of this graphql resolver unaffected.
Context
For the group-level view of the Vulnerability Report, we exclude archived projects.
However, the project filter list includes archived projects as selections:
We want to exclude archived projects from that list.
- The list is populated by a graphql resolver (
security_dashboard/graphql/queries/group_projects.query.graphql
) - That resolver ultimately ends up calling the finder which was updated in !141989 (merged) to accept a new filter param (
include_archived
) (src
).
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Before | After (include_archived: false ) |
After (include_archived: true ) |
After (param excluded) |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
resolves: #438814 (closed)
related to: #426520 (closed)