Would it be possible to give users the ability to edit their comments after posting them ?
I guess we should be able to delete them as well.
And when the comment is part of a thread, it's probably better to just mark it as deleted without completely removing it.
Comment deletion is already available, although they always completely disappear, unlike what you suggest.
Side note : deleting a comment that has replies also deletes the replies. Maybe that's not ideal. @Ealhad's idea of marking as deleted seems good and I think it deserves its own issue so I took the liberty to add it : #507
Oh, right, sorry, I didn't check while logged to an account 😅
According to the API, the route for editing a comment already exists. Is it just not used yet, or not implemented at all?
And while I think about it, an edited comment should have some kind of glyph or text to indicate it has changed (also maybe when it has, if we store/decide to store this information).
The route you linked is to create a comment :)
Oh, my bad, it’s to answer to a given comment — I thought maybe it was to edit a comment, because of the {comment-id} thingy.
I guess the route we need should use the PUT verb?
yep
Closing, because we don't want that users edit what they said. They should delete and recreate the comment instead (like on Mastodon).
See https://github.com/Chocobozzz/PeerTube/issues/507 regarding comment deletion
Ok, then how about a "Delete and redraft", just like on Mastodon?
Most helpful comment
Ok, then how about a "Delete and redraft", just like on Mastodon?