WIP: Generalize Geo Replicable UI Components
Why WIP
Split up MR for readability and MVC
Current Proposed Split Up:
-
Mutations and Private Store Functions => !26697 (merged) -
Replication Type variable and API functions => !26702 (merged) -
Remaining Store Functions and State => !27237 (merged) -
Vue Components and File Names => !27541 (merged)
What does this MR do?
This sets the stage for #208470 (closed)
Currently, the UI components for Geo Replicable Items is isolated to Geo Designs Only. As we move forward, it will be easier if we have a generalized place in the UI to house different replicable data types, without spinning up additional UI components when possible.
This MR takes the Geo Designs Components and "generalizes" them.
- Geo Designs => Geo Replicable
- Geo Design => Geo Replicable Item
- All Actions are renamed to replace
design
withreplicable
- All variables are renamed to replace
design
withreplicable
- All files are renamed from
geo_designs_*
=>geo_replicable_*
- Updates API to expect a
replicable
parameter to do network requests - Remove un-used design specific documentation link
Screenshots
Component Tests | |
---|---|
before | |
after |
GIF
All Existing Functionality Still Working:
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers -
Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Security
If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:
-
Label as security and @ mention @gitlab-com/gl-security/appsec
-
The MR includes necessary changes to maintain consistency between UI, API, email, or other methods -
Security reports checked/validated by a reviewer from the AppSec team