Does nodebb support following/joining federated communities?
-
wrote on 28 Feb 2025, 17:23 last edited by
@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.
-
Does nodebb support following/joining federated communities? And does it support switching to a threaded view?
wrote on 28 Feb 2025, 18:22 last edited byYeah 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 totrue
infilter: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. -
wrote on 28 Feb 2025, 18:30 last edited by
@baris could we theoretically load only top-level replies by:
- filtering
tid::posts
(expensive), or - maintaining a separate zset (lighter)?
- filtering
-
Does nodebb support following/joining federated communities? And does it support switching to a threaded view?
wrote on 28 Feb 2025, 18:41 last edited byFiltering 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.
-
Does nodebb support following/joining federated communities? And does it support switching to a threaded view?
wrote on 28 Feb 2025, 18:52 last edited byI 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
-
Does nodebb support following/joining federated communities? And does it support switching to a threaded view?
wrote on 4 Mar 2025, 08:01 last edited by@julian did you have a chance to look at this issue of not being able to post into lemmy community?
-
wrote on 4 Mar 2025, 14:46 last edited by
@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.
-
wrote on 4 Mar 2025, 14:58 last edited by
-
Does nodebb support following/joining federated communities? And does it support switching to a threaded view?
wrote on 4 Mar 2025, 15:49 last edited by@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 thisThen it wont notify? How am I supposed to include a friend in a thread?
-
wrote on 4 Mar 2025, 17:18 last edited by
@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 -
ada@lemmy.blahaj.zone
anddb0@lemmy.dbzer0.com
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 runningcurl --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 Mentionsada@lemmy.blahaj.zone
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'.