Skip to content

Add keyboard shortcut to move to file permalink `y`

username-removed-892863 requested to merge 8082-permalink-to-file into master

What does this MR do?

When viewing a file, pressing y will change the URL to a permalink that includes the full commit sha

http://localhost:3000/gitlab-org/gitlab-ce/blob/master/.eslintignore ->

http://localhost:3000/gitlab-org/gitlab-ce/blob/8ab94120ee0a87c7b1158ebafea101e3952ec758/.eslintignore


Previously, pressing y would copy the commit sha to the clipboard, 8ab94120ee0a87c7b1158ebafea101e3952ec758. This shortcut was not documented.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #8082 (closed)

Merge request reports