Add ability to filter search by time range (#13946)

* Add ability to filter by time range

* Cleanup

* Handle input with tags

* fix input for time_range filter

* fix before and after filters

* clean up

* Ensure the default value works as expected

* Handle time range in am/pm based on browser

* Fix arrow

* Fix text

* Handle midnight case

* fix width

* Fix bg

* Fix bg

* Fix mobile spacing

* y spacing

* remove left padding

---------

Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
This commit is contained in:
Nicolas Mowen
2024-09-25 10:05:40 -06:00
committed by GitHub
co-authored by Josh Hawkins
parent 4c24b70d47
commit 25819584bd
11 changed files with 501 additions and 185 deletions
-2
View File
@@ -48,8 +48,6 @@ export default function useSuggestions(
setSuggestions([
...(searchHistory?.map((search) => search.name) ?? []),
...availableFilters,
"before",
"after",
]);
}
},