+
+
+
{slackStatus?.connected && slackStatus.teamName ? (
Slack · {slackStatus.teamName}
@@ -385,50 +392,41 @@ export default function CompanyBrainConnections() {
) : null}
-
- {loading ? (
-
- ) : (
- rows.map((row) => (
- connect(row.toolkit, "org")}
- onDisconnect={() => disconnect(row.toolkit, "org")}
- />
- ))
- )}
-
-
+ {description}
+
+
+
{loading ? (
-
+ <>
+
+
+
+ >
) : (
- rows.map((row) => (
-
connect(row.toolkit, "user")}
- onDisconnect={() => disconnect(row.toolkit, "user")}
+ apps.map((entry) => (
+ connect(entry, shared)}
+ onDisconnect={() => disconnect(entry, shared)}
/>
))
)}
-
+
)
}
diff --git a/apps/web/components/settings/settings-content.tsx b/apps/web/components/settings/settings-content.tsx
index 429274b6..1f32b738 100644
--- a/apps/web/components/settings/settings-content.tsx
+++ b/apps/web/components/settings/settings-content.tsx
@@ -91,7 +91,7 @@ const NAV_ITEMS: NavItem[] = [
{
id: "company-brain",
label: "Company Brain",
- description: "GitHub & Linear — org and personal",
+ description: "Connect apps to your brain — org and personal",
icon:
,
},
{
diff --git a/apps/web/components/user-profile-menu.tsx b/apps/web/components/user-profile-menu.tsx
index 77593fb8..13b98155 100644
--- a/apps/web/components/user-profile-menu.tsx
+++ b/apps/web/components/user-profile-menu.tsx
@@ -12,7 +12,14 @@ import {
} from "@ui/components/dropdown-menu"
import { authClient } from "@lib/auth"
import { useRouter } from "next/navigation"
-import { LogOut, Settings, RotateCcw, HelpCircle, LifeBuoy } from "lucide-react"
+import {
+ LogOut,
+ Settings,
+ RotateCcw,
+ HelpCircle,
+ LifeBuoy,
+ Building2,
+} from "lucide-react"
import { cn } from "@lib/utils"
import { dmSansClassName } from "@/lib/fonts"
import { useOrgOnboarding } from "@hooks/use-org-onboarding"
@@ -152,6 +159,13 @@ export function UserProfileMenu({
Settings
+
openSettings("company-brain")}
+ className="gap-2.5 rounded-lg px-2.5 py-2 text-sm font-medium text-white/85 hover:bg-white/[0.06] focus:bg-white/[0.06] focus:text-white cursor-pointer"
+ >
+
+ Company Brain
+
safeCapture("settings_tab_changed", props),
spaceCreated: () => safeCapture("space_created"),