Adapt.Patrick
Adapt.Patrick
FFilament
Created by Adapt.Patrick on 11/7/2024 in #❓┊help
Exporter Email Notification
Is there a recommended best practice approach to sending an email notification on successful completion of an export of data? I've been trawling through the docs but everything only points towards database notifications. I would like to send an email notification, ideally on creation of the database notification. I'm currently planning to create a custom event listener which listens for the global Illuminate\Notifications\Events\NotificationSent event and then interrogate the data of every event this captures to ensure it is the correct "export" event to trigger a custom email notification to send to the user, but this feels clunky and a bit of an anti-pattern. Any recommendations for how to handle this would be super appreciated! 🙏
5 replies
FFilament
Created by Adapt.Patrick on 6/5/2024 in #❓┊help
Infolist Action `->createAnother()` doesn't exist
We want to be able to reproduce the ->createAnother() functionality which exists on a Filament\Actions\CreateAction component but Infolists only accept instances of Filament\Infolists\Components\Actions\Action which doesn't have the ->createAnother() option. I have thought about creating our own Action in our codebase, which extends the CreateAction class (to inherit the ->createAnother() function), but using this in an Infolist instance would also fail to satisfy the requirement for it to be an instance of Filament\Infolists\Components\Actions\Action. How can we go about doing this? 🤔
11 replies
FFilament
Created by Adapt.Patrick on 5/14/2024 in #❓┊help
Newly created option isn't selected when returning from createOptionForm()
No description
7 replies
FFilament
Created by Adapt.Patrick on 5/11/2024 in #❓┊help
Adjust columns of form within `createOptionForm()` method
No description
6 replies