What's Changed
Breaking Changes
- Comment editor replaced with Filament v5 RichEditor + built-in MentionProvider (replaces custom Alpine.js textarea)
searchUsers()method removed from Comments and CommentItem Livewire components- Public properties
newComment,editBody,replyBodyreplaced with Filament form state (commentData,editData,replyData)
Features
- Rich text editing with TipTap (bold, italic, strike, link, lists, code blocks)
- Native @mention support via Filament's MentionProvider with live search
- Comment form pinned to bottom of slide-over (sticky footer)
- Inline Attach + Comment button layout
Bug Fixes
- Fix Alpine scope errors (
showMentions/mentionResultsnot defined) in slide-over modals - Fix nested form conflict causing slide-over to close on comment submit
- Fix LazyLoadingViolationException on
parentrelationship in depth calculation - Fix LazyLoadingViolationException on
repliesrelationship in comment-item template - Fix Filament 5 compatibility (
schema()instead ofmodalContent()) - Add missing Filament service providers to test setup (Forms, Schemas, Actions, BladeUI Icons)
Improvements
- Backward compatible rendering for existing plain text comments
- MentionParser handles both RichEditor HTML mentions and legacy
@nameformat - Shared
CommentsConfig::makeMentionProvider()helper for consistent mention configuration - Polished edit/reply form layouts with consistent action button placement