Copy full path only copies partial
When viewing a file (example: https://XXXX/playground/samplerepo/files/bb06dde8cb58aae32ffa52a788c37c58e816934f/Program.cs) and clicking on the button to "copy full path", it only copies "Program.cs" instead of the full url.
Version: RhodeCode Enterprise 4.18.2 Community Edition
#1 Updated by Luke Mauldin 3 months ago
Would expect the "copy full path" to be https://xxxx/playground/samplerepo/files/bb06dde8cb58aae32ffa52a788c37c58e816934f/Program.cs?fireglass_rsn=true
#2 Updated by Marcin Kuzminski [CTO] 3 months ago
This is by design. We made this feature as a result of similar feature available in GitHub, i.e you copy the path to a file path. Maybe the tooltip should be changed to
copy file path instead of
full which indeed could be confusing.
What do you think?
p.s Thanks for all the Tickets and feedback!
#4 Updated by Luke Mauldin 3 months ago
Our team does not have experience with Github and so the behavior of the button was unexpected to us. I think that changing the tooltip would help. It would also be nice to have a button that would copy the full URL address of the file to the clipboard instead of having to go to the browser address bar but I do not know how to present that from a UI perspective.
Looking at this i think we can do better here:
Since the Path is copy&clickable (see screenshot) it would be good to remove the spaces between the
/so users can easily copy the file path and make the tooltip copy the full url instead which is harder to copy imho.
#7 Updated by Marcin Kuzminski [CTO] 3 months ago
I think this is not intuitive, also changes existing behaviour which we should just now change. I think it makes sense to change the label, and maybe add copy url action next to copy content (there is some space)
Will check with UX and make a final call on this.
#9 Updated by Redmine Integration 3 months ago
- Status changed from New to Resolved
347fefc5eea6 by Daniel Dourvaris email@example.com on
default branch changed this issue.