Skip to content

Draft: Added dropdown to each line in a blob

Phil Hughes requested to merge ph/blobLineOptionsDropdown into master

What does this MR do?

Adds a dropdown to each line in the blob view. This dropdown holds links that copy the full permalink (with the line number hash), open the git blame for the blob and also create a new issue with the line URL pre-filled in the description.

Screenshots

Screenshot_2020-10-01_at_15.26.44

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

Closes #23693, #15431

Edited by Phil Hughes

Merge request reports