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

(Just) copy link on Safari Desktop #53

Open
janlelis opened this issue Jun 4, 2020 · 1 comment
Open

(Just) copy link on Safari Desktop #53

janlelis opened this issue Jun 4, 2020 · 1 comment
Labels
good first issue Good for newcomers ux

Comments

@janlelis
Copy link
Member

janlelis commented Jun 4, 2020

Safari on desktop supports the navigator.share API, Currently, it takes precedence over the "copy to clipboard" functionality. This was fine, since navigator.share is mainly supported by mobile devices, where "share" often makes more sense than just "copy to clipboard".

On a Safari Desktop, however, you often want to just copy the link (especially since the address bar does not show the pathname of the url), so copying should be possible. I can think of three different ways to improve the current user interface:

  • Always prefer "copy" on desktops (which means "share" functionality is not accessible on desktop safari anymore)
  • Separate "copy" and "share" functionality into two different knobs, show both
  • Separate "copy" and "share" functionality into two different knobs, but only show both on desktop
@janlelis janlelis added good first issue Good for newcomers ux labels Jun 4, 2020
@pascalwengerter
Copy link
Collaborator

pascalwengerter commented Jan 17, 2023

We should potentially switch to https://vueuse.org/core/useClipboard/ 😇 but that's something for after the Vue3 migration sry misread the issue slightly. Might be still worth it to introduce vue-use, but needs a UI/UX decision first (I'd vote for the third one) - different buttons with dedicated icons, and a heavier focus on the copy-to-clipboard functionality I guess?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers ux
Projects
None yet
Development

No branches or pull requests

2 participants