Overriding the Notification Panel
Hey, I'm trying to override the notification panel to customise the behaviour of the
I want to change it so that
The reason for this is I want a table which shows all "dismissed" notifications if a user needs to go back and look at previous ones.
I found these two threads, but I've not had any luck overriding the clear buttons functionality (which I was planning to do after the clear button functionality)
❓┊helpCustom Database Notification Model
❓┊helpNotifications reduction of amount of showed notifications
I've tried both approaches (the Notifications.php file and the two approaches in AppServiceProvider) but I don't seem to be able to override it.
clear button, and therefore also overriding which notifications are listed.I want to change it so that
clear sets a new cleared_at column in the database, and doesn't display these in the list, and doesn't delete them from the database.The reason for this is I want a table which shows all "dismissed" notifications if a user needs to go back and look at previous ones.
I found these two threads, but I've not had any luck overriding the clear buttons functionality (which I was planning to do after the clear button functionality)
❓┊helpCustom Database Notification Model
❓┊helpNotifications reduction of amount of showed notifications
I've tried both approaches (the Notifications.php file and the two approaches in AppServiceProvider) but I don't seem to be able to override it.
