Skip to content

Move clone button out of blob header

Denys Mishunov requested to merge 220799-clone0-button into master

What does this MR do?

On the snippet view, this MR moves the "Clone" button out of the blob's header and into the global scope of the snippet itself. We need this in order to support multi-file scenario for snippets when we are going to have multiple blobs in the same snippet and hence, it doesn't make sense to have the "Clone" button any visual relationship to any of the blobs.

Screenshots

Before After
Screenshot_2020-07-23_at_15.47.38 Screenshot_2020-07-23_at_15.52.45

Also, the case when a snippet is not embeddable, yet the Clone button is rendered:

Screenshot_2020-07-23_at_22.53.47

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

References #220799 (closed)

Edited by Denys Mishunov

Merge request reports