From 4ff829ec2e2f526aa6afba529eebbfb3ef1f95ec Mon Sep 17 00:00:00 2001 From: Benjamin Babik Date: Thu, 17 Sep 2026 10:18:13 +0100 Subject: [PATCH] ui: fix removed reasoning menu in single model mode on desktop (#27985) * ui: fix accidentally removed reasoning menu in single model mode on desktop * ui: formatting task run to fix storybook test * ui: mount the add menu reasoning submenu outside router mode only The models selector already owns the reasoning submenu in router mode, so the add menu only mounts it in single model mode. The first enabled item of the add menu is now the reasoning submenu, the accessibility story expects it. --------- Co-authored-by: Ben Babik Co-authored-by: Pascal --- .../ChatFormActionAddDropdown.svelte | 14 +++++++++++++- .../a11y/ChatScreenForm.a11y.stories.svelte | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddDropdown.svelte b/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddDropdown.svelte index 9c3a9e8912..1ce731845f 100644 --- a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddDropdown.svelte +++ b/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddDropdown.svelte @@ -1,6 +1,10 @@