-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command palette: Enable folder searching #62663
Conversation
[dashboardResults] | ||
() => | ||
searchResults | ||
.filter((item) => item.id.startsWith('go/dashboard')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure whether it's worth adding an explicit new type property to our CommandPaletteAction
? using the id feels a little brittle 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also could rewrite this into a generic for loop to avoid looping the array twice? lmk what you think
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tested it on my local and works 🎉, although you may want a review of someone with more context, like @joshhunt.
search folders as well as dashboards in the command palette
What is this feature?
Why do we need this feature?
Who is this feature for?
Which issue(s) does this PR fix?:
Fixes #
Special notes for your reviewer: