apache/answer

Add permanently delete

Opened this issue · 4 comments

Is your feature request related to a problem? Please describe

It is soft deleted and still in the "Deleted" list. Too much useless post will use up resources.

Describe the solution you'd like

Show a permanent delete button in the Admin "Deleted" list:

  • Contents -> Questions
  • Contents -> Answers
  • Users

image

When clicked, show a confirm() method. Confirming will delete it permanently.

image

Are you sure you want to delete permanently?

Add Delete permanently button to delete all deleted content with one click?

Add Delete permanently button to delete all deleted content with one click?

Yes

@sy-records About #1207 follow up.

After deleting the user permanently, some user's configuration is still kept. Although this part doesn't create bugs or cause display errors, which is why we forgot it, maybe removing them would be better. What do you think?

For example,

  • notification and user_notification_config contain the user's notification and configuration.
  • plugin_user_config contains the user's configuration of the plugin
  • badge_award contains the badge that the user awarded.

The user_external_login will all be deleted after #1196, but the ones that have been deleted before will still be there.

I think it's best to delete them.