import { Store, ShieldQuestion } from "lucide-react"; import { DEVELOPER_TABS, advancedTabHref, isExperimentalToolTab } from "@/pages/tools/tool-tabs"; import { useSmokeLabEnabled } from "@/hooks/useSmokeLabEnabled"; import { useReviewCount } from "@/pages/apps/useReviewCount"; import { SidebarNavItem } from "./SidebarNavItem"; import { contextualSidebarStyles } from "./contextual-sidebar-styles"; /** * Secondary sidebar for the Apps area. * * Connectors combines discovery, account management, and connection health. * Review keeps governed actions waiting on the user's approval. Advanced * developer surfaces remain hidden unless one is explicitly enabled. */ export function AppsSidebar() { const reviewCount = useReviewCount(); const { enabled: smokeLabEnabled } = useSmokeLabEnabled(); const developerTabs = DEVELOPER_TABS.filter((tab) => { // Temporarily hide Gateways and Profiles until they are ready to ship. // Keep their tab definitions and routes intact so we can bring them back later. if (tab.key === "gateways" || tab.key === "profiles") return false; return !isExperimentalToolTab(tab.key) || smokeLabEnabled; }); return ( ); }