[openstreetmap/openstreetmap-website] Suppress install prompt on non-SPA-like pages (PR #6770)

Andy Allan notifications at github.com
Wed Feb 4 11:31:07 UTC 2026


gravitystorm left a comment (openstreetmap/openstreetmap-website#6770)

Whatever the problem is, I don't think this is the right solution.

OSM.Router is an implementation detail - it's just there to allow page navigation without full page reloads. These pages aren't special or fundamentally different from the pages that don't use it. So it can't be used as "these pages should do something special on Android and these ones shouldn't".

And in any case, it's a piece of functionality that we're replacing with Turbo Drive, and every page eventually will end up using turbo drive for page navigation, even clicking between the About and Help pages, for example.

If there are pages that should have this "install prompt" suppressed, then we need some other logic to decide which ones these should be.




-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6770#issuecomment-3846902079
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6770/c3846902079 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260204/f2ac4c49/attachment.htm>


More information about the rails-dev mailing list