Comments (5)
Hey @simran2607 , Glad to know you are working on this issue.
It would be really great if you solve this issue.
Also as the issue sounds interesting to me, I would really like to know the implementation methodology that you have in mind for solving this issue. Please let us know the same!
Happy Contributing!
from syntaxmeets.
Hi @simran2607 , great to see you back 🙌.
Thank you so much for taking out time to create this issue 🚀
Yes, Please go forward to work on this issue, I am assigning this issue to you 🔥.
Also localStorage( ) can play a vital role in this. Do check it out 🙌
from syntaxmeets.
Hey @simran2607 , Glad to know you are working on this issue.
It would be really great if you solve this issue.
Also as the issue sounds interesting to me, I would really like to know the implementation methodology that you have in mind for solving this issue. Please let us know the same!
Happy Contributing!
Hey there!
implementation involved : an array at server side which stores all the rooms created. Frontend fetches that array. When user refreshes the page, if the room is present, user is reconnected to its room through socket("joinroom",data) where data is users name and roomId (stored in local-storage) and code is generated from previous users.
Happy contributing!
from syntaxmeets.
Hey @simran2607 , after quickly going through your strategy, I have few doubts about your methodology-
- Have you implemented any authentication idea for retrieving from the local storage. ( anybody else with the link should not be able to open the code except the one who created or joined the room)
- What's your strategy for storing and retrieving the code data ? (As you might be knowing, data from sockets is lost once you refresh or close it )
Rest your idea is good to go for this issue !
Happy Contributing!
from syntaxmeets.
If a user join then his name and room-id are stored in his local storage. And if reconnects his name and room-id will be used to connect him again as a new user. The user won't be redirected to home page ... And will be connected back .
In this process, authentication is not needed
And link will not be able to join any user whose local storage doesn't contain his name and room-id. And room-ids are generated automatically, so unless u have it u can't join it.
from syntaxmeets.
Related Issues (20)
- about page creator link to be cursor: pointer HOT 1
- Bug: Two same messages from same person HOT 3
- Message from the person should be as shown as blue and from other person it should be shown as grey HOT 6
- Simplify SyntaxEditor Footer 📂 🛠️ HOT 10
- Error message Snackbar on uploading photos instead of code HOT 1
- Customization Of Scrollbar HOT 3
- 🚀[FEAT: ] Keyboard shortcuts for better UX. HOT 6
- Readme file enhancement HOT 2
- Footer buttons information HOT 1
- Diable empty messages HOT 4
- Fullscreen Mode HOT 5
- Improving About us page HOT 4
- Creators Card in About page not aligned HOT 1
- Notification message for new messages HOT 1
- About Us launches from differently HOT 1
- Back/Close Button to the About Us HOT 1
- Room Id text and button gets shrinked and disturbs the navbar HOT 1
- Share Code modal like google meet. HOT 1
- Room id hidden HOT 1
- Message Notification contains large data
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.
from syntaxmeets.