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
style(command): no animate on dialog open by default (#5019)
Seamus93a82e001f90
diff --git a/apps/web/src/components/ui/components/Dialog.tsx b/apps/web/src/components/ui/components/Dialog.tsxindex 5583a0d6bd..e86016de7a 100644--- a/apps/web/src/components/ui/components/Dialog.tsx+++ b/apps/web/src/components/ui/components/Dialog.tsx@@ -16,11 +16,12 @@ export type DialogProps = {contentRef?: Ref<HTMLDivElement> /* content element ref */;position?: 'top' | 'center' /* Vertical position */;/** Edge-to-edge takeover: fills the viewport with no gutter or centering. */- fullscreen?: boolean /* Fill the viewport */;- children: JSX.Element /* Content children */;- class?: string /* classes for content */;- open: boolean /* if dialog is open */;+ fullscreen?: boolean /* Fill the viewport */;+ children: JSX.Element /* Content children */;+ class?: string /* classes for content */;+ open: boolean /* if dialog is open */;visibleScrim?: boolean /* if the scrim is visible */;+ animate?: boolean /* is the menu/dialog animated on open */;};export function Dialog(props: DialogProps) {@@ -34,7 +35,7 @@ export function Dialog(props: DialogProps) {openDialogCount > 0 ||performance.now() - lastAllDialogsClosedAt < DIALOG_HANDOFF_WINDOW_MS;- setAnimateOnOpen(!isDialogHandoff);+ setAnimateOnOpen(!isDialogHandoff && Boolean(props.animate));openDialogCount += 1;countedOpen = true;}diff --git a/apps/web/src/features/command/Launcher.tsx b/apps/web/src/features/command/Launcher.tsxindex 363e22f1df..9cce4310ff 100644--- a/apps/web/src/features/command/Launcher.tsx+++ b/apps/web/src/features/command/Launcher.tsx@@ -760,7 +760,7 @@ export const LauncherInner = (props: LauncherInnerProps) => {return (<CommandMenuShelldepth={2}- class="h-auto w-fit max-w-[calc(100vw-2rem)] shadow-menu menu-open-animation"+ class="h-auto w-fit max-w-[calc(100vw-2rem)] shadow-menu"><CommandMenuShell.Header class="my-0 justify-between p-2 px-4 sm:px-6 bg-surface"><h1 class="font-bold text-ink-muted">Create New</h1>