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

Shareability of links to Playground and their parameters #27

Open
JayPanoz opened this issue Nov 19, 2024 · 3 comments
Open

Shareability of links to Playground and their parameters #27

JayPanoz opened this issue Nov 19, 2024 · 3 comments

Comments

@JayPanoz
Copy link
Contributor

Right now Playground is only checking for a manifest but longer term, it should support more search parameters e.g. text fragment to share more precisely into an OpenAccess publication for instance.

We will try listing and documenting all these params in this issue.

@JayPanoz JayPanoz changed the title Sharability of links to Playground and their parameters Shareability of links to Playground and their parameters Nov 19, 2024
@HadrienGardeur
Copy link
Contributor

HadrienGardeur commented Nov 19, 2024

I think that in the case of mobile, shareability could also extend to support the share() method as an action: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share

On desktop, this is not supported in a useful way and should be avoided IMO, in favor of copying to the clipboard.

@JayPanoz
Copy link
Contributor Author

support the share() method as an action

I'm assuming this could also take different forms? E.g. action, entry in popover menu when highlighting text, buttons in a list of saved highlights, etc.?

So same logic, but the actual output is contextual (publication as a whole, text fragment in a resource, etc.).

@HadrienGardeur
Copy link
Contributor

That's right. Initially, we could implement this as an action where the user can include the current position as an option.

The nature of what is shared (URL, text, media…) has an impact on what the native share intent/screen displays to the user on Android and iOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Draft
Development

No branches or pull requests

2 participants