I started implementing a feature that lets you see posts from multiple communities at the same time. Above ive got it pulling from 5 different communities.

Done by just listing all of the communities in the url with plus signs separating them. Its not pushed out to the pangora beta site right now but ill probably try to push out a build either this weekend or during the week

Currently just shows the first 50 from each, ill try to add some sort of addition to the backend in the future that will let me query for multiple communities so I can do the first 50 out of all of them so it doesnt have things out of order for the last post on a page and the first post on the next page

  • canpolat
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    Great news! Looking forward to testing it.

  • onlinepersona
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Is this frontend only?

    Is the plan to allow enabling rule-based grouping of communities i.e “Group all communities with the name=programming from all the connected instances” and “Group all communities with name = "linux*" AND instance != "spamserver.*"”?

    • AtegonOPMA
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      will involve the backend eventually to clean up the posts that show up

      rule based grouping is a nice idea, Ill try to get that implemented before I push this out to the test site

      • onlinepersona
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Woah, that’d be big (at least for me). Looking forward to it!

        • AtegonOPMA
          link
          fedilink
          arrow-up
          4
          ·
          1 year ago

          added functionality for the two rules

          • getting all communities with a certain slug
          • exclude instance with domain X from above rule

          was running into rate limits when trying to check every single linked instance so ive manually put in the larger ones for now

          • onlinepersona
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            Very nice! Once you add a backend endpoint to do it, I’m sure it’ll be quite quick.

  • Die4Ever
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    will you guys be making pull requests back to Lemmy, and pulling down their updates as well? this could get really difficult over time, I feel like Lemmy really needs a plugin system https://github.com/LemmyNet/lemmy/issues/3562

    this also makes me think, I chose the subdomain lemmy for my instance (and many others do this too), but if I ever want to switch to a fork it would really bother me that the subdomain is incorrect lol, I should’ve used the subdomain forum

    is it possible to change the subdomain for an instance? maybe with redirects?

    • AtegonOPMA
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      1 year ago

      for the backend yes

      frontend is a separate project but its using similar things to construct it so if its a vital feature it can be redone in lemmy-ui pretty quickly. Already gave them code block support for 0.18

      Yeah you can redirect or you can make lemmy.[something] and forum.[something] point towards the same ip or same port depending on how youve set it up (if you want lemmy.[something] to still work else you can just change it to forum)

      • Die4Ever
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        1 year ago

        Yeah you can redirect or you can make lemmy.[something] and forum.[something] point towards the same ip or same port depending on how youve set it up

        I was wondering more how it would be handled with federation, and what my configs should look like, and if I need to make any changes in the DB

        • AtegonOPMA
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          ah yeah I havent looked into the configs too much. Not sure how it would deal with renames but you can ask in the lemmy matrix or something