hyperdx/packages/app/tests/e2e/features/search
Brandon Pereira de0b4fc755
Search Relative Time Queries (#1305)
Adds "Relative Time" switch to TimePicker component (if relative time is supported by parent). When enabled, searches will work similar to Live Tail but be relative to the option selected.

<img width="555" height="418" alt="Screenshot 2025-10-27 at 2 05 25 PM" src="https://github.com/user-attachments/assets/20d38011-d5d0-479f-a8ea-6b0be441ca87" />

Some notes:

1. When relative is enabled, I disabled very large time ranges to prioritize performance.
2. If you select "Last 15 mins" then reload, the Input will save "Live Tail" because these are the same option, this should be an edge case.
3. In the future, we might want to make "Relative Time" the default, but I didn't want to immediately do that. We could probably improve the UX further (cc @elizabetdev).
4. Moves a lot of the "Live Tail" logic out of various spots and centralizes it in a unified spot to support other values 

Fixes HDX-2653
2025-10-29 15:49:10 +00:00
..
relative-time.spec.ts Search Relative Time Queries (#1305) 2025-10-29 15:49:10 +00:00
saved-search.spec.ts chore: Add playwright tests for app in local-only mode (#1181) 2025-09-20 01:43:08 +00:00
search-filters.spec.ts chore: Add playwright tests for app in local-only mode (#1181) 2025-09-20 01:43:08 +00:00
search.spec.ts Update Drawers to do a proper focus trap (#1290) 2025-10-27 14:47:55 +00:00