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!
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.
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
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!
7 Comments
krey@sh.itjust.works · 4 pts · 2y
stormblessed@lemmy.dbzer0.com · 2 pts · 2y
Haha, picture taken right before placing on my wireless charger
stormblessed@lemmy.dbzer0.com · 3 pts · 2y
Shows only 50 communities.
gromdroid@lemmy.world · 7 pts · 2y
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
Just a suggestion, fetch the subscription list using the
/siteendpoint to get the full list of subscriptions. Otherwise if you use/communities&type_=Subscribedthere 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
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/followswhich 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!