Redirect to room if router-chat is not loaded
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
- Add the feature toggle,
node ./scripts/utils/feature-toggle.js --name vue-left-menu --description "Left menu using Vue (alpha)"
- Enable the feature toggle
- Visit http://localhost:5000/home
- Click one of the rooms in the left-menu and notice you are redirected
- If the chat view(
router-chat
) is loaded, then room switching should be an SPA without any page reloading
Edited by Eric Eastwood