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

Add permanently delete #1205

Open
fenbox opened this issue Dec 17, 2024 · 4 comments
Open

Add permanently delete #1205

fenbox opened this issue Dec 17, 2024 · 4 comments
Assignees
Labels
feature New feature request

Comments

@fenbox
Copy link
Member

fenbox commented Dec 17, 2024

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?

@fenbox fenbox added the feature New feature request label Dec 17, 2024
@sy-records
Copy link
Member

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

@fenbox
Copy link
Member Author

fenbox commented Dec 18, 2024

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

Yes

@sy-records sy-records self-assigned this Dec 18, 2024
@LinkinStars LinkinStars moved this from Todo to Review in Answer Roadmap Dec 19, 2024
@LinkinStars
Copy link
Member

LinkinStars commented Dec 27, 2024

@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.

@sy-records
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request
Projects
Status: Review
Development

No branches or pull requests

3 participants