Skip to content

feat: Add record override, avatar and reaction toggles (#116) - #117

Merged
luisdalmolin merged 2 commits into
mainfrom
feat/116-record-avatars-reactions
Sep 4, 2026
Merged

luisdalmolin merged 2 commits into
mainfrom
feat/116-record-avatars-reactions

Conversation

@luisdalmolin

Copy link
Copy Markdown
Member

Closes #116.

Adds:

  • CommentsEntry::record() to comment on a different model than the page record (e.g. pivot in a table modal). Proxies to Filament model handling.
  • Avatar toggle: avatars.enabled config + enableAvatars()/disableAvatars() on entry/actions, threaded through Livewire to hide avatar column.
  • Reactions toggle: reactions.enabled config + enableReactions()/disableReactions(), gated in comment view with guards in Comment::toggleReaction() and Reactions::handleReactionToggle().

Notes:

  • Reactions view intentionally not wrapped in a conditional root (Livewire requires a stable root tag); gating lives in the parent.
  • Tests: tests/Livewire/CommentAvatarsReactionsTest.php (9 tests). Full suite: 162 passed. composer lint:check passes; phpstan shows only the 7 pre-existing errors.

@luisdalmolin
luisdalmolin merged commit 8d76c99 into main Sep 4, 2026
20 checks passed
@luisdalmolin
luisdalmolin deleted the feat/116-record-avatars-reactions branch September 4, 2026 14:18
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.

Add ability to set the record

1 participant