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
🧹 refactor: Clear Raw-Color, Unknown-Class and Arbitrary-Value Suppressions (#16829)
Marco Beretta8f681f3f7e92
diff --git a/client/src/components/Auth/Footer.tsx b/client/src/components/Auth/Footer.tsxindex 4867284ec5..4b88c34fa4 100644--- a/client/src/components/Auth/Footer.tsx+++ b/client/src/components/Auth/Footer.tsx@@ -36,10 +36,10 @@ function Footer({ startupConfig }: { startupConfig: TStartupConfig | null | unde);return (- <div className="align-end m-4 flex justify-center gap-2" role="contentinfo">+ <div className="m-4 flex justify-center gap-2" role="contentinfo">{privacyPolicyRender}{privacyPolicyRender && termsOfServiceRender && (- <div className="border-border-medium border-r-[1px]" />+ <div className="border-border-medium border-r" />)}{termsOfServiceRender}</div>diff --git a/client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx b/client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsxindex 563bb071ef..f3ad14ac27 100644--- a/client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx+++ b/client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx@@ -70,7 +70,7 @@ const SettingsButton = ({<spanaria-hidden="true"className={cn(- 'grid overflow-hidden transition-[grid-template-columns,opacity] duration-150 ease-out',+ 'grid overflow-hidden transition-all duration-150 ease-out','grid-cols-[0fr] opacity-0','group-hover/button:grid-cols-[1fr] group-hover/button:opacity-100','group-focus-visible/button:grid-cols-[1fr] group-focus-visible/button:opacity-100',diff --git a/client/src/components/Endpoints/MessageEndpointIcon.tsx b/client/src/components/Endpoints/MessageEndpointIcon.tsxindex 9373a1de2a..12605e0d6e 100644--- a/client/src/components/Endpoints/MessageEndpointIcon.tsx+++ b/client/src/components/Endpoints/MessageEndpointIcon.tsx@@ -78,7 +78,7 @@ const MessageEndpointIcon: React.FC<IconProps> = (props) => {};const errorBadge = error === true && (- <span className="border-surface-primary bg-status-error-strong text-text-on-status absolute top-[1.25rem] right-0 -mr-2 flex h-3 w-3 items-center justify-center rounded-full border text-[10px]">+ <span className="border-surface-primary bg-status-error-strong text-text-on-status text-3xs absolute top-[1.25rem] right-0 -mr-2 flex h-3 w-3 items-center justify-center rounded-full border">!</span>);diff --git a/client/src/components/Endpoints/MinimalIcon.tsx b/client/src/components/Endpoints/MinimalIcon.tsxindex 440e20292d..7864b3175b 100644--- a/client/src/components/Endpoints/MinimalIcon.tsx+++ b/client/src/components/Endpoints/MinimalIcon.tsx@@ -38,7 +38,7 @@ const MinimalIcon: React.FC<IconProps> = (props) => {>{icon}{error === true && (- <span className="border-surface-primary bg-status-error-strong text-text-on-status absolute top-[1.25rem] right-0 -mr-2 flex h-4 w-4 items-center justify-center rounded-full border text-[10px]">+ <span className="border-surface-primary bg-status-error-strong text-text-on-status text-3xs absolute top-[1.25rem] right-0 -mr-2 flex h-4 w-4 items-center justify-center rounded-full border">!</span>)}diff --git a/client/src/components/Nav/AccountSettings.tsx b/client/src/components/Nav/AccountSettings.tsxindex 3490bbb7ac..e707df98c4 100644--- a/client/src/components/Nav/AccountSettings.tsx+++ b/client/src/components/Nav/AccountSettings.tsx@@ -55,7 +55,7 @@ function HelpSubmenu({<Menu.Menuportalgutter={12}- className="account-settings-popover popover-ui popover-from-left z-[126] w-[min(15.25rem,90vw)] rounded-lg"+ className="popover-ui popover-from-left z-[126] w-[min(15.25rem,90vw)] rounded-lg">{hasHelpFaq && (<Menu.MenuItem@@ -133,7 +133,7 @@ function AccountSettings({ collapsed = false }: { collapsed?: boolean }) {</Menu.MenuButton><Menu.Menuportal- className="account-settings-popover popover-ui z-[125] w-[min(19.0625rem,90vw)] rounded-lg md:w-[min(15.25rem,90vw)]"+ className="popover-ui z-[125] w-[min(19.0625rem,90vw)] rounded-lg md:w-[min(15.25rem,90vw)]"style={{transformOrigin: collapsed ? 'left bottom' : 'bottom',translate: collapsed ? '4px 0' : '0 -4px',diff --git a/client/src/components/Nav/KeyboardShortcutsDialog.tsx b/client/src/components/Nav/KeyboardShortcutsDialog.tsxindex e841107363..0224b74d79 100644--- a/client/src/components/Nav/KeyboardShortcutsDialog.tsx+++ b/client/src/components/Nav/KeyboardShortcutsDialog.tsx@@ -93,7 +93,7 @@ function EditingRow({return (<div ref={recorder.boundaryRef} className="flex flex-col gap-1.5"><div className="flex items-center justify-between gap-3">- <span className="text-text-primary truncate text-[13px]">{label}</span>+ <span className="text-text-primary text-1xs truncate">{label}</span><RecorderPillstate={recorder}ariaLabel={localize('com_shortcut_edit_aria', { 0: label })}@@ -165,7 +165,7 @@ function ShortcutRow({><spanclassName={cn(- 'truncate text-[13px]',+ 'text-1xs truncate',isUnset || disabled ? 'text-text-secondary' : 'text-text-primary',)}>@@ -189,7 +189,7 @@ function ShortcutRow({onClick={() => onStartEdit(info.id)}aria-label={editAriaLabel}data-testid={`edit-shortcut-${info.id}`}- className="border-border-medium text-text-secondary hover:border-border-heavy hover:bg-surface-tertiary hover:text-text-primary focus-visible:ring-text-primary dark:hover:bg-surface-secondary-alt inline-flex h-[1.375rem] items-center gap-1 rounded-md border border-dashed bg-transparent px-2 text-[11px] font-medium transition-colors focus-visible:ring-2 focus-visible:outline-hidden"+ className="border-border-medium text-text-secondary hover:border-border-heavy hover:bg-surface-tertiary hover:text-text-primary focus-visible:ring-text-primary dark:hover:bg-surface-secondary-alt text-2xs inline-flex h-[1.375rem] items-center gap-1 rounded-md border border-dashed bg-transparent px-2 font-medium transition-colors focus-visible:ring-2 focus-visible:outline-hidden"><Plus className="h-3 w-3" aria-hidden="true" />{localize('com_shortcut_set')}@@ -237,7 +237,7 @@ function ShortcutGroup({const localize = useLocalize();return (<section className="mb-6 last:mb-0">- <h3 className="text-text-secondary mb-2 px-2 text-[12px] font-medium">+ <h3 className="text-text-secondary mb-2 px-2 text-xs leading-normal font-medium">{localize(groupKey as TranslationKeys)}</h3><div className="flex flex-col">@@ -285,7 +285,7 @@ function PanelsSection({return (<section className="border-border-light mb-6 border-t pt-4 last:mb-0 md:col-span-2 lg:col-span-1 lg:border-t-0 lg:pt-0"><div className="mb-2 flex flex-wrap items-baseline justify-between gap-x-3 px-2">- <h3 className="text-text-secondary text-[12px] font-medium">+ <h3 className="text-text-secondary text-xs leading-normal font-medium">{localize('com_shortcut_group_panels')}</h3><p className="text-text-secondary/80 text-[11.5px]">@@ -394,7 +394,7 @@ function KeyboardShortcutsDialog() {<div className="min-w-0"><LabelhtmlFor={enableSwitchId}- className="text-text-primary cursor-pointer text-[13px] font-medium select-none"+ className="text-text-primary text-1xs cursor-pointer font-medium select-none">{localize('com_shortcut_keyboard_shortcuts')}</Label>@@ -473,7 +473,7 @@ function KeyboardShortcutsDialog() {<buttontype="button"onClick={resetAll}- className="text-text-secondary hover:text-text-primary focus-visible:ring-text-primary text-[12px] transition-colors focus-visible:ring-2 focus-visible:outline-hidden"+ className="text-text-secondary hover:text-text-primary focus-visible:ring-text-primary text-xs leading-normal transition-colors focus-visible:ring-2 focus-visible:outline-hidden">{localize('com_shortcut_reset_all')}</button>diff --git a/client/src/components/Nav/ShortcutKeyCombo.tsx b/client/src/components/Nav/ShortcutKeyCombo.tsxindex cfab59b08a..3b6e849176 100644--- a/client/src/components/Nav/ShortcutKeyCombo.tsx+++ b/client/src/components/Nav/ShortcutKeyCombo.tsx@@ -9,7 +9,7 @@ function ShortcutKbd({ children, className = '' }: { children: ReactNode; classNreturn (<kbdclassName={cn(- 'border-border-light bg-surface-primary-alt text-text-primary inline-flex h-[1.375rem] min-w-[1.375rem] items-center justify-center rounded-md border px-1.5 font-sans text-[11px] leading-none font-medium',+ 'border-border-light bg-surface-primary-alt text-text-primary text-2xs inline-flex h-[1.375rem] min-w-[1.375rem] items-center justify-center rounded-md border px-1.5 font-sans leading-none font-medium',className,)}>diff --git a/eslint-suppressions.json b/eslint-suppressions.jsonindex 9535f43afb..65bd4c5045 100644--- a/eslint-suppressions.json+++ b/eslint-suppressions.json@@ -68,14 +68,6 @@"count": 6}},- "client/src/components/Auth/Footer.tsx": {- "shadcn/no-arbitrary-values": {- "count": 1- },- "shadcn/no-unknown-classes": {- "count": 1- }- },"client/src/components/Auth/TwoFactorScreen.tsx": {"shadcn/no-restyle": {"count": 1@@ -260,11 +252,6 @@"count": 2}},- "client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx": {- "shadcn/no-arbitrary-values": {- "count": 1- }- },"client/src/components/Chat/Menus/Endpoints/components/EndpointModelItem.tsx": {"shadcn/no-restyle": {"count": 1@@ -828,17 +815,11 @@}},"client/src/components/Endpoints/MessageEndpointIcon.tsx": {- "shadcn/no-arbitrary-values": {- "count": 1- },"shadcn/no-restyle": {"count": 3}},"client/src/components/Endpoints/MinimalIcon.tsx": {- "shadcn/no-arbitrary-values": {- "count": 1- },"shadcn/require-static-classes": {"count": 1}@@ -993,9 +974,6 @@"client/src/components/Nav/AccountSettings.tsx": {"shadcn/no-inline-styles": {"count": 3- },- "shadcn/no-unknown-classes": {- "count": 2}},"client/src/components/Nav/ExportConversation/ExportModal.tsx": {@@ -1005,7 +983,7 @@},"client/src/components/Nav/KeyboardShortcutsDialog.tsx": {"shadcn/no-arbitrary-values": {- "count": 11+ "count": 4},"shadcn/no-restyle": {"count": 9@@ -1138,11 +1116,6 @@"count": 2}},- "client/src/components/Nav/ShortcutKeyCombo.tsx": {- "shadcn/no-arbitrary-values": {- "count": 1- }- },"client/src/components/Nav/ShortcutRecorder.tsx": {"shadcn/no-arbitrary-values": {"count": 3