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

Deleting comment children #166

Open
mobeigi opened this issue Oct 6, 2024 · 0 comments
Open

Deleting comment children #166

mobeigi opened this issue Oct 6, 2024 · 0 comments
Labels
bug Something isn't working Payload CMS Related to Payload CMS.

Comments

@mobeigi
Copy link
Owner

mobeigi commented Oct 6, 2024

Right now its possible to hard delete any comment.

If said comment has children, its children will continue to exist but never be shown (dangling comments).

Ideas:

Soft Deletes only

  • Disallow deleting comments with children
  • Have comment 'soft' deletions instead

Delete tree

  • Deleting a comment deletes all of its children

Promote hierarchy level

  • Promote 1 level up (although this makes no sense lol)
@mobeigi mobeigi added bug Something isn't working Payload CMS Related to Payload CMS. labels Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Payload CMS Related to Payload CMS.
Projects
None yet
Development

No branches or pull requests

1 participant