Add unread indicators to menu bar items on Vue left-menu
Add unread indicators to menu bar items on Vue left-menu
Fix https://gitlab.com/gitlab-org/gitter/webapp/issues/2178
Testing strategy
- Add the feature toggle,
node ./scripts/utils/feature-toggle.js --name vue-left-menu --description "Left menu using Vue (alpha)"
- Enable the feature toggle
- Have an unread in a room, notice the "All" menu bar item has a green circle
- Open the room and mark the messages as read. Notice the green circle go away
- Have an mention in a room, notice the "All" menu bar item has a orange circle
- Open the room and mark the messages as read. Notice the orange circle go away
- Have an unread in a one to one room, notice "People' menu bar item has a green circle
- Open the room and mark the messages as read. Notice the green circle go away
Edited by 🤖 GitLab Bot 🤖