Spirit icon indicating copy to clipboard operation
Spirit copied to clipboard

Author should be able to remove it's own content

Open oduvan opened this issue 9 years ago • 12 comments

I think If user creates a new post or comment he should be able to remove it, not only edit

oduvan avatar May 26 '15 14:05 oduvan

I guess I could make it an admin setting/preference.

nitely avatar May 26 '15 15:05 nitely

Oh, I remember why I did not allow this, there are two main reasons:

Firstly, if the user can remove his comment, should he be able to restore it?, let's say he can, that raises another issue, comments removed by moderators should not be able to be restored by users.

Secondly, what if the first comment is removed by the user? what happens to that thread? If a moderator removes the first comment, he will know what to do with the rest of the thread, move all the comments or remove the whole thread, but if the user removes the first comment there is no way to flag it, so no admin/moderator will get notified.

As stands now, the user can edit his comment and just remove the content, that also lets users check the comment history.

nitely avatar May 26 '15 18:05 nitely

What about collapsing the comment when it gets "removed" by the author? The comment would be expanded/displayed by clicking some button/icon, any user would be able to expand it.

nitely avatar Jun 06 '15 10:06 nitely

I like the last proposal. It's IMHO the best solution.

hnykda avatar Jun 07 '15 10:06 hnykda

I as an author want to remove my comment so nobody see it.

I that case giving opportunity to any other user to "expand" removed comment is a bad idea. Don't you think so?

oduvan avatar Jun 07 '15 17:06 oduvan

This is expressing my personal opinion and is not targeted as an insult or offence.

I am personally kind of tired about people writing first without thinking and then deleting it. It gets even worse when someone reply to it - after deleting the previous comment the following can get lost. I like the idea of writing only what you really mean and are able to stand for.

Of course, you can make a mistake - I've made many of them - e.g. posting something by accidentally clicking submit button. But that is solved by edit button.

And, of course, you can always ask admins for deletion.

hnykda avatar Jun 07 '15 18:06 hnykda

I like the idea of writing only what you really mean and are able to stand for.

@kotrfa , I second that.

I as an author want to remove my comment so nobody see it.

@oduvan , That may break the conversation, besides, someone may already have quoted you .

Maybe, the comment/thread could be removed if no one has replied after/in it. If some one has replied, then it'd be collapsed. This would be an admin preference, always collapse would be the default.

nitely avatar Jun 08 '15 08:06 nitely

All you said is true. But... (there is always some "But", right? :) )

How, do you think I will satisfy my desire remove my post in case I see that it doesn't make sense here? Right! I will remove all the text and (maybe) put a word like "[remove]" instead.

So no matter do you want me to remove my own comment or no it will be removed.

oduvan avatar Jun 08 '15 09:06 oduvan

No, it won't :smile: , you can check the comment history to see previous editions (the pencil icon at the top-right corner). Also, I could add an admin preference to not let users edit their comments after x minutes or not let them if someone has replied after them or not let them at all. I don't like any of those alternatives though, that's why I think the comment history is a nice feature.

Editing the comment and putting a word "removed" will achieve the same thing as collapsing the comment, anyone can still see the previous comment if they really want to.

There is no way to distinguish when removing a comment will affect the conversation or not, so we can't let the author remove/hide the comment, IMO.

nitely avatar Jun 08 '15 09:06 nitely

@oduvan as @nitely says, comment history take care about this behaviour.. And that is why is this solution IMO the best one.

The last proposition of @nitely:

Maybe, the comment/thread could be removed if no one has replied after/in it. If some one has replied, then it'd be collapsed. This would be an admin preference, always collapse would be the default.

doesn't hurt too much. Maybe someone would welcome this. If it is not for you so hard to implement and will not break things, why not...

hnykda avatar Jun 08 '15 11:06 hnykda

When admin remove a comment nobody can see history of this comment?

oduvan avatar Jun 09 '15 16:06 oduvan

Nop, no one can see it.

El mar., jun. 9, 2015 1:56 PM, Alexander Lyabah [email protected] escribió:

When admin remove a comment nobody can see history of this comment?

— Reply to this email directly or view it on GitHub https://github.com/nitely/Spirit/issues/50#issuecomment-110431654.

nitely avatar Jun 09 '15 17:06 nitely