Action button on Topbar

Hi! I would like to add an Action button next to the user dropdown and notifications, so the user can use that action anywhere. In this case, I want to create a record in a database, like a quick note, so the user don't need to navigate... just create a quick note from anywhere... thanks!!
4 Replies
awcodes
awcodes4mo ago
Make a livewire component to do all the functionality action button, etc. then you can render it with a renderHook. Similar idea can be seen in the quick create plugin as an example.
PabloZagni
PabloZagniOP4mo ago
I was wondering if there is something like this... class AdminPanelProvider extends PanelProvider { public function panel(Panel $panel): Panel { return $panel ->menu([ Action::make('quicknote') ]) I Think this way would be easy... I'll investigate render hooks
Dennis Koch
Dennis Koch4mo ago
Check #awcodes-quick-create
PabloZagni
PabloZagniOP4mo ago
Awesome! I've forgot to check plugins!
Want results from more Discord servers?
Add your server