diff --git a/studio/frontend/public/fonts/FiraCode-VariableFont_wght.ttf b/studio/frontend/public/fonts/FiraCode-VariableFont_wght.ttf new file mode 100644 index 0000000000..d7077f1d64 Binary files /dev/null and b/studio/frontend/public/fonts/FiraCode-VariableFont_wght.ttf differ diff --git a/studio/frontend/src/features/chat/chat-page.tsx b/studio/frontend/src/features/chat/chat-page.tsx index a2d09aac83..8510aece50 100644 --- a/studio/frontend/src/features/chat/chat-page.tsx +++ b/studio/frontend/src/features/chat/chat-page.tsx @@ -14,6 +14,11 @@ import { Settings05Icon, } from "@hugeicons/core-free-icons"; import { HugeiconsIcon } from "@hugeicons/react"; +import { + Tooltip, + TooltipContent, +} from "@/components/ui/tooltip"; +import { Tooltip as TooltipPrimitive } from "radix-ui"; import { useNavigate, useSearch } from "@tanstack/react-router"; import { type ReactElement, @@ -827,9 +832,9 @@ export function ChatPage(): ReactElement {
@@ -877,25 +882,36 @@ export function ChatPage(): ReactElement { {modelsError}
)} -
- {view.mode === "single" && ggufContextLength && contextUsage ? ( - - ) : null} - +
+ {view.mode === "single" && ggufContextLength && contextUsage ? ( + + ) : null} + {!settingsOpen && ( + + + + + + Open configuration + + + )} +
{view.mode === "single" ? ( diff --git a/studio/frontend/src/features/chat/chat-settings-sheet.tsx b/studio/frontend/src/features/chat/chat-settings-sheet.tsx index f8e5d3b495..b3ea9a719d 100644 --- a/studio/frontend/src/features/chat/chat-settings-sheet.tsx +++ b/studio/frontend/src/features/chat/chat-settings-sheet.tsx @@ -52,12 +52,17 @@ import { CodeIcon, Delete02Icon, FloppyDiskIcon, - PencilEdit01Icon, Settings02Icon, + Settings05Icon, SlidersHorizontalIcon, Wrench01Icon, } from "@hugeicons/core-free-icons"; import { HugeiconsIcon } from "@hugeicons/react"; +import { + Tooltip, + TooltipContent, +} from "@/components/ui/tooltip"; +import { Tooltip as TooltipPrimitive } from "radix-ui"; import { AnimatePresence, motion } from "motion/react"; import type { ReactNode } from "react"; import { useEffect, useLayoutEffect, useMemo, useRef, useState } from "react"; @@ -738,15 +743,34 @@ export function ChatSettingsPanel({ const settingsContent = ( <> -
-
- - - Configuration - +
+
+ {isMobile ? ( + + Configuration + + ) : ( + <> + + + + + + Close configuration + + + + Configuration + + + )}