From 40cb0a71b4ea59e0b54b0932860f6f1eafb58570 Mon Sep 17 00:00:00 2001 From: Michael Han <107991372+shimmyshimmer@users.noreply.github.com> Date: Fri, 12 Jun 2026 04:13:22 -0700 Subject: [PATCH] Studio: model selector and settings polish (#6240) Removes the empty band under Eject loaded model, centers the trigger chevrons, moves the model reload Apply and Reset buttons above Chat Template so they sit under the settings they apply, matches the settings nav divider to the sidebar line, and bumps the settings tab headings slightly. --- .../src/components/assistant-ui/model-selector.tsx | 8 ++++---- studio/frontend/src/features/chat/chat-settings-sheet.tsx | 8 ++++++-- .../src/features/chat/components/project-switcher.tsx | 2 +- studio/frontend/src/features/settings/settings-dialog.tsx | 2 +- studio/frontend/src/features/settings/tabs/about-tab.tsx | 2 +- .../frontend/src/features/settings/tabs/api-keys-tab.tsx | 2 +- .../src/features/settings/tabs/appearance-tab.tsx | 2 +- .../frontend/src/features/settings/tabs/general-tab.tsx | 2 +- .../frontend/src/features/settings/tabs/profile-tab.tsx | 2 +- 9 files changed, 17 insertions(+), 13 deletions(-) diff --git a/studio/frontend/src/components/assistant-ui/model-selector.tsx b/studio/frontend/src/components/assistant-ui/model-selector.tsx index b8d1bc0f00..fa6980824f 100644 --- a/studio/frontend/src/components/assistant-ui/model-selector.tsx +++ b/studio/frontend/src/components/assistant-ui/model-selector.tsx @@ -189,7 +189,7 @@ function ModelSelectorTrigger({ @@ -247,7 +247,7 @@ function ModelSelectorContent({ alignOffset={10} data-tour={dataTour} className={cn( - "unsloth-model-selector-menu menu-soft-surface ring-0 w-[min(440px,calc(100vw-1rem))] max-w-[calc(100vw-1rem)] min-w-0 gap-0 p-3", + "unsloth-model-selector-menu menu-soft-surface ring-0 w-[min(440px,calc(100vw-1rem))] max-w-[calc(100vw-1rem)] min-w-0 gap-0 px-3 pt-3 pb-2", className, )} > @@ -307,7 +307,7 @@ function ModelSelectorContent({ )} {onPickLocalModel ? ( -
+
)} +
)} diff --git a/studio/frontend/src/features/chat/components/project-switcher.tsx b/studio/frontend/src/features/chat/components/project-switcher.tsx index 08e252a2c2..f0ca190bd5 100644 --- a/studio/frontend/src/features/chat/components/project-switcher.tsx +++ b/studio/frontend/src/features/chat/components/project-switcher.tsx @@ -62,7 +62,7 @@ export function ProjectSwitcher({ diff --git a/studio/frontend/src/features/settings/settings-dialog.tsx b/studio/frontend/src/features/settings/settings-dialog.tsx index 0d10ff722a..1e5f60ca76 100644 --- a/studio/frontend/src/features/settings/settings-dialog.tsx +++ b/studio/frontend/src/features/settings/settings-dialog.tsx @@ -139,7 +139,7 @@ export function SettingsDialog() { {t("settings.dialog.description")}
-