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 authored and GitHub committed 2024-09-18 12:18:16 -06:00
1 parent 5e0d8fe4c7
commit efd1194307
12 files changed
+1580 -40

No files matched your search

+7
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;
};