You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add new message notification for allconversations screen
Related to #34
Add a feature to notify user 1 of new messages when they are not inside the chat.
* Create a new React component `AllConversations` to display all conversations and bold the ones with new messages.
* Add styles for the `AllConversations` component in `AllConversations.css`.
* Import the `AllConversations` component and add a route for it in `App.js`.
* Add a new socket event in `server/index.js` to notify the allconversations screen of new messages.
* Emit a new socket event when a new message is received in `Chat.js`.
0 commit comments