Skip to content

Frontend: Migrate CI/CD Settings > Variables from VueX to GraphQL

Summary

The variables setting still uses REST endpoints. Since we're trying to implement all new features in GraphQL, this is a good opportunity to migrate the variables setting to use GraphQL.

Proposal

Per #361934 (comment 969735330):

  • Develop this behind a ff
  • Setup apollo in the vue app for variables
  • Make an new graphQL query to get the variables (for group and projects)
  • New mutation query to set the value of variables (for group and projects)

Implementation Table

Description MR
Adds a feature flag for variables graphQL app !89332 (merged)
Add Modal and dropdown component !94238 (merged)
Add Table and Settings components !94244 (merged)
Add Admin specific code !94267 (merged)
Add group specific code !94385 (merged)
Add project specific code !94388 (merged)
Fix type dropdown issue !96051 (merged)
Progressive loading for 100+ variables !97176 (merged)
Rpllout feature flag #364423 (closed)

Links/References

Edited by Frédéric Caplette