I just tried it again but it works correctly. However, I’ve had the above problem about half a dozen times now but I don’t know why it sometimes works but at other times, I get the above result.
after going there from clicking review in the dashboard, if I then click the back button on my browser, it does NOT take me back to the dashboard (as expected) but instead back to the forum.
Yeah, it sounds like the history of the browser or the current url isn’t being updated. I’m not sure why at the moment, especially since you’re navigating from the forum, which–speaking from a technical standpoint–is unrelated to the main HanziHero application w.r.t. messing with the URL due to JavaScript
It may be a Discourse issue. Let me know if you come across more steps for replication. I tried mimicking the reproduction steps several times in Safari to no avail
Thank you! I just replied to a post elsewhere and then clicked on Dashboard and it happened. I’ll see if there’s any pattern to it, e.g. after replying to a forum post for example. I noticed also that when I get to the HH dashboard, the URL location in the browser still shows the community page address.
We’ve updated some potential culprits on our end that would cause this
It’s interesting how the URL remains on community.hanzihero.com it makes sense what’s happening then. The browser resolves relative links by combining them with the current URL of the tab, e.g. /relative/link → community.hanzihero.com/relative/link
There seems to be a delay to updating the address URL after clicking on a link.
Maybe it is one of your Safari extensions causing this delay? I can’t seem to reproduce it
Also, when you notice that it stays on community.hanzihero.com, does it eventually change into hanzihero.com or does the URL remain community.hanzihero.com no matter the amount of time passing?
In either case, I converted most of the links on the Dashboard to absolute links, which should make this race-condition irrelevant next time it happens the links should just work and you’ll be able to navigate to lessons, reviews, extra study, etc.
Let me know if you’re able to make it happen again!
Thank you! I’ll keep an eye out if it happens again and if it does, whether the URL changes (although I’m sure I left it like that for 30+ seconds when I took the above screenshot as I had to Google to remind me about the key combo to take a macOS screen shot).