Skip to content

Redirect to room if router-chat is not loaded

Eric Eastwood requested to merge vue-left-menu-routing-on-non-chat-page into develop

Redirect to room if router-chat is not loaded

When router-chat is loaded, it has the event-listeners which can switch the room appropriately

Testing

  1. Add the feature toggle, node ./scripts/utils/feature-toggle.js --name vue-left-menu --description "Left menu using Vue (alpha)"
  2. Enable the feature toggle
  3. Visit http://localhost:5000/home
  4. Click one of the rooms in the left-menu and notice you are redirected
  5. If the chat view(router-chat) is loaded, then room switching should be an SPA without any page reloading
Edited by Eric Eastwood

Merge request reports