Understanding the DatabaseNotificationsSent event. Not seeing websocket notifications in admin panel
I have Echo and Soketi running for real time notifications, where I want to dispatch filaments built in
DatabaseNotificationsSent
event.
Since I want to use this with export actions, I quickly added the DatabaseNotificationsSent
event to the bottom of the /actions/src/Exports/Jobs/ExportCompletion.php handler to test:
The event seems to be dispatched correctly, as I see this in my soketi docker logs:
But I do not see any websocket notification in the filament panel after this is triggered. Do I need to add any other configurations or setup something else, other than what is needed for database notifications? I see the "Export Completed" database notifications in the notification tray, so that works.
Maybe I misunderstood something, should DatabaseNotificationsSent
not result in a notification in the UI?0 Replies