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 Framed Textarea Variant in the Skill Editors (#16894)
Marco Berettac3d94a2cdb3c
diff --git a/client/src/components/Skills/dialogs/CreateSkillDialog.tsx b/client/src/components/Skills/dialogs/CreateSkillDialog.tsxindex 5e19cac454..b46176763c 100644--- a/client/src/components/Skills/dialogs/CreateSkillDialog.tsx+++ b/client/src/components/Skills/dialogs/CreateSkillDialog.tsx@@ -205,6 +205,7 @@ export default function CreateSkillDialog({{localize('com_ui_description')}</label><TextareaAutosize+ variant="framed"focusOutline="hidden"id="create-skill-description"minRows={2}@@ -213,7 +214,7 @@ export default function CreateSkillDialog({aria-label={localize('com_ui_description')}aria-invalid={errors.description ? 'true' : 'false'}aria-describedby={errors.description ? 'create-skill-description-error' : undefined}- className="border-border-medium text-text-primary placeholder:text-text-secondary focus-visible:ring-ring-primary w-full resize-none rounded-xl border bg-transparent px-3 py-2 text-sm focus-visible:ring-2"+ className="w-full resize-none px-3 py-2 text-sm"{...register('description', {required: localize('com_ui_skill_description_required'),maxLength: {@@ -241,13 +242,14 @@ export default function CreateSkillDialog({{localize('com_ui_skill_instructions')}</label><TextareaAutosize+ variant="framed"focusOutline="hidden"id="create-skill-body"minRows={6}maxRows={12}placeholder={localize('com_ui_skill_instructions_placeholder')}aria-label={localize('com_ui_skill_instructions')}- className="border-border-medium text-text-primary placeholder:text-text-secondary focus-visible:ring-ring-primary w-full resize-none rounded-xl border bg-transparent px-3 py-2 text-sm focus-visible:ring-2"+ className="w-full resize-none px-3 py-2 text-sm"{...register('body')}/></div>diff --git a/client/src/components/Skills/forms/CreateSkillForm.tsx b/client/src/components/Skills/forms/CreateSkillForm.tsxindex a2112e9a67..b90a258eff 100644--- a/client/src/components/Skills/forms/CreateSkillForm.tsx+++ b/client/src/components/Skills/forms/CreateSkillForm.tsx@@ -226,6 +226,7 @@ export default function CreateSkillForm({<span className="text-text-destructive ml-0.5">*</span></Label><TextareaAutosize+ variant="framed"focusOutline="hidden"{...field}id="skill-description"@@ -235,7 +236,7 @@ export default function CreateSkillForm({aria-label={localize('com_ui_description')}aria-invalid={errors.description ? 'true' : 'false'}aria-describedby={errors.description ? 'skill-description-error' : undefined}- className="border-border-medium text-text-primary placeholder:text-text-secondary focus-visible:ring-ring-primary w-full resize-none rounded-xl border bg-transparent p-3 text-sm focus-visible:ring-2"+ className="w-full resize-none p-3 text-sm"/><p className="text-text-secondary mt-1 text-xs">{localize('com_ui_skill_description_field_hint')}diff --git a/client/src/components/Skills/forms/SkillForm.tsx b/client/src/components/Skills/forms/SkillForm.tsxindex 26648e40de..0eb538178c 100644--- a/client/src/components/Skills/forms/SkillForm.tsx+++ b/client/src/components/Skills/forms/SkillForm.tsx@@ -294,6 +294,7 @@ export default function SkillForm({ skillId }: SkillFormProps) {<span className="text-text-destructive ml-0.5">*</span></Label><TextareaAutosize+ variant="framed"focusOutline="hidden"{...field}id="skill-description"@@ -303,7 +304,7 @@ export default function SkillForm({ skillId }: SkillFormProps) {aria-label={localize('com_ui_description')}aria-invalid={errors.description ? 'true' : 'false'}aria-describedby={errors.description ? 'skill-description-error' : undefined}- className="border-border-medium text-text-primary placeholder:text-text-secondary focus-visible:ring-ring-primary w-full resize-none rounded-xl border bg-transparent p-3 text-sm focus-visible:ring-2"+ className="w-full resize-none p-3 text-sm"/><p className="text-text-secondary mt-1 text-xs">{localize('com_ui_skill_description_field_hint')}diff --git a/eslint-suppressions.json b/eslint-suppressions.jsonindex 9fbc84ccd3..58c505b003 100644--- a/eslint-suppressions.json+++ b/eslint-suppressions.json@@ -1222,7 +1222,7 @@},"client/src/components/Skills/dialogs/CreateSkillDialog.tsx": {"shadcn/no-restyle": {- "count": 26+ "count": 10}},"client/src/components/Skills/display/SkillDetail.tsx": {@@ -1237,7 +1237,7 @@},"client/src/components/Skills/forms/CreateSkillForm.tsx": {"shadcn/no-restyle": {- "count": 14+ "count": 6}},"client/src/components/Skills/forms/SkillContentEditor.tsx": {@@ -1247,7 +1247,7 @@},"client/src/components/Skills/forms/SkillForm.tsx": {"shadcn/no-restyle": {- "count": 14+ "count": 6}},"client/src/components/Skills/lists/SkillListItem.tsx": {