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: improve follows you grouping #1408

Merged
merged 1 commit into from
Jan 23, 2023
Merged

Conversation

patak-dev
Copy link
Member

See https://elk.zone/fediverse.zachleat.com/@zachleat/109739539249687601 for context.

We got feedback that using a hard limit using the followers count was a bit awkward. We had already discussed something along these lines before and proposed using percentages relative to the user followers count. I think this wouldn't be ok either.

This PR changes the grouping algorithm to test in it in the wild in the next release.

It now orders the group according to who has a header first (giving priority to folks that did setup their account), and who has more followers second. Then it shows the first one of the group (if it has a header) as a big card, no matter how many followers it has. If only one remains and it has a header, it is also expanded as a big card. If not, the remaining are shown as a group of avatars in a single line.

@stackblitz
Copy link

stackblitz bot commented Jan 23, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@netlify
Copy link

netlify bot commented Jan 23, 2023

Deploy Preview for elk-docs canceled.

Name Link
🔨 Latest commit d71116b
🔍 Latest deploy log https://app.netlify.com/sites/elk-docs/deploys/63cef00c8d68ff000a24140d

@netlify
Copy link

netlify bot commented Jan 23, 2023

Deploy Preview for elk-zone ready!

Name Link
🔨 Latest commit d71116b
🔍 Latest deploy log https://app.netlify.com/sites/elk-zone/deploys/63cef00c81c7380007cff82e
😎 Deploy Preview https://deploy-preview-1408--elk-zone.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@patak-dev patak-dev merged commit 66c9212 into main Jan 23, 2023
@patak-dev patak-dev deleted the feat/improve-follows-you-grouping branch January 23, 2023 20:49
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.

None yet

1 participant