Codelabz
Codelabz copied to clipboard
[ Feat : Clicking Open To Show List of "Followers" For A User]
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
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
- [x] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.