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: Use the Embedded Input Variant in the Command Popovers (#16901)
Marco Beretta4577f481b20b
diff --git a/client/src/components/Chat/Input/PromptsCommand.tsx b/client/src/components/Chat/Input/PromptsCommand.tsxindex 48db1c6a28..c4328388c7 100644--- a/client/src/components/Chat/Input/PromptsCommand.tsx+++ b/client/src/components/Chat/Input/PromptsCommand.tsx@@ -221,7 +221,8 @@ function PromptsCommand({<Inputref={initInputRef}placeholder={localize('com_ui_command_usage_placeholder')}- className="bg-surface-tertiary-alt mb-1 h-auto w-full rounded-none border-0 p-2"+ variant="embedded"+ className="mb-1"autoComplete="off"value={searchValue}onKeyDown={(e) => {diff --git a/client/src/components/Chat/Input/SkillsCommand.tsx b/client/src/components/Chat/Input/SkillsCommand.tsxindex 0d8d60ac37..f8823cdb6e 100644--- a/client/src/components/Chat/Input/SkillsCommand.tsx+++ b/client/src/components/Chat/Input/SkillsCommand.tsx@@ -290,7 +290,8 @@ function SkillsCommandContent({<Inputref={initInputRef}placeholder={localize('com_ui_skills_command_placeholder')}- className="bg-surface-tertiary-alt mb-1 h-auto w-full rounded-none border-0 p-2"+ variant="embedded"+ className="mb-1"autoComplete="off"value={searchValue}onKeyDown={(e) => {diff --git a/client/src/components/Input/Generations/Button.tsx b/client/src/components/Input/Generations/Button.tsxindex 42dfbd8992..fd51c91b37 100644--- a/client/src/components/Input/Generations/Button.tsx+++ b/client/src/components/Input/Generations/Button.tsx@@ -32,7 +32,7 @@ export default function Button({<div className="flex w-full items-center justify-center gap-2">{children}{shortcutDisplay && (- <span className="border-border-light text-text-secondary hidden rounded-md border px-1.5 py-0.5 text-[10px] leading-none md:inline-flex">+ <span className="border-border-light text-text-secondary text-3xs hidden rounded-md border px-1.5 py-0.5 leading-none md:inline-flex">{shortcutDisplay}</span>)}diff --git a/eslint-suppressions.json b/eslint-suppressions.jsonindex 58c505b003..1ae7489cf1 100644--- a/eslint-suppressions.json+++ b/eslint-suppressions.json@@ -148,21 +148,11 @@"count": 3}},- "client/src/components/Chat/Input/PromptsCommand.tsx": {- "shadcn/no-restyle": {- "count": 4- }- },"client/src/components/Chat/Input/QuoteButton.tsx": {"shadcn/no-inline-styles": {"count": 1}},- "client/src/components/Chat/Input/SkillsCommand.tsx": {- "shadcn/no-restyle": {- "count": 4- }- },"client/src/components/Chat/Input/TokenUsage/Breakdown.tsx": {"shadcn/no-restyle": {"count": 10@@ -627,11 +617,6 @@"count": 4}},- "client/src/components/Input/Generations/Button.tsx": {- "shadcn/no-arbitrary-values": {- "count": 1- }- },"client/src/components/Input/Generations/Regenerate.tsx": {"shadcn/no-restyle": {"count": 1@@ -1401,4 +1386,4 @@"count": 2}}-}\ No newline at end of file+}