Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new message notification for allconversations screen #142

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vishwamartur
Copy link

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.

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 <[email protected]>
@vishwamartur vishwamartur force-pushed the add-new-message-notification branch from 14f13a4 to 6db7e90 Compare November 12, 2024 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant