Geo Replicables - Add Resync and Reverify button to individual Replicables in UI
What / Why?
This is related to the Geo Replicables Functionality True Up: &8212 (closed)
This is blocked by the backend change of adding new mutations to the GraphQL endpoint: #364725 (closed)
Currently for Self Service Replicables we are unable to fire any Resync or Reverify actions against a single replicable record. Our legacy replicables support this behavior and thus we should in theory be able to provide this functionality to our SSF ones as well. Once these mutations are added to the GraphQL API we can then add the buttons on each Replicable item to request said mutation.
Screenshot of affected UI
Expected Individual Actions (Legacy) | Current Individual Actions (SSF) |
---|---|
Proposal
Following that the mutations are created in the GraphQL endpoint
- Add mutations to: https://gitlab.com/gitlab-org/gitlab/-/tree/master/ee/app/assets/javascripts/geo_replicable/graphql
- Add actions to Vuex Actions: https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/app/assets/javascripts/geo_replicable/store/actions.js
- Possibly leveraging existing logic used for the RESTful actions on legacy repliable Designs. Being sure to preserve existing functionality.
- Add buttons to Vue component: https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/app/assets/javascripts/geo_replicable/components/geo_replicable_item.vue
- Again being sure to preserve any existing functionality for legacy replicable Designs that uses the RESTful endpont.
Edited by Zack Cuddy