Added
- Multi-word search in any order:
user createfinds "Create User", and words may match different fields (orders janefinds Jane in Orders). - Accent-insensitive matching:
resumefinds "Résumé". Highlighting still marks the original characters. Record search still sends the term with its accents to the database. CommandItem::requiresConfirmation()puts a confirmation modal in front of a plainaction()closure. The closure runs after the user confirms, and only after the command is re-authorized.CommandItem::copy($text)copies text to the clipboard and shows a Filament notification.- Copy link and Copy ID when you Tab into a record. Turn them off with
built_in_commands.copy. $dispatch('open-command-palette', { query: '#' })opens the palette with a query already typed.⇧⌫on an empty search removes the highlighted recent. A built-in "Clear recent commands" command (built_in_commands.clear_recents) appears while recents are on.- A notification when a command fails on the server, for example after the user loses permission.
Fixed
- With
spa(), the chord and⌘Pkeyboard listeners were never removed onwire:navigate, so they piled up and chords could fire more than once. The theme listener was also re-added on every visit. - Clicking an event command, such as a theme switch, did nothing: the click sent it to the server instead of firing the browser event.
- Clicking a non-link command recorded it in recents twice.
- Filament-action and
mountActioncommands lost the search term because the palette closed before the request was sent. Commands from customSearchesCommandsproviders could then not be found again.
Changed
- The search helpers live in
partials/search-functions.blade.php. If you published the views, re-publishscript.blade.phpto pick up the fixes above.