mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
The following case would create the perception of a broken back button on desktop: - open discourse on home page - click chat button in header - hit back button - observes that we are still on the channel didn't navigate to homepage as we would have expected The back button is actually working but it's in a loop. We were doing a `transitionTo` after finding the ideal channel to show, so the browser history would look something like this: - home - chat index - channel page When hitting back, we would go to chat index which would run the same logic and transition us to channel page. This change will use `replaceWith` to replace the chat index step by the channel step, this way our history will now look like this: - home - channel page Hitting back will now correctly bring us to home.
This plugin is still in active development and may change frequently
Documentation
The Discourse Chat plugin adds chat functionality to your Discourse so it can natively support both long-form and short-form communication needs of your online community.
For user documentation, see Discourse Chat.
For developer documentation, see Discourse Documentation.