Skip to content

Added shared Clone Dropdown button component

Denys Mishunov requested to merge 204730-clone-button into master

What does this MR do?

  1. Adds shared Clone Dropdown Button component
  2. Adds new getBaseProtocol URL utility that returns the protocol of the current URL

The style of the elements within the dropdown is driven by gitlab-ui components.

Screenshots

Screenshot_2020-04-03_at_13.32.04

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

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

References #204730 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports