• Alfredo Sumaran's avatar
    Merge branch '789-geo-clone-ui' into 'master' · f8bfa469
    Alfredo Sumaran authored
    Geo: Improve project view UI to teach users how to clone from a secondary Geo node and push to a primary.
    
    This Merge request adds a new button into the "repository clone widget" to guide Geo (#76) users how to define a different remote URL for pushing code.
    We can infer the primary's node URL when using `HTTP` method, but not for `SSH` or `Kerberos` (as they can vary according to configuration defined into config files).
    
    For the `HTTP` method the instruction will be "complete", while for the others there will be a placeholder instead of the primary's node URL for that repository.  (See screenshots below)
    
    Checklist
    - [x] Display a button after the clipboard icon only in secondary Geo nodes
    - [x] Clicking in the Geo info button, shows up a dialog with instructions
    - [x] Instructions use the selected clone mode to display correct text (HTTP/SSH/KERBEROS)
    
    Closes #789
    
    ----
    
    ![http_clone](/uploads/4e0298faab6ea602aba158e61d7a3d2c/http_clone.png)
    
    ![ssh_clone](/uploads/2e9d421de842db0a938c181326522fd2/ssh_clone.png)
    
    See merge request !905
    f8bfa469
application.js 8.79 KB