Spike - investigate migrating Productivity Analytics from Vuex to Apollo + Graphql

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Background

Vuex has been deemed legacy and we no longer recommended as our preferred option for frontend store management

We should investigate the work required to migrate from our REST + Vuex apis, to Graphql + Apollo. This issue specifically covers the Productivity Analytics feature.

Links

Concerns

  • Group level
  • Can we migrate to the shared filter bar?

Goals / possible questions to answer

  • Can we migrate to the shared filter bar?
  • API - REST to Graphql
    • Do we have the graphql queries/mutations for all the requests needed
    • What are the gaps? Can we partially migrate to graphql
  • Data store - Vuex to Apollo
    • Is it a single flat store, or a collection of vuex modules? Can modules be separated?
    • Is there an existing vuex store, or a custom solution
    • Are there shared modules used e.g. filters
  • Tests
    • Do we have feature tests, do they appear to be sufficient?
    • Do we have unit tests?
  • Other ??
Edited by 🤖 GitLab Bot 🤖