Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to extend Comment model via config #12

Open
adammparker opened this issue Feb 24, 2025 · 0 comments
Open

Add ability to extend Comment model via config #12

adammparker opened this issue Feb 24, 2025 · 0 comments

Comments

@adammparker
Copy link
Member

Lots of popular/flexible models allow overridding the primary model (in this case Comment) with a downstream application model and setting that model in the packages config. This can allow for lots of things, for example, it would be nice if Spatie ActiivityLog could be added but is probably better for that to be downstream.

As part of this, it would be good if you can add additional "actions" like edit and delete to the right side of comments. Similar to how you can add actions to table rows in Filament with $table->actions. If the existing links were turned into actions and the HTML updated to render actions then you can let the user add their own actions like "Logs" to open the Activity Log side panel to see the history of edits on a comment.

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

No branches or pull requests

1 participant