From 9d612715a554142933e642188b4a63d55fa75c7b Mon Sep 17 00:00:00 2001 From: Dustin Healy <54083382+dustinhealy@users.noreply.github.com> Date: Wed, 21 Jan 2026 10:53:10 -0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=EF=B8=8F=20feat:=20Accessible=20Model?= =?UTF-8?q?=20Selection=20Icons=20and=20Announcements=20(#11454)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: more accessible model selection ui and announcements * chore: formatting --- .../Endpoints/components/EndpointItem.tsx | 25 ++++-- .../components/EndpointModelItem.tsx | 25 ++---- .../Endpoints/components/ModelSpecItem.tsx | 29 +++---- .../Endpoints/components/SearchResults.tsx | 80 ++++++++----------- client/src/locales/en/translation.json | 1 + 5 files changed, 72 insertions(+), 88 deletions(-) diff --git a/client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx b/client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx index 8b7c4f8486..27c1236cb2 100644 --- a/client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx +++ b/client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx @@ -1,4 +1,5 @@ import { useMemo } from 'react'; +import { VisuallyHidden } from '@ariakit/react'; import { Spinner, TooltipAnchor } from '@librechat/client'; import { CheckCircle2, MousePointerClick, SettingsIcon } from 'lucide-react'; import { EModelEndpoint, isAgentsEndpoint, isAssistantsEndpoint } from 'librechat-data-provider'; @@ -126,6 +127,8 @@ export function EndpointItem({ endpoint, endpointIndex }: EndpointItemProps) { ); + const isEndpointSelected = selectedEndpoint === endpoint.value; + if (endpoint.hasModels) { const filteredModels = searchValue ? filterModels( @@ -153,9 +156,17 @@ export function EndpointItem({ endpoint, endpointIndex }: EndpointItemProps) { label={