Would it be possible to add the ability tofavourite subscriptions from the side menu and have the favourited subs appear at the top of the list?

  • Dieguito 🦝@feddit.it
    cake
    M
    link
    fedilink
    arrow-up
    2
    ·
    12 days ago

    Yes, I agree that is a useful idea and many other apps have it (so probably users are accustomed to it). I’ll consider it for this week’s development cycle, thanks!

    p.s. I’ll also have a look at how the drawer is populated because the old implementation to have “favorite on top” is incompatible with community pagination which was introduced later (and since no one was actually using favorites I didn’t realize).

    • Hammerjack@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      12 days ago

      Also, it’d be nice if that community list was sorted. I believe it’s sorting each individual page as that page is fetched, but not sorting the full list of communities.

      • Dieguito 🦝@feddit.it
        cake
        M
        link
        fedilink
        arrow-up
        0
        ·
        11 days ago

        I’ll look into it because the GET /community/list endpoint (ref. here) accept Lemmy’s sort types (Active, New, Controversial…) sorting and not alphabetical order. The other option, as it was before, would be getting the subscription from the GET /site but that does allow filtering and seems not to work if an user is subscribed to hundreds of communities (it happened in the past for someone complaining).