Comments (6)
@aghster I'm open to it – curious what are some of those actions you had in mind that would always be part of the list?
from kbar.
In my use case I have only two or three static actions, but depending on the search string more actions are dynamically added. However, I want the static actions to be always quickly accessible, even if a search string was entered that does not match these actions.
from kbar.
I have a usecase where i have a few "action" like
- toggle this
- go to Y
but i also want to fallback to an action where i go "Search ${query}" where you launch a full faceted search with the current search term but ability to add a bunch of stuff
for that i need to be able to append a * query , and be able to use the search term in the perform & the action name
from kbar.
I agree with this idea; it would be nice to have some actions to fallback on instead of showing nothing or an empty component that can't perform any actions.
from kbar.
Related Issues (20)
- Invariant failed from tiny-variantt package HOT 2
- Is there a way to disable outer click that close the kbar modal? HOT 1
- Closing kbar triggers scroll to bottom of page HOT 2
- commandScore expensive calculation when action's .name or .keywords or .subtitle are longer HOT 1
- Feature request: Searching remote (async) sources HOT 3
- Feature Request: Actions as links HOT 3
- Contents gets overlapped when in more than 8. HOT 4
- Option to restore the last search when KBar re-opens HOT 1
- Bug: Always Adding Scrollbar Margin HOT 8
- expose `container` prop from KBarPortal HOT 1
- Would kbar be a right fit for a search performing API fetches? HOT 5
- data prop in createAction HOT 1
- item and Items in KBarResult should have same type HOT 2
- Support for 'frecency' HOT 1
- Detect when a command was performed via keyboard shortcut versus the command list HOT 1
- Make some dependencies pluggable HOT 1
- Maintaining Status HOT 1
- Project update! HOT 3
- Allowing shortcuts to override default options in shouldRejectKeystrokes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kbar.