Replies: 1 comment
-
.env is the key, but you need to have a queue worker up and running |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Package
Notifications
Package Version
3.2
How can we help you?
I currently have several tables in my app with an
ExportAction
. I have added->databaseNotifications()
in my panel provider, and the download links do show up when I click the notification icon in the header. All of this is functioning correctly, however, the only indication that the export is complete is that the number on the notification icon gets incremented. I am worried this isn't obvious enough for most users.When you start the export process it pops up a notification like this:
The wording makes it sound like a message will pop up to let you know the export is complete and that the files are ready to download, but there isn't a message that pops up -- instead it just increments the number of unread notifications in the header.
I was just wondering, is it possible to pop up a notification (similar to the one shown above) when the export is complete? Is there a way built in to Filament to easily accomplish this? Is this something I'd need to use Broadcast Notifications for since the export runs in a queue? And if so, what is the best way to hook into the export completed event that increments the number of unread notifications so I can send a notification to that user at the same time that number is incremented?
Thank you for any assistance!
Beta Was this translation helpful? Give feedback.
All reactions