Skip to content

Blob header default actions

Denys Mishunov requested to merge 196794-blob-header-default-actions into master

This is Part 1/4 of New re-usable component for Blob File Header Issue. In its turn, the parent Issue is part of a large scope of works of Refactoring Snippet View to Vue.

What does this MR do?

Introduces the default actions component for the Blob Header component written in Vue. The actions consist of 3 buttons:

  • Copy file contents,
  • Open raw
  • Download

that are shown at the rightmost of the Blob's header bar.

Screenshot_2020-02-04_at_11.33.13

What this MR DOESN'T do?

The MR doesn't render the component yet: the provided screenshot is only for the educational purpose to show what actions this is all about. The rendering will happen at the latest stage of New re-usable component for Blob File Header Issue implementation where all components will be rendered. At that moment the proper CHANGELOG entry and the before/after screenshots will be provided.

Screenshots

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 #196794 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports