Massive thanks to @akulmehta for the bulk of the work on this update.
2.2.0 adds the ability to let users delete read notifications before they are auto cleared out by the scheduled task (assuming you have that enabled).
In order to enable this there is a new config option you will need to publish the Megaphone config again (make sure you backup your existing config and reset any values you previously changed). Then amend the megaphone.clearNotifications.userCanDelete
to true. The config setting for megaphone.clearAfter
has been deprecated and moved to megaphone.clearNotifications.autoClearAfter
to group these options together. It will be removed and the console command will stopping referencing megaphone.clearAfter
in a later version.
There are also template changes to popout.blade.php
along with two new SVG components which will need to be published. Backup any blade templates you may have edited before publishing the views again.
View the file diff from the PR here in order to compare changes made to the blade files.