From 88e40de89aaebaccfee51f765ccc9ec2d0b5719f Mon Sep 17 00:00:00 2001 From: Jason Date: Sat, 3 Oct 2026 21:42:09 +0800 Subject: [PATCH] fix(shell): group shared config first in the global sidebar menu Order is now MCP, Skills, Prompts, Sessions, Authorization, Usage: the three configs synced to clients stay together, and Usage with its daily cost sits right above the bottom bar. --- src/components/shell/Sidebar.tsx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/components/shell/Sidebar.tsx b/src/components/shell/Sidebar.tsx index 22aaaee56..c6e3e10f4 100644 --- a/src/components/shell/Sidebar.tsx +++ b/src/components/shell/Sidebar.tsx @@ -221,22 +221,22 @@ function MainDirectory({ trailing?: string; alert?: string; }[] = [ - { - page: "usage", - label: t("nav.usage"), - icon: ChartColumn, - trailing: todayLabel, - }, + { page: "mcp", label: "MCP", icon: Server }, + { page: "skills", label: "Skills", icon: SkillsIcon }, + { page: "prompts", label: t("nav.prompts"), icon: BookOpen }, + { page: "sessions", label: t("nav.sessions"), icon: History }, { page: "auth", label: t("nav.auth"), icon: KeyRound, alert: authNeedsAttention ? t("nav.authNeedsReauth") : undefined, }, - { page: "mcp", label: "MCP", icon: Server }, - { page: "skills", label: "Skills", icon: SkillsIcon }, - { page: "prompts", label: t("nav.prompts"), icon: BookOpen }, - { page: "sessions", label: t("nav.sessions"), icon: History }, + { + page: "usage", + label: t("nav.usage"), + icon: ChartColumn, + trailing: todayLabel, + }, ]; const isGlobalSelected = (page: GlobalPage) =>