Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Fediverse
  3. Does nodebb support following/joining federated communities?

Does nodebb support following/joining federated communities?

Scheduled Pinned Locked Moved Fediverse
14 Posts 6 Posters 20 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • julian@community.nodebb.orgJ This user is from outside of this forum
    julian@community.nodebb.orgJ This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #5

    @Kichae the workaround that @baris and I played around with (very) briefly involved the "x replies" expando button.

    I think there were some rather simple adjustments made to load only one level at a time, and that was essentially the "threaded" view.

    I don't remember the details any more, perhaps he does.

    1 Reply Last reply
    0
    • O [email protected]

      Does nodebb support following/joining federated communities? And does it support switching to a threaded view?

      Anti Commercial-AI license

      baris@community.nodebb.orgB This user is from outside of this forum
      baris@community.nodebb.orgB This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #6

      Yeah there is a config property config.showNestedReplies https://github.com/NodeBB/NodeBB/blob/master/public/src/client/topic/replies.js#L40, it is not exposed anywhere but a plugin can set this to true in filter:config.get and that would cause more than one level of replies to show up. However the posts all show up at the top level in chronological order, since core adds everything at the top level(tid:posts) and then adds it topid::replies if it is a reply to a specific post.

      1 Reply Last reply
      0
      • julian@community.nodebb.orgJ This user is from outside of this forum
        julian@community.nodebb.orgJ This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #7

        @baris could we theoretically load only top-level replies by:

        • filtering tid::posts (expensive), or
        • maintaining a separate zset (lighter)?
        1 Reply Last reply
        0
        • O [email protected]

          Does nodebb support following/joining federated communities? And does it support switching to a threaded view?

          Anti Commercial-AI license

          baris@community.nodebb.orgB This user is from outside of this forum
          baris@community.nodebb.orgB This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #8

          Filtering goes 🐌 when you have a topic with 50k posts, and adding a new zset means adding 2 actually because there is sort by timestamp and sort by votes for topics.

          1 Reply Last reply
          0
          • O [email protected]

            Does nodebb support following/joining federated communities? And does it support switching to a threaded view?

            Anti Commercial-AI license

            eeeee@community.nodebb.orgE This user is from outside of this forum
            eeeee@community.nodebb.orgE This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #9

            I made a post about this a couple of days ago with an example, where I tried to post into a Lemmy community and it didn't arrive

            1 Reply Last reply
            0
            • O [email protected]

              Does nodebb support following/joining federated communities? And does it support switching to a threaded view?

              Anti Commercial-AI license

              eeeee@community.nodebb.orgE This user is from outside of this forum
              eeeee@community.nodebb.orgE This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #10

              @julian did you have a chance to look at this issue of not being able to post into lemmy community?

              1 Reply Last reply
              0
              • freamon@community.nodebb.orgF This user is from outside of this forum
                freamon@community.nodebb.orgF This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #11

                @eeeee If you mean 'post' in the sense that Lemmy means 'post' (i.e. something distinct from a comment), then Lemmy doesn't process User Mentions in those. In a comment, you can Mention your NodeBB user and Lemmy will send it to the relevant instance, but nothing will happen if you Mention your NodeBB user in a post.

                1 Reply Last reply
                0
                • julian@community.nodebb.orgJ This user is from outside of this forum
                  julian@community.nodebb.orgJ This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #12

                  @eeeee @freamon I wonder how Lemmy knows whether a root post is for a community of not.

                  If you mention the community then it's addressed, and that should be enough.

                  1 Reply Last reply
                  0
                  • O [email protected]

                    Does nodebb support following/joining federated communities? And does it support switching to a threaded view?

                    Anti Commercial-AI license

                    eeeee@community.nodebb.orgE This user is from outside of this forum
                    eeeee@community.nodebb.orgE This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #13

                    @freamon
                    Are you saying that Lemmy is different in that regard?
                    Example. Im logged into Lemmy and see and interesting post that a friend might be interested in.
                    I post as a reply
                    Hey @friend@nodebbinstace look at this

                    Then it wont notify? How am I supposed to include a friend in a thread?

                    1 Reply Last reply
                    0
                    • freamon@community.nodebb.orgF This user is from outside of this forum
                      freamon@community.nodebb.orgF This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #14

                      @eeeee Your reply (what Lemmy would term a comment) would go out to friend@nodebbinstance but it would be up to nodebbinstance to resolve what post the comment was a reply to.

                      To illustrate what I mean about Lemmy and User Mentions in posts, see this post as an example. In the body of that post, the user Mentions 2 people - [email protected] and[email protected] but neither of those people would have been notified of that post. You can see for yourself by looking at the activitypub representation of that post (by running curl --header 'accept: application/activity+json' --location https://lemmy.dbzer0.com/post/39126561 | jq .) and noting that there are no Mentions in the 'tag' section. By contrast, another user Mentions [email protected] in this comment, and she would have been notified of that (you can see that this time there is a Mention in activitypub representation of that coment).

                      @julian For the other direction - as you've found out, Lemmy will first look at 'audience' for a root post and try to resolve it and bail if that doesn't work. If there's no 'audience', it will look in 'cc' to try to find a community and stops when it finds one. It won't look further, so you can't post in more than one community at a time, and you can't use a root post to post in Lemmy community and also notify a Lemmy user of it. It distinguishes between root posts and other posts because the root post is a Note will 'null' for 'inReplyTo'.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups