scorelab / Codelabz

Codelabz
Apache License 2.0
144 stars 410 forks source link

[ Feat : Clicking Open To Show List of "Followers" For A User] #1188

Open rohitPandey469 opened 7 months ago

rohitPandey469 commented 7 months ago

Description

Added a new function getUserFollowers which takes user UID as argument and return list of all the Followers for a user. And passed the Codelabz User Data in fixed data of Janvi Thakkar - only for the first one though. Similar to PR #1182

Related Issue

Fixes #1187

Motivation and Context

Making it more Dynamic.

How Has This Been Tested?

Tested Locally on my machine.

Video:

Here, I have two chrome versions open up and, logged in with two different account, now in SA account I followed the Codelabz User by clicking on the AddUser ( in front of Janvi Thakkar text ) resulting in change in the followers ( see in the black screen ) and when I removed it by clicking again then it removes as well.

https://github.com/scorelab/Codelabz/assets/123815256/80058ebb-a7ba-4292-837e-e56053ecdb75

Types of changes

Checklist: