Closed simran2607 closed 3 years ago
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 π
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 @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!
Hey @simran2607 , after quickly going through your strategy, I have few doubts about your methodology-
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.
Is your feature request related to a problem? Please describe.
Once you refresh you lose all the code/illustrations and you can't continue from where you left. And you have to join as new member with no old code/illustrations.
Are you willing to contribute to this issue? [Yes/No] Yes