Geo Status Page 2.0 - Vuex Store
Vision
Based on proposal described here: &4712 (closed)
Code to ultimately be replaced: https://gitlab.com/gitlab-org/gitlab/-/tree/master/ee/app/assets/javascripts/geo_nodes
This issue will be focused on creating the Vuex store that mimics the goals and functionality from the current geo/nodes/store/geo_nodes_store
, geo/nodes/service/geo_nodes_service.js
and geo/nodes/event_hub.js
.
What is needed
-
index.js
(This will initialize the store). -
actions.js
(This will contain all the actions and should provide similar functionality togeo/nodes/service/geo_nodes_service.js
andgeo/nodes/event_hub.js
). -
getters.js
(This will contain all the data modeling that is done viageo/nodes/store/geo_nodes_store
). -
mutations.js
(This will handle the state management provided ingeo/nodes/store/geo_nodes_store
). -
mutation_types.js
(This works in tandem withmutations.js
to manage all the mutation names). -
state.js
(This will store all the data values previously stored ingeo/nodes/store/geo_nodes_store
).
This issue is focused on creating the store. There won't be any usage in the UI until the following issue.
Edited by Zack Cuddy