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(mobile): dim the sheet beneath a stacked phone sheet (#8670)
gbirman07842e7659fc
diff --git a/.agents/rules/web/mobile.md b/.agents/rules/web/mobile.mdindex 886c21f7e3..aedfc188ea 100644--- a/.agents/rules/web/mobile.md+++ b/.agents/rules/web/mobile.md@@ -51,6 +51,9 @@ read their code, and follow that pattern rather than inventing a new one.- Phone drawers have a handle and no X; drag, backdrop, or Escape dismiss,and focus returns to the opener. No submenus at phone width: drill inplace with a back row.+- A sheet opened from another sheet stacks on it under its own scrim, which+ shares the sheets' layer (as Dialog's does), so the sheet beneath dims with+ the page and only the top sheet's handle stands out.- Overlays are Kobalte or corvu layers or handle Escape: Android Back sendsEscape to the top layer. Own back stacks use `useAndroidBackNavigation`.- Persistent prompts (`toast.custom` with `persistent`) go to the promptdiff --git a/apps/web/src/components/app/mobile/MobileDrawer.tsx b/apps/web/src/components/app/mobile/MobileDrawer.tsxindex d68fe1cc00..8234330c74 100644--- a/apps/web/src/components/app/mobile/MobileDrawer.tsx+++ b/apps/web/src/components/app/mobile/MobileDrawer.tsx@@ -104,8 +104,11 @@ function MobileDrawerContent(function MobileDrawerOverlay(props: ComponentProps<typeof Drawer.Overlay>) {const [local, rest] = splitProps(props, ['class']);return (+ // On the sheets' own layer, as Dialog's scrim is: a sheet opened from+ // another sheet comes later in the document, so its scrim dims the sheet+ // beneath like the rest of the page.<Drawer.Overlay- class={cn('fixed inset-0 z-modal-overlay scrim-glass', local.class)}+ class={cn('fixed inset-0 z-modal scrim-glass', local.class)}{...rest}/>);diff --git a/docs/agent-guide/calendar.md b/docs/agent-guide/calendar.mdindex c0a8fc5e16..1eb98ebdab 100644--- a/docs/agent-guide/calendar.md+++ b/docs/agent-guide/calendar.md@@ -466,8 +466,8 @@ composer even when another one is open. Deleting an event asks first, and says gnotified only when someone besides you is on it.With the `enable-calendar-guest-invites` flag on, a third icon button, `Add guests`, showswhenever the event's `viewerCan.inviteGuests` allows it, including for a guest whose-organizer lets guests invite. It opens an editor anchored to the button (a bottom sheet on-phones): the current guests are listed under `Invited` without a remove control, the picker+organizer lets guests invite. It opens an editor anchored to the button (on phones, a bottom+sheet stacked over the dimmed event details, showing one bright handle): the current guests are listed under `Invited` without a remove control, the pickeradds people, each new guest has an `Optional` checkbox, a recurring event offers `Thisevent` / `All events` (`All events` by default, like the editor's recurring edits), and`Send invitations` (or Cmd/Ctrl+Enter) sends them; Escape closes. The new guests appear at