- Click a bookmarked item
- Then hit back
- It doesn’t navigate back to where you were in bookmarks, it goes back to the previous bookmarked post/pm/etc that you visited instead.
I can repro this here on Meta.
When you say “click a bookmarked item”, where are you? Can you show a screenshot?
I’m on the bookmarks page: https://meta.discourse.org/my/activity/bookmarks.
Steps I took:
- Open user menu
- Click bookmark icon twice (to navigate to full bookmark activity page)
- Click a topic
- Click back
If I was to do that right now, when clicking back I’d end up here, in this topic, rather than landing on the bookmark activity page as I’d expect.
Click that bookmark, then hit back…you’ll wind up at whatever previous topic/post/pm you visited prior to clicking the “bookmarked item”.
Confirmed, yeah something is not right with our Ember routing here @martin can repro in safe mode.
It was fairly straightforward, I have a fix up for review now:
topic-link component (which isn’t used in many places, the bookmark list is one of three) was just missing
data-auto-route on the link generated.