Add min_access_level and programming_language_name arguments
What does this MR do and why?
Needed for &13066 where we are moving Your work
-> Projects
to Vue and fetching the data with GraphQL. We need to provide a Language
and Role
filter in the UI so we are adding a programming_language_name
and min_access_level
argument to the starred projects GraphQL query.
We added the same filters to other project GraphQL queries in !166098 (merged), !167017 (merged) and !166376 (merged)
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.
How to set up and validate locally
- Find a project you are an owner of, star it in the upper right corner of the project overview
- Find a project you are less than an owner of, star it in the upper right corner of the project overview
- Go to http://gdk.test:3000/-/graphql-explorer
- Run the following query:
query getProjects {
currentUser {
starredProjects(minAccessLevel: OWNER, programmingLanguageName: "makefile") {
nodes {
nameWithNamespace
languages {
name
}
maxAccessLevel {
humanAccess
}
}
}
}
}
Edited by Peter Hegman