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
fix(ui): settings and intvite (#3329)
Fake-User7e4cf82a40da
diff --git a/js/app/packages/app/component/app-sidebar/sidebar.tsx b/js/app/packages/app/component/app-sidebar/sidebar.tsxindex 21a46487ce..fc9345046d 100644--- a/js/app/packages/app/component/app-sidebar/sidebar.tsx+++ b/js/app/packages/app/component/app-sidebar/sidebar.tsx@@ -44,7 +44,7 @@ import { AnimatedSearchIcon } from '@macro-icons/wide/animating/search';import { AnimatedSidebarIcon } from '@macro-icons/wide/animating/sidebar';import { AnimatedStarIcon } from '@macro-icons/wide/animating/star';import { AnimatedTaskIcon } from '@macro-icons/wide/animating/task';-import { AnimatedUsersIcon } from '@macro-icons/wide/animating/users';+import { useNotificationSettings } from '@notifications';import { debounce } from '@solid-primitives/scheduled';import { useLocation } from '@solidjs/router';@@ -631,13 +631,6 @@ export const AppSidebar = (props: AppSidebarProps) => {icon={() => <BellIcon class="size-4" />}/></Show>- <SidebarActionButton- label="Invite"- isSlim={isSlim}- onClick={() => setInviteModalOpen(true)}- icon={AnimatedUsersIcon}- />-<SidebarActionButtonlabel="New Split"hotkeyToken={TOKENS.global.createNewSplit}diff --git a/js/app/packages/core/constant/SettingsState.tsx b/js/app/packages/core/constant/SettingsState.tsxindex 6ba95c74de..3dc332fbab 100644--- a/js/app/packages/core/constant/SettingsState.tsx+++ b/js/app/packages/core/constant/SettingsState.tsx@@ -23,7 +23,7 @@ export const [agentSettingsSubTab, setAgentSettingsSubTab] =createSignal<AgentSettingsSubTab>('connectors');export const useSettingsState = () => {- const { insertSplit } = useSplitLayout();+ const { openWithSplit } = useSplitLayout();const getSettingsSplit = () => {const splitManager = globalSplitManager();@@ -40,8 +40,7 @@ export const useSettingsState = () => {const openSettings = (activeTabId?: SettingsTab) => {if (activeTabId) setActiveTabId(activeTabId);- if (isOpen()) return; // Already open- insertSplit({ type: 'component', id: 'settings' });+ openWithSplit({ type: 'component', id: 'settings' }, { activate: true });};const closeSettings = () => {