ChatBox icon indicating copy to clipboard operation
ChatBox copied to clipboard

Added Online Presence Indicator to User Profiles

Open aakashsharma003 opened this issue 1 year ago • 12 comments

Implemented a User Online Status Indicator

Demo Video

https://github.com/SamarthKadam/ChatBox/assets/122847899/a2ab61e5-c9a6-4604-901b-700f25fb159f

Related Issue

  • Fixes #173

Review Notes

Please review this PR and suggest any additional improvements or changes that could further enhance the application. Your feedback is valuable and appreciated.

aakashsharma003 avatar Jun 04 '24 09:06 aakashsharma003

@aakashsharma003 is attempting to deploy a commit to the samarthkadam's projects Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Jun 04 '24 09:06 vercel[bot]

@aakashsharma003 What's the case with group. And did you test with all possible cases right?

SamarthKadam avatar Jun 04 '24 17:06 SamarthKadam

@SamarthKadam, do you want this feature for grps also, usually in Chat Apps I have'nt seen this kind of feature for grps like in whatsApp also ? Yp i handled all test cases like if user logged out, closes the tab, goes offline, etc in all cases it is working smoothly.

aakashsharma003 avatar Jun 04 '24 17:06 aakashsharma003

@SamarthKadam , Firstly, please clarify exactly how you want to display the number of online users or any other relevant information in grps. Please make this clear so that I can finish it by tomorrow afternoon and commit it to the pull request for you to review. As you know, I've been working on this issue for more than a week now, and I want to resolve and finish it as soon as possible.

aakashsharma003 avatar Jun 04 '24 18:06 aakashsharma003

@aakashsharma003 Ok

SamarthKadam avatar Jun 05 '24 09:06 SamarthKadam

@SamarthKadam, So are you agree with only displaying users count for groups? Or you don't want a status for groups and just satisfied with only for users?

aakashsharma003 avatar Jun 05 '24 09:06 aakashsharma003

@aakashsharma003 well Im not able to see online feature Screenshot (601)

SamarthKadam avatar Jun 05 '24 09:06 SamarthKadam

@SamarthKadam, refresh the page and try again sometimes it is updated in db bt doesn't re renders

aakashsharma003 avatar Jun 05 '24 09:06 aakashsharma003

@aakashsharma003 but that should be realtime using sockets right?

SamarthKadam avatar Jun 07 '24 10:06 SamarthKadam

Ys u are right, @SamarthKadam I will resolve this glitch and finish this issue by tomorrow evening. Just tell me is you want me add for grps also like how many number of users are online at that time in that grp or anything else pls mention how do you want to display if you want me to add this?

aakashsharma003 avatar Jun 07 '24 10:06 aakashsharma003

@aakashsharma003 No need of that. Just make sure to have that online feature to be realtime

SamarthKadam avatar Jun 08 '24 09:06 SamarthKadam

Okay @SamarthKadam 👍

aakashsharma003 avatar Jun 08 '24 18:06 aakashsharma003