Version used on plausible.com on the 12th of July 2024. But this bug has been around for a while, I just never bothered reporting it.
Describe the bug
When I load a deep URL to my website's dashboard, e.g. https://plausible.io/foo.org (if my website was foo.org) and I haven't been on plausible in a while (refreshing my auth token), the website get stuck in some "pretending to load" state forever, rather than showing a 404 or redirecting to login page.
This is resolved by reloading the page, upon which I'm shown the correct 404 with button to login.
Expected behavior
When I load a deep URL, I either get to see the page, or I get shown 404, but the website shouldn't get stuck showing a "loading" page forever
Steps to reproduce
Might be a bit tricky to reproduce as one needs to wait for a token to expire. But this is essentially what I do:
Not use plausible for a long time, not sure what the minimum required is to show the bug, it might be as much as a month or more, I rarely check plausible. The time could also be shorter. Hard to tell for me.
Observe result: a loading page (unfortunately I forgot to screenshot when it happened and due to the difficulty in reproduction I might not be able to for a while)
Reload page
Observe correct result: 404
Your Environment
Device: M1 mac
OS: macOS 14.5
Browser : Brave
Version: Version 1.67.123 Chromium: 126.0.6478.126 (Official Build) (arm64)
Versions
Version used on plausible.com on the 12th of July 2024. But this bug has been around for a while, I just never bothered reporting it.
Describe the bug
When I load a deep URL to my website's dashboard, e.g. https://plausible.io/foo.org (if my website was foo.org) and I haven't been on plausible in a while (refreshing my auth token), the website get stuck in some "pretending to load" state forever, rather than showing a 404 or redirecting to login page.
This is resolved by reloading the page, upon which I'm shown the correct 404 with button to login.
Expected behavior
When I load a deep URL, I either get to see the page, or I get shown 404, but the website shouldn't get stuck showing a "loading" page forever
Steps to reproduce
Might be a bit tricky to reproduce as one needs to wait for a token to expire. But this is essentially what I do:
Your Environment