Skip to content

"Open app" button #464

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Diegorro98
Copy link

@Diegorro98 Diegorro98 commented Jun 22, 2024

In this PR I added a button that opens the redirect link in the app.
Regular open link button and this new button are always present except if mobile param is 1, which will cause the regular button to not be displayed and the app button will be set to "Open link" to look like before the changes.
Regular open link button has been changed to "Open link here".
image

Also, now if the instance URL is not set yet, it will not automatically redirect to the page that changes the URL, but if the user clicks on the "Open link here" button, the user will be redirected to the page that changes the URL.

Co-authored-by: Bram Kragten <[email protected]>
@matthiasdebaat
Copy link

From what I understand, the issue currently is that on Windows the single button doesn't open the PWA. From what I know there is no alternative app on Windows? Your solution will show two buttons when there is an app installed, on every OS.

Adding an extra button makes it harder for a user. I would rather avoid this scenario.

Can we show a single button on Windows, when there is a PWA installed, that tries to open it there? With the assumption that you have the PWA installed for a reason and want to use that one.
And keep the other OS the same as today.

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

Successfully merging this pull request may close these issues.

3 participants