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

PWA always brings you to abfahrten; make PWA startup page and/or default screen configurable #957

Open
Atemu opened this issue Oct 21, 2024 · 0 comments
Labels

Comments

@Atemu
Copy link

Atemu commented Oct 21, 2024

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I use the website as a PWA on the phone but the feature I use most and need on my home screen is routing.

When you add the PWA to the home screen in Firefox however, it always loads the bahn.expert main page which is the "Abfahrten" page. You have to press the little menu button and select routing every single time you open the PWA.

I have tried navigating to the routing page and creating a PWA from there but this doesn't appear to be respected when creating a PWA; it always uses the default bahn.expert page.

Describe the solution you'd like
A clear and concise description of what you want to happen.

You should be able to make a PWA out of any bahn.expert page and it should directly open that page when accessed.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

An alternative would be to make the default screen configurable. This could also be useful for non-PWA use, so this isn't an xor; both could happen independently.

Additional context
Add any other context or screenshots about the feature request here.

A workaround is to delete the existing shortcut, force stop Firefox, clear its cache, disable internet, visit bahn.expert/thepageyouwant (won't load) and add that to the home screen. This will make Firefox create a shortcut rather than a PWA and those apparently respect the URL's path. This will make it open as a tab in Firefox rather than as a pseudo-app though and won't have an icon.

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

No branches or pull requests

1 participant