Improved search input (#13815)

* create input with tags component

* tweaks

* only show filters pane when there are actual filters

* special case for similarity searches

* similarity search tweaks

* populate suggestions values

* scrollbar on outer div

* clean up

* separate custom hook

* use command component

* tooltips

* regex tweaks

* saved searches with confirmation dialogs

* better date handling

* fix filters

* filter capitalization

* filter instructions

* replace underscore in filter type

* alert dialog button color

* toaster on success
This commit is contained in:
Josh Hawkins
2024-09-18 13:18:16 -05:00
committed by GitHub
parent 5e0d8fe4c7
commit efd1194307
12 changed files with 1580 additions and 40 deletions

View File

@@ -55,3 +55,10 @@ export type SearchQueryParams = {
};
export type SearchQuery = [string, SearchQueryParams] | null;
export type FilterType = keyof SearchFilter;
export type SavedSearchQuery = {
name: string;
search: string;
filter: SearchFilter | undefined;
};