You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improvements and Bug Fixes: Definition of Closures (#29)
[Improvements and Bug Fixes: Definition of
Closures](0191c22)
- Moved closures for getting the user name, avatar and mention items to
the commentable model
- Override getUserAvatar and getUserName in the commentable model to
customize these.
- Override getMentionsQuery to modify the query used to get mentions in
the commentable model
- Removed closures from the config to allow optimization through cache.
- Bug Fix: Mentions item name was using the currently logged in user
- New Component: Comment Card view component
- New Component: Comment Card Entry
// 'getMentionsUsing' => fn (string $query) => app(\Coolsam\NestedComments\NestedComments::class)->getUserMentions($query), // Get mentions of all users in the DB
0 commit comments