Skip to content
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

Add dialog to copy various types of links for a claim. #4474

Merged
merged 3 commits into from
Jul 7, 2020

Conversation

infinite-persistence
Copy link
Contributor

Fixes #4293 Better download link support

  • make it so you can right click a download button > copy download URL
    Given that this could be useful in mobile/web as well, I used a button/modal instead of the right-click approach.

  • in share dialog, show download URL to copy for non-video content
    This is already implemented, albeit hidden in the "More..." expansion.

image

image

@neb-b
Copy link

neb-b commented Jul 3, 2020

Cool! I wonder if this should just be integrated with the Share modal.

I'll give your PR's a closer look on Monday. Have a good weekend!

@infinite-persistence
Copy link
Contributor Author

True, the new one is just a stripped-down version of what's already available in Share

@neb-b
Copy link

neb-b commented Jul 6, 2020

@infinite-persistence lets change the ... icon on the share modal to the copy icon. Then also add the download link to that view too.

@infinite-persistence
Copy link
Contributor Author

The file-download link already exists in the Share Modal, so I only changed the icon. I used the chain (link) icon as I think it makes more sense than the clipboard (can change if you disagree).

image

@infinite-persistence infinite-persistence force-pushed the #4293_Better_download_link_support branch from c7bbe36 to 4585be1 Compare July 6, 2020 16:41
## Issue
Fixes 4293 `Better download link support`

- [x] make it so you can right click a download button > copy download URL
   Given that this could be useful in mobile/web as well, I used a button+modal instead of the right-click approach.

- [ ] in share dialog, show download URL to copy for non-video content
   This is already implemented, albeit hidden in the "More..." expansion.
@infinite-persistence
Copy link
Contributor Author

Rebasing to latest master to resolve changelog conflict:

@infinite-persistence infinite-persistence force-pushed the #4293_Better_download_link_support branch from 4585be1 to 0a851fb Compare July 7, 2020 10:21
@neb-b
Copy link

neb-b commented Jul 7, 2020

Nice. I like the chain icon more!

@neb-b neb-b merged commit 92be15a into master Jul 7, 2020
@neb-b neb-b deleted the #4293_Better_download_link_support branch July 7, 2020 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Better download link support
2 participants