Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
✂️ fix: Clipped Focus Outlines in Conversation Panel (#11438)
Dustin Healye608c652e56f
diff --git a/client/src/components/Conversations/Conversations.tsx b/client/src/components/Conversations/Conversations.tsxindex b972d251b0..fc66c0977a 100644--- a/client/src/components/Conversations/Conversations.tsx+++ b/client/src/components/Conversations/Conversations.tsx@@ -82,7 +82,7 @@ const ChatsHeader: FC<ChatsHeaderProps> = memo(({ isExpanded, onToggle }) => {return (<buttononClick={onToggle}- className="group flex w-full items-center justify-between px-1 py-2 text-xs font-bold text-text-secondary"+ className="group flex w-full items-center justify-between rounded-lg px-1 py-2 text-xs font-bold text-text-secondary outline-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-black dark:focus-visible:ring-white"type="button"><span className="select-none">{localize('com_ui_chats')}</span>diff --git a/client/src/components/Conversations/Convo.tsx b/client/src/components/Conversations/Convo.tsxindex efdf2c48b2..a4d584a642 100644--- a/client/src/components/Conversations/Convo.tsx+++ b/client/src/components/Conversations/Convo.tsx@@ -148,7 +148,7 @@ export default function Conversation({return (<divclassName={cn(- 'group relative flex h-12 w-full items-center rounded-lg md:h-9',+ 'group relative flex h-12 w-full items-center rounded-lg outline-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-black dark:focus-visible:ring-white md:h-9',isActiveConvo || isPopoverActive? 'bg-surface-active-alt before:absolute before:bottom-1 before:left-0 before:top-1 before:w-0.5 before:rounded-full before:bg-black dark:before:bg-white': 'hover:bg-surface-active-alt',diff --git a/client/src/components/Conversations/ConvoLink.tsx b/client/src/components/Conversations/ConvoLink.tsxindex 9eb0764a70..543407501e 100644--- a/client/src/components/Conversations/ConvoLink.tsx+++ b/client/src/components/Conversations/ConvoLink.tsx@@ -48,7 +48,7 @@ const ConvoLink: React.FC<ConvoLinkProps> = ({</div><divclassName={cn(- 'absolute bottom-0 right-0 top-0 w-20 rounded-r-lg bg-gradient-to-l',+ 'pointer-events-none absolute bottom-0.5 right-0.5 top-0.5 w-20 rounded-r-md bg-gradient-to-l',isActiveConvo || isPopoverActive? 'from-surface-active-alt': 'from-surface-primary-alt from-0% to-transparent group-hover:from-surface-active-alt group-hover:from-40%',diff --git a/client/src/components/Nav/Bookmarks/BookmarkNav.tsx b/client/src/components/Nav/Bookmarks/BookmarkNav.tsxindex 82ed36910f..a68b078b1b 100644--- a/client/src/components/Nav/Bookmarks/BookmarkNav.tsx+++ b/client/src/components/Nav/Bookmarks/BookmarkNav.tsx@@ -101,6 +101,7 @@ const BookmarkNav: FC<BookmarkNavProps> = ({ tags, setTags }: BookmarkNavProps)'flex items-center justify-center','size-10 border-none text-text-primary hover:bg-accent hover:text-accent-foreground','rounded-full border-none p-2 hover:bg-surface-active-alt md:rounded-xl',+ 'outline-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-black dark:focus-visible:ring-white',isMenuOpen ? 'bg-surface-hover' : '',)}data-testid="bookmark-menu"diff --git a/client/src/components/Nav/Favorites/FavoriteItem.tsx b/client/src/components/Nav/Favorites/FavoriteItem.tsxindex 5f09354def..173be27d00 100644--- a/client/src/components/Nav/Favorites/FavoriteItem.tsx+++ b/client/src/components/Nav/Favorites/FavoriteItem.tsx@@ -110,7 +110,7 @@ export default function FavoriteItem({tabIndex={0}aria-label={ariaLabel}className={cn(- 'group relative flex w-full cursor-pointer items-center justify-between rounded-lg px-3 py-2 text-sm text-text-primary hover:bg-surface-active-alt',+ 'group relative flex w-full cursor-pointer items-center justify-between rounded-lg px-3 py-2 text-sm text-text-primary outline-none hover:bg-surface-active-alt focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-black dark:focus-visible:ring-white',isPopoverActive ? 'bg-surface-active-alt' : '',)}onClick={handleClick}diff --git a/client/src/components/Nav/Favorites/FavoritesList.tsx b/client/src/components/Nav/Favorites/FavoritesList.tsxindex 84c0283602..b142b0cfc3 100644--- a/client/src/components/Nav/Favorites/FavoritesList.tsx+++ b/client/src/components/Nav/Favorites/FavoritesList.tsx@@ -282,7 +282,7 @@ export default function FavoritesList({role="button"tabIndex={0}aria-label={localize('com_agents_marketplace')}- className="group relative flex w-full cursor-pointer items-center justify-between rounded-lg px-3 py-2 text-sm text-text-primary hover:bg-surface-active-alt"+ className="group relative flex w-full cursor-pointer items-center justify-between rounded-lg px-3 py-2 text-sm text-text-primary outline-none hover:bg-surface-active-alt focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-black dark:focus-visible:ring-white"onClick={handleAgentMarketplace}onKeyDown={(e) => {if (e.key === 'Enter' || e.key === ' ') {diff --git a/client/src/components/Nav/NewChat.tsx b/client/src/components/Nav/NewChat.tsxindex 1dc92c095f..4f4f64c44f 100644--- a/client/src/components/Nav/NewChat.tsx+++ b/client/src/components/Nav/NewChat.tsx@@ -55,7 +55,7 @@ export default function NewChat({return (<>- <div className="flex items-center justify-between py-[2px] md:py-2">+ <div className="flex items-center justify-between px-0.5 py-[2px] md:py-2"><TooltipAnchordescription={localize('com_nav_close_sidebar')}render={@@ -66,7 +66,7 @@ export default function NewChat({data-testid="close-sidebar-button"aria-label={localize('com_nav_close_sidebar')}aria-expanded={true}- className="rounded-full border-none bg-transparent duration-0 hover:bg-surface-active-alt md:rounded-xl"+ className="rounded-full border-none bg-transparent duration-0 hover:bg-surface-active-alt focus-visible:ring-inset focus-visible:ring-black focus-visible:ring-offset-0 dark:focus-visible:ring-white md:rounded-xl"onClick={handleToggleNav}><Sidebar aria-hidden="true" className="max-md:hidden" />@@ -88,7 +88,7 @@ export default function NewChat({variant="outline"data-testid="nav-new-chat-button"aria-label={localize('com_ui_new_chat')}- className="rounded-full border-none bg-transparent duration-0 hover:bg-surface-active-alt md:rounded-xl"+ className="rounded-full border-none bg-transparent duration-0 hover:bg-surface-active-alt focus-visible:ring-inset focus-visible:ring-black focus-visible:ring-offset-0 dark:focus-visible:ring-white md:rounded-xl"onClick={clickHandler}><NewChatIcon className="icon-lg text-text-primary" />