Swap mock graphQL query for real one
requested to merge 421441-project-dashboard-swap-mock-graphql-query-for-real-graphql-query-2 into master
What does this MR do and why?
Related to #421441 (closed)
The grouptenant scale team is starting to build out an Organization MVC. For more information about what an "Organization" will be see https://docs.gitlab.com/ee/architecture/blueprints/organization/
In !125955 (merged) we built the organizations projects list but used a mock GraphQL query because the real one wasn't available yet. Now that Add missing attributes to GraphQL project type (#421442 - closed) has been closed we have access to the real query. This MR swaps the mock query for the real one.
Notes for reviewer
- I originally was implementing pagination in this MR but the code footprint got too big so I decided to split it up. Pagination will be implemented in !141293 (merged)
- The API does not yet support the access level that the current user has so the role badge will not yet be shown. That will be shown after implementing #437682 (closed)
- The API does not yet support
isForked
. I have !141536 (merged) open to add this. - The API does not yet support search. That will be implemented in #437681 (closed)
- The API does not yet support sorting. That will be implemented in #409312 (closed)
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
Screen_Recording_2024-01-09_at_2.08.27_PM
How to set up and validate locally
- Open Rails console
bin/rails console
- Enable the feature flag
Feature.enable(:ui_for_organizations)
- Navigate to
/-/organizations/default
- Navigate to
/-/organizations/default/groups_and_projects
Edited by Peter Hegman