FEATURE: Add assistant to quick search widget #13650
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
screencast.2021-07-13.11-21-13.mp4
This replaces the autocomplete dropdown for categories and usernames on the search input and insteads adds suggestions for the filters as items in the search results.
As seen in the screencast, typing a partial category name, i.e.
shows #do
will return autocomplete suggestions in the main results space that the user can select and search for.The PR adds the same behaviour for
@mentions
as well asin: status: order:
keywords. The following suggestions are included:An API function has also been included so that plugins can extend the
in:
shortcuts. For example,addInSearchShortcut("in:assigned")
should allow the assign plugin to show its search filter when it is enabled.