From 3d650248fbb6398205a91743083e073b6d1e9124 Mon Sep 17 00:00:00 2001 From: Chris Arderne Date: Wed, 19 Aug 2026 16:35:46 +0100 Subject: [PATCH] fix(webapp): use native time filter mode controls (#4699) ## Summary Make time-filter mode selection keyboard accessible. Duration and exact-range modes now use native pressed buttons. Nested date, duration, and quick-select controls no longer depend on click propagation blockers. Base: [#4698](https://github.com/triggerdotdev/trigger.dev/pull/4698) --- .../app/components/runs/v3/SharedFilters.tsx | 55 +++++++++++-------- 1 file changed, 31 insertions(+), 24 deletions(-) diff --git a/apps/webapp/app/components/runs/v3/SharedFilters.tsx b/apps/webapp/app/components/runs/v3/SharedFilters.tsx index 756af300f..ee9225137 100644 --- a/apps/webapp/app/components/runs/v3/SharedFilters.tsx +++ b/apps/webapp/app/components/runs/v3/SharedFilters.tsx @@ -668,16 +668,18 @@ function TimeDropdown({ >
{/* Duration section */} -
{ - setActiveSection("duration"); - setValidationError(null); - setSelectedQuickDate(null); - }} - className="flex cursor-pointer gap-3 rounded-md pb-3" - > - -
+
+ +
{/* Custom duration row */}
e.stopPropagation()} > {/* Date range section */} -
{ - setActiveSection("dateRange"); - setValidationError(null); - }} - className="flex cursor-pointer gap-3" - > - -
+
+ +
+
-
e.stopPropagation()} className="-ml-8"> +
{/* Quick select date ranges */} -
e.stopPropagation()}> +
-
e.stopPropagation()}> +