diff --git a/client/src/components/Prompts/Groups/List.tsx b/client/src/components/Prompts/Groups/List.tsx index 2c33ab78d5..027acf31c2 100644 --- a/client/src/components/Prompts/Groups/List.tsx +++ b/client/src/components/Prompts/Groups/List.tsx @@ -1,4 +1,4 @@ -import { Plus } from 'lucide-react'; +import { FileText, Plus } from 'lucide-react'; import { Link } from 'react-router-dom'; import { Button, Skeleton } from '@librechat/client'; import { PermissionTypes, Permissions } from 'librechat-data-provider'; @@ -53,14 +53,22 @@ export default function List({ Array.from({ length: 10 }).map((_, index: number) => ( ))} - {!isLoading && groups.length === 0 && isChatRoute && ( -
- {localize('com_ui_nothing_found')} -
- )} - {!isLoading && groups.length === 0 && !isChatRoute && ( -
- {localize('com_ui_nothing_found')} + {!isLoading && groups.length === 0 && ( +
+
+
+

+ {localize('com_ui_no_prompts_title')} +

+

+ {localize('com_ui_add_first_prompt')} +

)} {groups.map((group) => { diff --git a/client/src/components/SidePanel/Agents/MCPIcon.tsx b/client/src/components/SidePanel/Agents/MCPIcon.tsx index 2ac57d2927..c6ca84f806 100644 --- a/client/src/components/SidePanel/Agents/MCPIcon.tsx +++ b/client/src/components/SidePanel/Agents/MCPIcon.tsx @@ -27,11 +27,22 @@ export default function MCPIcon({ icon, onIconChange }: MCPIconProps) { } }; + const handleKeyDown = (e: React.KeyboardEvent) => { + if (e.key === 'Enter' || e.key === ' ') { + e.preventDefault(); + handleClick(); + } + }; + return (
{previewUrl ? ( -
-