From 20363c32c9bfdbf49c2716ef11d1f18483fcc01b Mon Sep 17 00:00:00 2001 From: maria Date: Sun, 13 Sep 2026 04:22:17 -0300 Subject: [PATCH] feat(web): add provider selector to pull request toolbar (#11524) Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com> --- apps/web/src/routes/_chat.pull-requests.tsx | 26 +++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/apps/web/src/routes/_chat.pull-requests.tsx b/apps/web/src/routes/_chat.pull-requests.tsx index 2b5586a6e8e56bcb2f718d03d70970f91b3b860e..973c406f690044d241040ccfe6173f1c27a751ee 100644 --- a/apps/web/src/routes/_chat.pull-requests.tsx +++ b/apps/web/src/routes/_chat.pull-requests.tsx @@ -27,6 +27,7 @@ import { LayersIcon, ListChecksIcon, PenLineIcon, + Plug2Icon, Maximize2Icon, Minimize2Icon, SearchIcon, @@ -1721,7 +1722,7 @@ function PullRequestsRouteView() { // kind force the hostname to tell them apart. const hostEntries = hosts.length > 0 ? hosts : expectedHosts; const hostMenuOptions: ReadonlyArray> = [ - { value: "", label: "All hosts", Icon: LayersIcon }, + { value: "", label: "All", Icon: Plug2Icon }, ...hostEntries.map((entry) => { // `expectedHosts` stands in before the server has answered, and nothing is known to be // unreadable yet; once the summaries arrive they carry whether each one could be read. @@ -2044,6 +2045,7 @@ function CompactFilterMenu({ triggerIcon, triggerLabel, outlined = false, + iconOnly = false, value, options, onChange, @@ -2053,6 +2055,7 @@ function CompactFilterMenu({ triggerIcon?: ReactNode; triggerLabel?: string; outlined?: boolean; + iconOnly?: boolean; value: Value; options: ReadonlyArray>; onChange: (value: Value) => void; @@ -2063,8 +2066,11 @@ function CompactFilterMenu({ return ( : undefined} + aria-label={triggerLabel || iconOnly ? `${label}: ${current.label}` : label} + title={iconOnly ? `${label}: ${current.label}` : undefined} + render={ + outlined ?