Loomio
January 10th, 2017 13:21

Threaded comments feature

Alex Stacey
Alex Stacey Public Seen by 479

I think it would be great if comments were threaded, so you could reply to an individual comment. Is this something that's been discussed before? I saw that someone made a user script to add that functionality it although that doesn't work for me. (I also can't imagine how it could be added via only front end JS in a user script.) Does anyone know how difficult this would be to implement? I was considering posting a bounty for it on the bountysource page but thought I should get an idea what other people thought about it first.

CS

Comrade Senya January 10th, 2017 13:32

We would need a more detailed description of the idea in order to
discuss it. Bountysource bounties are tied to github issues, so you need
to open one first, but it is a good idea to achieve some agreement here
first.

Alex Stacey

Alex Stacey January 10th, 2017 14:48

I see. Ok. I'm talking about the ability to do this sort of thing:

threaded comments shot

I think it makes for much richer conversation.

thomas

thomas January 10th, 2017 16:59

agree; conversing in the comments thread is cumbersome, threaded comments would be a change for the better.

Max Strube

Max Strube January 10th, 2017 17:00

looks good

Dominic Duffin

Dominic Duffin January 10th, 2017 17:42

This looks like a good idea, though I don't have the knowledge of the technical side. Threaded comments of that kind definitely make conversation easier, their disappearance on some sites has been a disappointment to me.

RAM518

RAM518 January 10th, 2017 22:44

Super idea. Would love to see this implemented. Option to auto-collapse child comments would be much appreciated also.

SuperTux88

SuperTux88 January 10th, 2017 23:56

Just for info, we already spec'ed the federation for this feature at the 33C3, see: https://diaspora.github.io/diaspora_federation/entities/comment.html (thread_parent_guid)

So this will be compatible with friendica where this feature is already available.

Z

zulu January 11th, 2017 18:08

YES! Start a proposal!

SuperTux88

SuperTux88 January 11th, 2017 23:09

There is no need for a proposal if everybody already agrees in the comments ... so everybody wants it and it would be finished faster with a proposal. What we really need is somebody to implement it.

MD

Michael Dagn January 19th, 2017 16:47

I think it would be great if comments were threaded, so you could reply
to an individual comment. Is this something that’s been discussed
before? I saw that someone made a user script

to add that functionality it although that doesn’t work for me. (I also
can’t imagine how it could be added via only front end JS in a user
script.) Does anyone know how difficult this would be to implement? I
was considering posting a bounty for it on the bountysource page

but thought I should get an idea what other people thought about it first.

I don't think client side javascript can do that currently.

It would need to know the date of the parent of each comment (as in what that comment replied to) to render that tree correctly!

but server-side it might be easier than people think

from what I remember in Diaspora comments are stored as a list in the top-level item.

if it still does that then perhaps if it stored the date of the immediate parent with each comment a new comment could just be inserted in the right place in the list (under what it replies to) when it is added/updated
(avoiding any need for additional complexity or tree-walking at view time)

just a thought

I can't really try it myself right now
(until I fix that server or set up another and work out how to update rails and get my own instance back up!)

...but if comments are still stored the same way as I remember then I think getting it to do comments in threaded order could be as simple as that.