Use GraphQL for boards selector
What does this MR do?
FE part for #36756 (closed)
- Fetch
allBoardsendpoint with GraphQL.recentBoardsstill uses axios.
Fetch action happens in the component. This isn't ideal but we are trying to get rid of boards_store so this didn't seem like too terrible of an idea
Doing .query rather than using ApolloProvider for a few reasons:
- The
apolloconfig on this component was not ideal due to the project/group differences. See !25480 (diffs) for this - We are still manually handling
loadingprop due torecentBoardsendpoint - We don't want to make the graphQL request until dropdown is opened, and using
skipwas kinda messy
Screenshots
No visible change
Does this MR meet the acceptance criteria?
Conformity
Edited by 🤖 GitLab Bot 🤖
