messenger's Issues
3) Feature - Improve sockets
We currently have sockets implemented, but would like to improve how we do so. We know our sockets are not efficient, and that they have poor security. Please address these issues, as well as make any other improvements as you see fit.
Bug fix: Sending messages
This commit:
- Fixes the order of messages in chat
- Adds validation when sending a message to an existing conversation
Resolves #5
Regarding the security error, there was an assumption made that if we had the conversation id, it was a valid conversation the user could take part in, which could be abused. Validation will ensure users can only send messages to conversations that they are a part of.
Bug fix: Sending messages
We did some refactoring recently and realized that we must have introduced a bug by mistake - we are now unable to properly send messages. Please investigate this and create a fix for this bug.
4) Optional goody: Small improvement of your choice
For a small amount of bonus points, you can implement a small front end or back end improvement to our code base, such as increasing our test coverage or modernizing some of the front end code (converting class components to functional components, converting some components to Typescript, etc.). Note that this is optional and should be of a small scope
2) Feature - Implement a read status for messages
We want to track for each message if it has been read by the recipient, and to make several front end UI updates with this information, such as displaying how many unread messages there are in a given conversation.
You can reference the spec in this zip folder for the various updates to be made to reflect unread messages. (Note that the zip folder includes more than just the spec needed for this feature). Please include a screenshot in your PR description showing your updated UI.
1) Bug fix: Sending messages
We have some code in place for sending messages in existing chats, but it is not working as expected - we are unable to properly send messages, and the messages are not displayed in the correct order on page load. Additionally, there is a security issue related to sending messages where a user can send messages to any conversation, not just their own conversations. (Note that this security error is not a bug you can replicate with regular use of the app. You'll need to look at the logic of sending messages to find it.) Please investigate and resolve these bugs.
Note: Changes for this ticket should not involve changing the code for sockets, which will be addressed in ticket #3
Feature - Implement a read status for messages
We want to store a status for each message reflecting if it has been read by the recipient, and to be able to display how many unread messages there are on the front end.
You can reference the spec in this zip folder for the various updates to be made to reflect unread messages (Note that the zip folder includes more than just the spec needed for this feature). Please include a screenshot in your PR description showing your updated UI.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.