Communities / subscription list only shows a small amount of subs.

I am subscribed to like 250 communities but the communities / subscription list does not list even a quarter of that.

22 points · 7 comments · view on lemmy.world

7 Comments

krey@sh.itjust.works · 4 pts · 2y (1 reply)
[ removed ]
stormblessed@lemmy.dbzer0.com · 2 pts · 2y

Haha, picture taken right before placing on my wireless charger

stormblessed@lemmy.dbzer0.com · 3 pts · 2y (5 replies)

Shows only 50 communities.

gromdroid@lemmy.world · 7 pts · 2y (4 replies)

Good find! Apparently I forgot to add pagination for this screen, so it indeed only fetches the first 50 items. I’ll see if I can fix this in one of the next releases!

stormblessed@lemmy.dbzer0.com · 3 pts · 2y

Awesome. Great app!

CreatureSurvive@lemmy.world · 3 pts · 2y (2 replies)

Just a suggestion, fetch the subscription list using the /site endpoint to get the full list of subscriptions. Otherwise if you use /communities&type_=Subscribed there is now way to get an alphabetical list, meaning pagination would either be non-alphabetical, or you’d have to insert cells in the previous page. I hope that saves you the headache it gave me.

gromdroid@lemmy.world · 1 pts · 2y (1 reply)

Wow great suggestion! I didn’t know that was a possibility as well. Will definitely look into that, since I was already kinda wondering how I could tackle this

CreatureSurvive@lemmy.world · 1 pts · 2y

No problem, I was originally preloading all subscriptions in a loop and sorting them that way before I found that the site endpoint when authorized includes site/my_user/follows which simplifies the matter.

I just saw your public beta go live a minute ago. I haven’t checked it out too much yet, but the onboarding looks fantastic. Well done!