leek/filament-right-click
Adds static right-click context menus to Filament table rows and Flowforge Kanban cards. Menu items trigger native Filament actions, so modals, confirmation, authorization, validation, and notifications stay handled by Filament.
Requires Filament 5.6.4 or later. Filament v4 is no longer supported. For v4, stay on the 1.x line:
composer require leek/filament-right-click:^1.5
Hide menu entries per row with ContextMenuItem::mirrors('rowAction'). The entry only shows on rows that render the named row action, so actions that are hidden for a record or unauthorized drop out of the menu too. Separators left dangling are removed, and a section or submenu disappears once all its entries are hidden. Thanks @grafst (#6, #7, #8).
Submenu parents no longer look permanently hovered when the menu first opens.
Submenu parent rows now show a clearer trailing chevron:
ContextMenuSubmenu entry type: parent row opens a flyout of child entries without mounting a Filament action.ArrowRight/Enter open, ArrowLeft/Escape close) with viewport-aware positioning.ContextMenuSection remains an inline labeled group; use ContextMenuSubmenu for Linear-style flyouts.composer update leek/filament-right-click
php artisan filament:assets
ContextMenuItem now falls back to the wrapped Action's icon and color when none are set on the item, so Action::make('delete')->icon(...)->color('danger') no longer needs the config repeated on the menu item. Explicit ->icon() / ->color() on the item still win, and non-string action colors (custom palette arrays) are omitted since the menu only styles named color classes. Ported from #4 by @W84T.Full Changelog: https://github.com/leek/filament-right-click/compare/v1.3.6...v1.4.0
Security and release-hygiene improvements:
run-tests (PHP 8.2–8.4 × Laravel 11–13) and code-style (Pint), with all GitHub Actions pinned to commit SHAsSECURITY.md with private vulnerability reporting instructions.gitattributes export-ignore rules keep tests, CI config, and build tooling out of Composer installsFull Changelog: https://github.com/leek/filament-right-click/compare/v1.3.5...v1.3.6
Docs / metadata only — no code or behavior changes.
composer.json suggest entries pointing at companion plugins (sorted alphabetically).TriggerWorkflowAction in a ContextMenuItem to trigger a manual workflow on a right-clicked record.Fix context menu item icon rendering by using Laravel's ComponentAttributeBag when generating Filament icon HTML.
Resolves #2 via #1. Thanks @jouniikaheimo.
Fixes Flowforge context menu macro registration when board configuration is evaluated before the Filament panel plugin has registered.
Adds optional Flowforge support for right-clicking Kanban cards and triggering native Filament actions via contextMenuCardActions().
contextMenuBulkActions([...]) table macro for selected-record right-click menus.contextMenuActions([...]) record-only and added validation that points bulk actions to the new macro.composer testvendor/bin/pint --testnpm run buildgit diff --checkAllow context menus to open from Filament table row navigation links while preserving explicit ignore targets and nested control suppression.
Allow right-click menus to open from row link content while still ignoring buttons, inputs, and explicit ignore targets.
Fix Livewire action triggering in panels where Livewire.find() exposes as a proxy function.
Adds bulk action support for right-click menus.
ContextMenuItem now detects Filament\Actions\BulkAction and targets it as a bulk menu item.ContextMenuItem::forBulkAction(...).Validated with npm build, Composer validation, Pest, Pint, and diff whitespace checks.
Initial v1 release for Filament Right Click.
contextMenuActions() table macro for server-defined right-click menus.How can I help you explore Laravel packages today?