diff --git a/ee/tabby-ui/components/chat/chat-panel.tsx b/ee/tabby-ui/components/chat/chat-panel.tsx index 0b8b3748295e..80c40d826f4e 100644 --- a/ee/tabby-ui/components/chat/chat-panel.tsx +++ b/ee/tabby-ui/components/chat/chat-panel.tsx @@ -1,4 +1,4 @@ -import React, { RefObject, useEffect, useMemo, useState } from 'react' +import React, { RefObject, useMemo, useState } from 'react' import slugify from '@sindresorhus/slugify' import { useWindowSize } from '@uidotdev/usehooks' import type { UseChatHelpers } from 'ai/react' @@ -258,7 +258,7 @@ function ChatPanelRenderer( ease: 'easeInOut', duration: 0.1 }} - exit={{ opacity: 0, scale: 0.9, y: 5 }} + exit={{ opacity: 0, scale: 0.9, y: -5 }} > { updateEnableActiveSelection(!enableActiveSelection) }} @@ -303,7 +303,7 @@ function ChatPanelRenderer( ease: 'easeInOut', duration: 0.1 }} - exit={{ opacity: 0, scale: 0.9, y: 5 }} + exit={{ opacity: 0, scale: 0.9, y: -5 }} layout > diff --git a/ee/tabby-ui/components/chat/form-editor/utils.tsx b/ee/tabby-ui/components/chat/form-editor/utils.tsx index c70ef00e45b9..55ad9e5405a8 100644 --- a/ee/tabby-ui/components/chat/form-editor/utils.tsx +++ b/ee/tabby-ui/components/chat/form-editor/utils.tsx @@ -28,7 +28,7 @@ export function fileItemToSourceItem(info: FileItem): SourceItem { */ export const FileItemIcon = () => ( { @@ -161,7 +161,7 @@ export const MentionList = ({ > {/* If no items found, show a simple message */} {!items.length ? ( -
+
Cannot find any files.
) : ( @@ -183,7 +183,7 @@ export const MentionList = ({ > {shortenLabel(item.name)} - + {shortenLabel(item.filepath, 20)} diff --git a/ee/tabby-ui/components/chat/prompt-form.tsx b/ee/tabby-ui/components/chat/prompt-form.tsx index 6cbc31e55ec9..7844834e2a03 100644 --- a/ee/tabby-ui/components/chat/prompt-form.tsx +++ b/ee/tabby-ui/components/chat/prompt-form.tsx @@ -278,7 +278,7 @@ function PromptFormRenderer(
{/* Editor & Submit row */}
- +
{/* TipTap editor content */}