Add permalink button to directories
Summary
When you open a direct link to a repository file, you can use the y
keyboard shortcut to switch from its relative URL to the permalink version.
Though, this functionality doesn't exists within directories.
This issue suggests adding permalinks to directories too.
Steps to reproduce
- Open a project homepage or its repository view
- Open a folder
- Press the
y
keyboard shortcut - The URL stays unchanged (should change to the permalink)
Example Project
https://gitlab.com/gitlab-org/gitlab
What is the current bug behavior?
File permalink keyboard shortcut doesn't work when navigating to a file within a folder.
What is the expected correct behavior?
The keyboard shortcut should work.
Possible fixes
Edited by Jacques Erasmus