Threaded views?
-
I specifically wanted the discussions in my forum to be aesthetically pleasing - but at the same time, allow users to turn a new "threaded" view on or off depending on their preferences.
Here's the result of a few hours work using
jQuery
and customCSS
Enjoy
https://sudonix.org/assets/demo-threading.mp4
EDIT - if the video doesn't work for you (seems a little sporadic, and when it does, it bursts out of the DIV), then go to
https://sudonix.org/topic/569/threading-support-for-nodebb/11
-
New code released for the threaded views - available here
Threaded post support for NodeBB
Here’s a video of the threading code working on stock Harmony on NodeBB. However, it’s important to note that the timeline bar is removed and recreated. Ther...
Sudonix | A one-stop-shop for all your technology questions (sudonix.org)
Video here
-
@phenomlab When a topic is threaded, what happens to post order? e.g. if I reply to one of the top branches, does my reply show up near the top?
The re-ordering issue (especially in the context of fully supporting infinite load and pagination) is what makes doing this in core hard.
-
@julian said in Threaded views?:
The re-ordering issue (especially in the context of fully supporting infinite load and pagination) is what makes doing this in core hard.
Yes, I haven't attempted this yet. This would be a serious manipulation of the DOM elements too.
-
@julian Exactly. It's just not feasible and would cause significant strain even with lazy loading. It's why I've opted for 2nd best, which is the "cosmetic" route meaning certain posts (for example, your own, and
topic-owner
) stand out.