From a8338b8ff1c150f85453de56fa22f76e6fad506e Mon Sep 17 00:00:00 2001 From: ferenci84 Date: Tue, 29 Jul 2025 11:19:05 +0200 Subject: [PATCH 1/3] add middle mouse button click handling to close tabs in TabBar component --- gui/src/components/TabBar/TabBar.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gui/src/components/TabBar/TabBar.tsx b/gui/src/components/TabBar/TabBar.tsx index 7f881edd5..6d24853c3 100644 --- a/gui/src/components/TabBar/TabBar.tsx +++ b/gui/src/components/TabBar/TabBar.tsx @@ -237,6 +237,13 @@ export const TabBar = React.forwardRef((_, ref) => { key={tab.id} isActive={tab.isActive} onClick={() => handleTabClick(tab.id)} + onAuxClick={(e) => { + // Middle mouse button + if (e.button === 1) { + e.preventDefault(); + handleTabClose(tab.id); + } + }} > {tab.title} Date: Mon, 4 Aug 2025 11:54:35 -0700 Subject: [PATCH 2/3] fix_links --- docs/customize/model-providers/{ => more}/llamastack.mdx | 0 docs/docs.json | 1 + 2 files changed, 1 insertion(+) rename docs/customize/model-providers/{ => more}/llamastack.mdx (100%) diff --git a/docs/customize/model-providers/llamastack.mdx b/docs/customize/model-providers/more/llamastack.mdx similarity index 100% rename from docs/customize/model-providers/llamastack.mdx rename to docs/customize/model-providers/more/llamastack.mdx diff --git a/docs/docs.json b/docs/docs.json index 9fcd181c9..7d1710a4e 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -125,6 +125,7 @@ "customize/model-providers/more/together", "customize/model-providers/more/lmstudio", "customize/model-providers/more/llamacpp", + "customize/model-providers/more/llamastack", "customize/model-providers/more/openrouter", "customize/model-providers/more/huggingfaceinferenceapi", "customize/model-providers/more/cohere", From 1a774a3b25e87cc2edf592f39c4b9bd224322133 Mon Sep 17 00:00:00 2001 From: Kai Wu Date: Mon, 4 Aug 2025 11:58:23 -0700 Subject: [PATCH 3/3] fix more links --- docs/docs.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/docs.json b/docs/docs.json index 7d1710a4e..ff78a5c80 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -705,10 +705,6 @@ "source": "/advanced/model-providers/more/flowise", "destination": "/customize/model-providers/more/flowise" }, - { - "source": "/advanced/model-providers/more/llamastack", - "destination": "/customize/model-providers/llamastack" - }, { "source": "/reference/Model Providers/huggingfaceinferenceapi", "destination": "/customize/model-providers/more/huggingfaceinferenceapi" @@ -741,6 +737,14 @@ "source": "/advanced/model-providers/more/llamacpp", "destination": "/customize/model-providers/more/llamacpp" }, + { + "source": "/reference/Model Providers/llamastack", + "destination": "/customize/model-providers/more/llamastack" + }, + { + "source": "/advanced/model-providers/more/llamastack", + "destination": "/customize/model-providers/more/llamastack" + }, { "source": "/reference/Model Providers/llamafile", "destination": "/customize/model-providers/more/llamafile"