diff --git a/.claude/lint-check.sh b/.claude/lint-check.sh
deleted file mode 100755
index de9496951..000000000
--- a/.claude/lint-check.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-# Get file path from hook input
-FILE_PATH=$(cat | jq -r '.tool_input.file_path // .tool_input.edits[].file_path // empty' | head -n1)
-
-# Function to run lint and typecheck
-run_checks() {
- local dir=$1
- cd "$dir"
- npm run lint >&2 && npm run tsc:check >&2
-}
-
-# Run checks based on file location
-if [[ "$FILE_PATH" == *"/core/"* ]]; then
- run_checks core
-elif [[ "$FILE_PATH" == *"/gui/"* ]]; then
- run_checks gui
-elif [[ "$FILE_PATH" == *"/extensions/vscode/"* ]]; then
- run_checks extensions/vscode
-fi
\ No newline at end of file
diff --git a/.claude/settings.json b/.claude/settings.json
deleted file mode 100644
index 6aa60b2c8..000000000
--- a/.claude/settings.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "hooks": {
- "PostToolUse": [
- {
- "matcher": "Write|Edit|MultiEdit",
- "hooks": [
- {
- "type": "command",
- "command": "$CLAUDE_PROJECT_DIR/.claude/lint-check.sh"
- }
- ]
- }
- ]
- }
-}
diff --git a/gui/src/components/gui/Tooltip.tsx b/gui/src/components/gui/Tooltip.tsx
index dcd3a8255..cde834d11 100644
--- a/gui/src/components/gui/Tooltip.tsx
+++ b/gui/src/components/gui/Tooltip.tsx
@@ -9,7 +9,7 @@ import { fontSize } from "../../util";
const TooltipStyles: CSSProperties = {
fontSize: fontSize(-4),
backgroundColor: vscBackground,
- outline: `0.5px solid ${varWithFallback("badge-background")}`,
+ outline: `0.5px solid ${varWithFallback("description")}`,
color: vscForeground,
padding: "4px 8px",
zIndex: 1000,
diff --git a/gui/src/pages/config/AccountSection.tsx b/gui/src/pages/config/AccountSection.tsx
new file mode 100644
index 000000000..61a15bc2e
--- /dev/null
+++ b/gui/src/pages/config/AccountSection.tsx
@@ -0,0 +1,96 @@
+import { UserCircleIcon } from "@heroicons/react/24/solid";
+import { isOnPremSession } from "core/control-plane/AuthTypes";
+import { ScopeSelect } from "../../components/AssistantAndOrgListbox/ScopeSelect";
+import { Button } from "../../components/ui";
+import { useAuth } from "../../context/Auth";
+import { useAppSelector } from "../../redux/hooks";
+import { selectCurrentOrg } from "../../redux/slices/profilesSlice";
+
+export function AccountSection() {
+ const { session, logout, login, organizations } = useAuth();
+ const selectedOrg = useAppSelector(selectCurrentOrg);
+
+ if (!session) {
+ return (
+
+
+
+
Not signed in
+
Sign in to access your account settings
+
login(false)}
+ >
+ Sign in
+
+
+
+ );
+ }
+
+ // For on-prem deployments, show basic account info
+ if (isOnPremSession(session)) {
+ return (
+
+
+
+
+
Account
+
On-premise deployment
+
+
+
+
+
Account Information
+
Account details not available for on-premise deployments
+
+
+ );
+ }
+
+ return (
+
+
+
+
+
Account
+
Manage your account settings
+
+
+
+
+
Account Information
+
+
+ {session.account.label}
+
+
+ {session.account.id}
+
+
+ {organizations.length > 0 && (
+
+
+ Organization
+
+
+
+
+
+ )}
+
+
+
+
+
Actions
+
+ Sign out
+
+
+
+ );
+}
\ No newline at end of file
diff --git a/gui/src/pages/config/index.tsx b/gui/src/pages/config/index.tsx
index abfbfd8fd..9fd94f13b 100644
--- a/gui/src/pages/config/index.tsx
+++ b/gui/src/pages/config/index.tsx
@@ -1,4 +1,5 @@
import {
+ ArrowLeftIcon,
BoltIcon,
CircleStackIcon,
Cog6ToothIcon,
@@ -8,16 +9,18 @@ import {
Squares2X2Icon,
WrenchScrewdriverIcon,
} from "@heroicons/react/24/outline";
+import { UserCircleIcon } from "@heroicons/react/24/solid";
import { useState } from "react";
import { useNavigate } from "react-router-dom";
+import { v4 as uuidv4 } from "uuid";
+import { ToolTip } from "../../components/gui/Tooltip";
import MCPSection from "../../components/mainInput/Lump/sections/mcp/MCPSection";
import { ModelsSection } from "../../components/mainInput/Lump/sections/ModelsSection";
import { RulesSection } from "../../components/mainInput/Lump/sections/RulesSection";
import { ToolPoliciesSection } from "../../components/mainInput/Lump/sections/tool-policies/ToolPoliciesSection";
-import { PageHeader } from "../../components/PageHeader";
import { useNavigationListener } from "../../hooks/useNavigationListener";
import { fontSize } from "../../util";
-import { AccountButton } from "./AccountButton";
+import { AccountSection } from "./AccountSection";
import { HelpCenterSection } from "./HelpCenterSection";
import { IndexingSettingsSection } from "./IndexingSettingsSection";
import KeyboardShortcuts from "./KeyboardShortcuts";
@@ -36,6 +39,12 @@ function ConfigPage() {
const [activeTab, setActiveTab] = useState("settings");
const tabs: TabOption[] = [
+ {
+ id: "account",
+ label: "Account",
+ component: ,
+ icon: ,
+ },
{
id: "settings",
label: "Settings",
@@ -64,28 +73,6 @@ function ConfigPage() {
),
icon: ,
},
- // {
- // id: "docs",
- // label: "Docs",
- // component: (
- //
- //
Documentation
- //
- //
- // ),
- // icon: ,
- // },
- // {
- // id: "prompts",
- // label: "Prompts",
- // component: (
- //
- // ),
- // icon: ,
- // },
{
id: "mcp",
label: "MCP",
@@ -128,53 +115,78 @@ function ConfigPage() {
];
return (
-
- {/* Header and tabs section */}
-
- {/* Header - only show on mobile/tablet */}
-
-
navigate("/")}
- title="Chat"
- rightContent={ }
- />
-
+
+ {/* Vertical Sidebar - full height */}
+
+ {/* Sidebar content */}
+
+ {/* Back Button */}
+
navigate("/")}
+ data-tooltip-id="back-tooltip"
+ style={{
+ fontSize: fontSize(-2),
+ }}
+ >
+
+
Back
+
- {/* Tab Headers */}
-
- {tabs.map((tab) => (
-
setActiveTab(tab.id)}
- >
- {tab.icon}
- {tab.label}
-
- ))}
+ {/* Back button tooltip for small screens only */}
+
+ Back
+
+
+ {/* Small gap between back button and tabs */}
+
+
+ {/* Tab Headers */}
+ {tabs.map((tab) => {
+ const tooltipId = `tab-tooltip-${uuidv4()}`;
+ return (
+
+
setActiveTab(tab.id)}
+ data-tooltip-id={tooltipId}
+ >
+ {tab.icon}
+ {tab.label}
+
+
+ {/* Tooltip for small screens only */}
+
+ {tab.label}
+
+
+ );
+ })}
{/* Main content area */}
-
- {/* Header for desktop */}
-
-
navigate("/")}
- title="Chat"
- rightContent={ }
- />
-
-
+
{/* Tab Content */}
-
+
{tabs.find((tab) => tab.id === activeTab)?.component}