[ Feat : Clicking Open The List of "Following Users" at "/profile" ] #1182
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Changes over the PR #1181 ( for the workings of follow button ) - so do look that PR first.
Added a new function
getUserFollowings
takinguid
as params and returning an arrayfollowings
of all the users whom the current user follows. Then loading that data inUserProfile
component and sending it toProfileCardOne
, in this card a modal which is opening when the userfollowings count
is clicked.Related Issue
Fixes #1178
Motivation and Context
A Dynamic Web Platform.
How Has This Been Tested?
Tested locally on my machine.
Video:
4d189da2-51e6-440d-8b03-d0507b8df566.mp4
In PR #1181, I was sending the same profileToFollowData in every UserElement component, but here sending differently that's why independent or more specifically the uids of all the four already present users, and the following count is changing and along with its list... the page re rendering is because of the profileData getting changed in the homepage, explained it more in above mentioned PR.
Types of changes
Checklist:
Additional:
Will make the PR for current user
followers
separately - cause I like clean and explainable code.