Add GraphQL formatter for nested_groups_projects_list.vue
What does this MR do and why?
Needed for Setup Vue app, "Subgroups and projects" and "In... (#516305 - closed)
We have been working to migrate all group and project lists from HAML/Vanilla JS or older Vue components to some shared Vue components we have developed. Currently we are working on the group overview page which shows a nested structure of subgroups and projects. We have group and project formatters for GraphQL responses that format the the data for the components but we don't have one for the nested group and project structure yet. This MR refactors these formatters so they can also be used for the nested group and project structure.
References
Screenshots or screen recordings
No visual changes, below show that migrated pages still work without console errors
Your work -> Projects
Your work -> Groups
Admin groups
Admin projects
How to set up and validate locally
No visual changes, verify via specs
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.



