You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
It'd be great if it'd be possible to use Spotlight as just one command, without additional "Enter" clicking after opening the modal if we have one command. This of course could be optional/modified in the config file or somewhere else.
For example, there'd be a \App\Spotlight\FindProduct::class, and it would by default search for a product if you type in after going into CMD/CTRL K//.
Whatdya think?
Maybe it'd just run the go() command after a short timeout, on toggleOpen()? I'm sorry but I'm not so experienced and I don't know how to make that as a ready-to-merge PR. (I don't know how to resolve it in JS/Livewire)
This discussion was converted from issue #130 on October 14, 2024 19:13.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hello,
It'd be great if it'd be possible to use Spotlight as just one command, without additional "Enter" clicking after opening the modal if we have one command. This of course could be optional/modified in the config file or somewhere else.
For example, there'd be a \App\Spotlight\FindProduct::class, and it would by default search for a product if you type in after going into CMD/CTRL K//.
Whatdya think?
All reactions