Geo: improve project view UI to guide users how to clone/push from Geo secondary node
We have a lot of documentation about how to correctly setup and maintain Geo (#76 (closed)), but from the user perspective, their workflow for cloning / push to a new repository requires some adjustments to be made.
The user can choose from one of the two possible workflows:
- Clone from
secondary
, add an additionalremote
source to local git copy linking it to theprimary
so they can push code - Clone from
secondary
, change thepush url
to match the url from theprimary
(like:git remote set-url --push origin git@geo.example.com:user/repo.git
)
Discussion here: https://gitlab.slack.com/archives/geo-customers/p1467114524000004
Proposal
My proposal is to add an additional button close to the "copy" button that will open a modal dialog with the instructions on how clone and define the push url
for the recently cloned repository.