Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
chore(calls): flag off sidebar active calls widget (#3736)
teo91568260bba3
diff --git a/js/app/packages/app/component/app-sidebar/sidebar.tsx b/js/app/packages/app/component/app-sidebar/sidebar.tsxindex 9db2f134a8..82b654d1fc 100644--- a/js/app/packages/app/component/app-sidebar/sidebar.tsx+++ b/js/app/packages/app/component/app-sidebar/sidebar.tsx@@ -39,6 +39,7 @@ import {ENABLE_CALLS,ENABLE_HOME_OVERRIDE,ENABLE_NEW_PRICING_OVERRIDE,+ ENABLE_SIDEBAR_ACTIVE_CALLS,ENABLE_TEAMS_OVERRIDE,} from '@core/constant/featureFlags';import {@@ -1020,7 +1021,7 @@ export const AppSidebar = (props: AppSidebarProps) => {</div><div class="mt-auto">- <Show when={ENABLE_CALLS()}>+ <Show when={ENABLE_CALLS() && ENABLE_SIDEBAR_ACTIVE_CALLS()}><div class="block max-h-[clamp(10%,60%,20rem)]"><SidebarActiveCallWidgetsidebarState={props.sidebarState ?? 'expanded'}diff --git a/js/app/packages/core/constant/featureFlags.ts b/js/app/packages/core/constant/featureFlags.tsindex 4d23359dc0..87bb5f6ac5 100644--- a/js/app/packages/core/constant/featureFlags.ts+++ b/js/app/packages/core/constant/featureFlags.ts@@ -345,6 +345,14 @@ export function ENABLE_CALLS(): boolean {return analytics.posthog.isFeatureEnabled('enable-calls') ?? false;}+// The sidebar active-calls widget fans out to one GET /call/{channelId}/active+// request per channel every 15s. Flagged off until it's batched / socket-driven.+export function ENABLE_SIDEBAR_ACTIVE_CALLS(): boolean {+ return (+ analytics.posthog.isFeatureEnabled('enable-sidebar-active-calls') ?? false+ );+}+export const ENABLE_NEW_ONBOARDING_OVERRIDE = DEV_MODE_ENV ? true : undefined;export const ENABLE_NEW_LOGIN_OVERRIDE = DEV_MODE_ENV ? true : undefined;