My latest side project. This is making managing what Jess and I print much, much easier.
You can add a getTableHeaderActions
method to any component that implements the Tables\Concerns\InteractsWithTable
concern. This allowed me to add a button to the header of a table widget.
Code:
1protected function getTableHeaderActions(): array2{3 return [4 CreateAction::make()5 ->url(route('filament.resources.jobs.create')),6 ];7}
Screenshot:
I just deployed my new website, which feels like I do every other year or so... take a look at the details on how it's set up and stuff.
Reminder to my self to check out later.