Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow entering a reason for self-deletion #330

Open
cellio opened this issue Dec 1, 2020 · 4 comments
Open

Allow entering a reason for self-deletion #330

cellio opened this issue Dec 1, 2020 · 4 comments
Labels
area: frontend Changes to front-end code complexity: unassessed Needs further developer investigation before complexity/feasibility can be determined. priority: low type: change request New feature or request

Comments

@cellio
Copy link
Member

cellio commented Dec 1, 2020

https://meta.codidact.com/questions/276801

When you delete your own post, it would be helpful to be able to indicate why -- you realized your answer is wrong, you decided based on feedback that it's not valuable, etc. The linked post suggests either a menu or a freeform textbox. I favor the latter, like for edits, but we'll need to figure out how to inject it. (Modal after you click "delete", and then you have to click something else to complete the deletion?)

@cellio cellio added area: frontend Changes to front-end code type: change request New feature or request priority: low complexity: unassessed Needs further developer investigation before complexity/feasibility can be determined. labels Dec 1, 2020
@Trilarion
Copy link
Contributor

In the UI it could be realized like flagging where you can give details which is afterwards transformed into part of the delete notice.

@cellio
Copy link
Member Author

cellio commented Jan 11, 2022

If we take the flag approach then we need to come up with some baked-in reasons. We're already showing a modal dialogue that people have to click "ok" on; can we add it there? Something like this (but with more space and the buttons moved down):

mockup

@Trilarion
Copy link
Contributor

This should not be a big problem. It's more or less equivalent to the existing dialog which allows flagging.

What baked-in reasons would be reasonable? Are they really necessary?

In the past I have deleted own questions because: a) they were marked as duplicates, I agreed and found my question not to be adding any value, b) I found the post doesn't make much sense anymore at all or c) I found the post to be off-topic and possible wanted to re-create at another place (including accidentally posting at a wrong community).

@cellio
Copy link
Member Author

cellio commented Jan 11, 2022

I don't know if baked-in reasons are necessary; I'd rather start with just a textbox and see what patterns arise. And I definitely don't want people to have to go through two modals to delete a post, so it should all be in one, however it's implemented.

Right now, if you click the "delete" link you get the "are you sure?" modal. I'm proposing that we add a textbox for an optional delete reason to that modal, and then if it's populated, add it to the "deleted by so-and-so" notice that deleted posts have. Something like "...for the following reason: (text)".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: frontend Changes to front-end code complexity: unassessed Needs further developer investigation before complexity/feasibility can be determined. priority: low type: change request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants