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
import { useGlobalNotificationSource } from '@components/app/GlobalAppState';
import { NotificationsDrawer } from '@core/component/NotificationsModal';
import type { ParentProps } from 'solid-js';
import { useMarkdownDocument } from '../context/markdown-document-context';
export function ModalsProvider(props: ParentProps) {
const { documentId } = useMarkdownDocument();
const notificationSource = useGlobalNotificationSource();
return (
<>
{props.children}
<NotificationsDrawer
entity={{ id: documentId(), type: 'document' }}
notificationSource={notificationSource}
/>
</>
);
}