Under specific circumstances, navigation to these pages doesn’t work when developing locally (because of assertion), in production navigation works, but chances are that this problem causes some issues with updating content of topic lists on these pages.
When running Discourse locally
- Firstly, go to the
- Then click the Activity tab
- Then click “Topics” on the left.
This will open
u/:username/activity/topics, but the topic list will be empty and there’ll be an error in the console:
The same can be reproduced for the
The problem is that we use the
user-topic-list component on these pages, and this component calls the
refresh action from the route:
/messages route contains this action, but the
activity/topics and the
activity/read routes don’t. This PR adds this action to these routes.