-
Notifications
You must be signed in to change notification settings - Fork 3.6k
feat: add "copy inline link to clipboard" button to Share prompt #5173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add "copy inline link to clipboard" button to Share prompt #5173
Conversation
|
Hey! I think this can be a good idea, but I want to keep #5239 in mind. As such, if you are still interested in adding this option, please update the PR and I will look at it. |
f442184 to
f89435c
Compare
I have reimplemented my proposal, this time even with the "short" link format I originally intended. |
hacdias
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.

Description
Whenever a user wanted to share a file for his own use (e.g. to embed it in a forum post), they had to go through the download page to get the inline link or edit the link manually. This adds a 3rd button in the share prompt instead.
Additional Information
Might not be the ideal way to do this though. The "open file" link on the download page is shorter but my knowledge of JS and GO is still too limited to implement that.
Checklist
Before submitting your PR, please indicate which issues are either fixed or closed by this PR. See GitHub Help: Closing issues using keywords.
masterbranch.