Emit events and allow deleting replies when comments are deleted. by 3m1n3nc3 · Pull Request #40 · beyondcode/laravel-comments · GitHub
Skip to content

Emit events and allow deleting replies when comments are deleted.#40

Merged
mechelon merged 6 commits into
beyondcode:updatesfrom
toneflix-forks:master
Oct 11, 2024
Merged

Emit events and allow deleting replies when comments are deleted.#40
mechelon merged 6 commits into
beyondcode:updatesfrom
toneflix-forks:master

Conversation

@3m1n3nc3

@3m1n3nc3 3m1n3nc3 commented Jul 9, 2024

Copy link
Copy Markdown
Contributor
  1. When a new comment is created or deleted, this PR will emit the BeyondCode\Comments\Events\CommentAdded or BeyondCode\Comments\Events\CommentDeleted as applicable.
  2. This PR adds the delete_replies_along_comments config property to allow nested comments (replies) to be deleted when a comment is deleted.

@danestves

Copy link
Copy Markdown

@mechelon mechelon self-requested a review October 11, 2024 16:07
@mechelon mechelon changed the base branch from master to updates October 11, 2024 16:12
@mechelon

Copy link
Copy Markdown
Member

@mechelon mechelon merged commit 7c598d6 into beyondcode:updates Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants