socketchat-client's People
socketchat-client's Issues
change the url every time a user change room
When a user change room from A => B its shut change the URL so its later can be used to quick jump into a room based on the url
save chat messagt from each room in a database, so there will be logging on chat messagest
Every chat messegt shut be logged into a database, in this case its will go to MongoDB as a database.
first time connect to a room, missing right user counts
When a user connect first time, its forget to incl. the user at self to the count of the room, so its missing +1 count for be right.
if the user change room its working.
messages are boradcast to all rooms and not for a single room
When you want to sending a messaget to a room, its broadcasting to all rooms, its a error its becures the user not are join the currect socket room.
create a user with e-mail and nickname and the user will get a userid as int.
user can pick a system advetar as profile photo
Room and user count auto update from API /rooms
Need to visit room list in left side based on axois request to get all rooms and online users every 15sec or somthing like that.
create /chat pages and use route in vue to do this and prepare / pages for somthing
Create /chat as pages where people can chat with orthers, and prepare / to show somthing on the main pages.
this task will require vue route to complate.
user login
when you login as a user, the nickname in the chat (Guest) will be replaced with your chat nickname.
User online list over users there are online right now both guest and sign in users
Its importen to see witch user there will be online, so in the right corner its shut be aviable to se the online users.
Update last last_active_at in mongo to keep user online
Make a ping from the client side to the server side to tell the server this user are still online in the browser.
in this case there need to be a field called *last_idle_at" where idle time will be set, so the auto disconnect can be based on last_active_at and last_idle_at right now auto diconnect its only on last_active_at
Auto disconnect idle users
Users there not are actived enymore need to be disconnected, and sending to offline page so its not a part of the chat enymore.
Chat messagets UI update
This task will do so the system and user messegt will be handlet differend so its will be more burty to look at.
change chat room if you and speak with people in single chat rooms
How to change room from one to a orther room and keep chat with people in the right room.
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.