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

Fix lists tab appearing when user has a starterpack but no lists #7952

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mozzius
Copy link
Member

@mozzius mozzius commented Mar 10, 2025

Rose for example has a starter pack but no lists, yet the tab appears in her profile:

https://bsky.app/profile/rose.bsky.team

This is because starter packs include a type of list inside of them, but since they don't show in the lists tab the tab appears but is empty.

This can be fixed by subtracting the number of starter packs from the lists agg count.

Before After
Before Screenshot After Screenshot

Test plan

Confirm Rose's profile has the correct tabs

Make a new account, and observe that the associated object increases in the way I described (i.e. creating a SP adds +1 to both lists and starterPacks, and curate/modlist only adds +1 to lists)

Copy link

Old size New size Diff
7 MB 7 MB 2 B (0.00%)

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.

2 participants