Skip to content
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

Merged
merged 7 commits into from Jul 20, 2023
Merged

Feat/followers stats #1404

merged 7 commits into from Jul 20, 2023

Conversation

Adesojisouljay
Copy link
Collaborator

@Adesojisouljay Adesojisouljay commented Jul 17, 2023

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

items: [
{
label: <span>All</span>,
onClick: () => {
Copy link
Member

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) ||
Copy link
Member

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

Copy link
Member

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!

Copy link
Collaborator Author

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

Copy link
Member

@feruzm feruzm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@feruzm feruzm merged commit 7d32ef5 into development Jul 20, 2023
@feruzm feruzm deleted the feat/followers-stats branch July 20, 2023 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Followers stats https://discord.com/channels/385034494555455488/445901975301914624/1104690618338377728
2 participants