Open
Conversation
…-skills Conflicts: src/chat/components/ConversationsList/ConversationsListItem/ConversationListItem.tsx src/testData/index.ts
…v/react-redux-simple-chat into feature/show-your-skills
…remove deeply coupled dependency on firebase from chat module
… deeply coupled dependency on firebase from chat module. Map firestore documents to models in integration/firebase
…e integration Rename handler method in one way
…reate message logic
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.
Messages
You can send
User can send message by typing it in message box and click send button. Live updating is available

You can edit
Editing available by hover on message and click pencil button

You can delete
Deleting available by hover on message and click bucket button

You can draft
In case if user start typing new message and switch to another conversation message would be store in-app memory as a draft. User can continue typing once gets back to conversation.

Conversations
You can add
Adding new conversation available by click on forum icon in application bar. You should choose user in dialog.

There are known issue related to this feature
Multiuser conversation
Also you can choose multiple users to create conversation
You can search
At the left side you can find search box for filtering existing conversations by user names
Router
Added react-dom-router to handle navigation to authorized and public routes
Powered by Firebase
Now chat is connected to firebase authentication and firestore as storage for users / conversations / messages.
Firebase integration located at integrations/firebase folder. I've tried to depend on firebase as little as possible so it would be easy to replace it with another provider or BE endpoints
Known issues
Create conversation modal
It appears that ones user click on autocomplete the styling is broken. I suggest that is related to mui theme and modal location in DOM tree