Skip to content

Tags: forked-repo/commentions

Tags

0.6.2

Toggle 0.6.2's commit message
Using binary column in MySQL to avoid reaction conflicts

0.6.1

Toggle 0.6.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Use tailwind prefix to avoid conflicts (kirschbaum-development#27)

* Added tailwind prefix (comm) to avoid conflicts

* Added important

* Fixes

* Final tweaks

* Small tweaks

0.6.0

Toggle 0.6.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update README.md

0.5.1

Toggle 0.5.1's commit message
Updated event name, updated docs

0.5.0

Toggle 0.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add support for reactions in comments (kirschbaum-development#18)

* Add cursor rules and repomix templates

* Update cursor rules

* Udpate rules

* Add comment reactions feature

- Introduced a new `comment_reactions` table to store user reactions to comments.
- Updated the `Comment` model to include a relationship for reactions.
- Implemented reaction toggling in the Livewire component, allowing users to add or remove reactions.
- Enhanced the comment view to display reactions and their counts.
- Added tests to verify the functionality of adding and removing reactions.

This feature enhances user engagement by allowing reactions to comments, similar to social media platforms.

* Style fixes

* Enhance comment retrieval by eager loading reactions and their reactors

- Updated the `getComments` method in the `HasComments` trait to include reactions and their associated reactors.
- Simplified the `comments` method in the `CommentList` Livewire component to utilize the updated `getComments` method for improved performance and clarity.

* Remove unnecessary configuration resolution in CommentReactionTest

* Update comments when updating reactions

* Update plan

* Add allowed reactions feature for comments

- Introduced a new configuration option for allowed reactions in comments, enabling customization of emoji reactions.
- Updated the comment view to dynamically display allowed reactions and their counts.
- Enhanced the reaction toggling functionality to validate against the allowed reactions.
- Added tests to ensure users can only react with configured emojis and that the system handles reactions correctly.

This update improves user interaction by allowing a broader range of reactions to comments, enhancing engagement.

* Refactor reaction summary access in comment view

- Updated the comment view to directly access the reaction summary from the component's property instead of calling a method.
- Adjusted the logic for displaying reactions to ensure consistency with the allowed reactions configuration.

This change simplifies the code and improves performance by reducing method calls during rendering.

* Only display reacted emojis, added sub-component, fixed re-render issue

* Dispatching event with the save comment

* Fixed tests

* Review edits, improvements and tweaks

* General tweaks

---------

Co-authored-by: Luís Dalmolin <luis.nh@gmail.com>

0.4.2

Toggle 0.4.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add ability to disable comment edits and deletes (kirschbaum-developm…

…ent#16)

* Add ability to disable comment edits and deletes

- Added config options to disable comment editing and deletion
- Added plugin configuration methods disallowEdits() and disallowDeletes()
- Updated Comment.php to respect these settings
- Added tests to verify functionality
- Updated documentation

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>

* Update CommentionsPlugin to set config immediately

- Updated disallowEdits and disallowDeletes methods to call Config class immediately
- This ensures settings take effect as soon as the methods are called
- Previously settings were only applied during plugin registration

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>

* Simplify CommentionsPlugin implementation

- Remove redundant class variables for edit/delete settings
- Empty register() method since config is set directly
- Simplified implementation with the same functionality

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>

0.4.1

Toggle 0.4.1's commit message

Verified

This commit was signed with the committer’s verified signature.
adammparker Adam Parker
add variable to getAuthorAvatar

0.4.0

Toggle 0.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request kirschbaum-development#14 from kirschbaum-developm…

…ent/cleanup

FilamentPlugin additions, Action/Infolist refactor, General Cleanup

0.3.1

Toggle 0.3.1's commit message
Removed flaky assertion

0.3.0

Toggle 0.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added RenderableComment; Added pool option; (kirschbaum-development#13)

* Added renderable interface

* Added L12

* Removed -dev

* Added a proper way to rewrite the get comments function

* Added pooling

* Readme

* Readme

* Readme

* Fixed test