this post was submitted on 09 Sep 2023
22 points (95.8% liked)

Lemma - An iOS Lemmy client

386 readers
1 users here now

founded 1 year ago
MODERATORS
 

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

all 8 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago (1 children)

Shows only 50 communities.

[–] [email protected] 7 points 1 year ago (2 children)

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!

[–] [email protected] 3 points 1 year ago

Awesome. Great app!

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago

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!