New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/followers stats #1404
Feat/followers stats #1404
Conversation
items: [ | ||
{ | ||
label: <span>All</span>, | ||
onClick: () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Adesojisouljay labels should be translated
const yearsDifference = Math.ceil(daysDifference / 365); | ||
|
||
return ( | ||
(type === "Recently" && daysDifference < 7) || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Adesojisouljay don't use labels for conditioning, create enum type data to represent labels/items
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Adesojisouljay Also include description and quick video into PR description, please!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noted, will do that,
Thanks
…into feat/followers-stats
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
What does this PR?
In this PR, I have added stats for followers, users can now see how how active their following and followers are.
There is also a filter dropdown option where user can filter friends based on how active they are.
For example, you can filter friends that are active recently, this month, this year, one year ago or more than one year.
Github issue
followStats.mp4