Add counts to tabs

What / Why

We will want to add a lightweight way to gather tab counts similar to !165105 (merged) for projects.

Implementation Plan

  1. Create a app/assets/javascripts/groups/your_work/graphql/queries/group_counts.query.graphql file similar to app/assets/javascripts/projects/your_work/graphql/queries/project_counts.query.graphql
  2. In app/assets/javascripts/groups/your_work/components/app.vue add a counts GraphQL query and save to Vue reactive data.
  3. Add counts to tabs similar to app/assets/javascripts/projects/your_work/components/app.vue#L225
  4. Add active argument to app/graphql/resolvers/groups_resolver.rb#L51. Set default to true and make it experimental. Set argument to false for the counts on Inactive tab.
Edited by Peter Hegman