Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Studio: move composer settings into More (#11087)

Michael Hanf70af706b10a
diff --git a/studio/frontend/src/components/assistant-ui/thread.tsx b/studio/frontend/src/components/assistant-ui/thread.tsx
index 08b6781b715..08abbc60938 100644
--- a/studio/frontend/src/components/assistant-ui/thread.tsx
+++ b/studio/frontend/src/components/assistant-ui/thread.tsx
@@ -6614,28 +6614,26 @@ const ComposerToolsMenu: FC<{
{pinnedPlusItems.map((id) => (
<Fragment key={id}>{plusMenuNodes[id]}</Fragment>
))}
- {overflowPlusItems.length > 0 ? (
- <DropdownMenuSub>
- <DropdownMenuSubTrigger>
- <MoreHorizontalIcon className="size-4" />
- More
- </DropdownMenuSubTrigger>
- <DropdownMenuSubContent className="unsloth-plus-menu w-[248px]">
- {overflowPlusItems.map((id) => (
- <Fragment key={id}>{plusMenuNodes[id]}</Fragment>
- ))}
- </DropdownMenuSubContent>
- </DropdownMenuSub>
- ) : null}
- <DropdownMenuSeparator />
- <DropdownMenuItem
- onSelect={() => useSettingsDialogStore.getState().openDialog("chat", {
- scrollTarget: "chat-composer",
- })}
- >
- <SlidersHorizontalIcon className="size-4" />
- {t("composerSettings.settings")}
- </DropdownMenuItem>
+ <DropdownMenuSub>
+ <DropdownMenuSubTrigger>
+ <MoreHorizontalIcon className="size-4" />
+ More
+ </DropdownMenuSubTrigger>
+ <DropdownMenuSubContent className="unsloth-plus-menu w-[248px]">
+ {overflowPlusItems.map((id) => (
+ <Fragment key={id}>{plusMenuNodes[id]}</Fragment>
+ ))}
+ {overflowPlusItems.length > 0 && <DropdownMenuSeparator />}
+ <DropdownMenuItem
+ onSelect={() => useSettingsDialogStore.getState().openDialog("chat", {
+ scrollTarget: "chat-composer",
+ })}
+ >
+ <SlidersHorizontalIcon className="size-4" />
+ {t("composerSettings.settings")}
+ </DropdownMenuItem>
+ </DropdownMenuSubContent>
+ </DropdownMenuSub>
</DropdownMenuContent>
</DropdownMenu>
<NewProjectDialog
diff --git a/studio/frontend/src/features/chat/shared-composer.tsx b/studio/frontend/src/features/chat/shared-composer.tsx
index ee753ecc204..411193e0a39 100644
--- a/studio/frontend/src/features/chat/shared-composer.tsx
+++ b/studio/frontend/src/features/chat/shared-composer.tsx
@@ -2490,28 +2490,26 @@ export function SharedComposer({
{pinnedPlusItems.map((id) => (
<Fragment key={id}>{plusMenuNodes[id]}</Fragment>
))}
- {overflowPlusItems.length > 0 ? (
- <DropdownMenuSub>
- <DropdownMenuSubTrigger>
- <MoreHorizontalIcon className="size-4" />
- More
- </DropdownMenuSubTrigger>
- <DropdownMenuSubContent className="unsloth-plus-menu w-[248px]">
- {overflowPlusItems.map((id) => (
- <Fragment key={id}>{plusMenuNodes[id]}</Fragment>
- ))}
- </DropdownMenuSubContent>
- </DropdownMenuSub>
- ) : null}
- <DropdownMenuSeparator />
- <DropdownMenuItem
- onSelect={() => useSettingsDialogStore.getState().openDialog("chat", {
- scrollTarget: "chat-composer",
- })}
- >
- <SlidersHorizontalIcon className="size-4" />
- {t("composerSettings.settings")}
- </DropdownMenuItem>
+ <DropdownMenuSub>
+ <DropdownMenuSubTrigger>
+ <MoreHorizontalIcon className="size-4" />
+ More
+ </DropdownMenuSubTrigger>
+ <DropdownMenuSubContent className="unsloth-plus-menu w-[248px]">
+ {overflowPlusItems.map((id) => (
+ <Fragment key={id}>{plusMenuNodes[id]}</Fragment>
+ ))}
+ {overflowPlusItems.length > 0 && <DropdownMenuSeparator />}
+ <DropdownMenuItem
+ onSelect={() => useSettingsDialogStore.getState().openDialog("chat", {
+ scrollTarget: "chat-composer",
+ })}
+ >
+ <SlidersHorizontalIcon className="size-4" />
+ {t("composerSettings.settings")}
+ </DropdownMenuItem>
+ </DropdownMenuSubContent>
+ </DropdownMenuSub>
</DropdownMenuContent>
</DropdownMenu>
{/* Active in compare mode; sits first. Click to exit back to single chat. */}