Add new message notification for allconversations screen#142
Open
vishwamartur wants to merge 1 commit intoadrianhajdin:masterfrom
Open
Add new message notification for allconversations screen#142vishwamartur wants to merge 1 commit intoadrianhajdin:masterfrom
vishwamartur wants to merge 1 commit intoadrianhajdin:masterfrom
Conversation
Related to adrianhajdin#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`. Signed-off-by: Vishwanath Martur <64204611+vishwamartur@users.noreply.github.com>
14f13a4 to
6db7e90
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related to #34
Add a feature to notify user 1 of new messages when they are not inside the chat.
AllConversationsto display all conversations and bold the ones with new messages.AllConversationscomponent inAllConversations.css.AllConversationscomponent and add a route for it inApp.js.server/index.jsto notify the allconversations screen of new messages.Chat.js.