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(notifications): stop calling the Android permission prompt a browser one (#9159)
Peter Chinman071bcea881c2
diff --git a/apps/web/AGENTS.md b/apps/web/AGENTS.mdindex 013f5f0e4e..f73e4f7ad2 100644--- a/apps/web/AGENTS.md+++ b/apps/web/AGENTS.md@@ -333,7 +333,8 @@ resolved session ID; keep the existing `AgentSessionProvider` subscription tocontrols live under collapsed Advanced settings. See the[Bots walkthrough](../../docs/agent-guide/settings.md#bots).- Label the notification permission toast **Enable Desktop Notifications** in- the desktop app and keep its Enable action on the native notification provider.+ the desktop app and **Enable Notifications** in the Android app, and keep+ their Enable action on the native notification provider.- Keep signed-out Drive document routes on the shared detail viewer withoutmounting private list/sidebar sources; let document access checks decide visibility.- Gate account-only queries, comment readers, and account WebSockets on confirmeddiff --git a/apps/web/src/features/notifications/components/BrowserNotificationModal.tsx b/apps/web/src/features/notifications/components/BrowserNotificationModal.tsxindex 1c155f26c3..5e0b8bbef2 100644--- a/apps/web/src/features/notifications/components/BrowserNotificationModal.tsx+++ b/apps/web/src/features/notifications/components/BrowserNotificationModal.tsx@@ -33,15 +33,20 @@ export const BrowserNotificationModal = () => {);};+/** Native apps ask for app notifications; only the web app uses the browser's. */+function promptTitle() {+ if (isPlatform('desktop')) return 'Enable Desktop Notifications';+ if (isPlatform('android')) return 'Enable Notifications';+ return 'Enable Browser Notifications';+}+function NotificationToastTrigger(props: {settings: SupportedNotificationSettings;}) {onMount(() => {const toastId = toast.custom({- title: isPlatform('desktop')- ? 'Enable Desktop Notifications'- : 'Enable Browser Notifications',+ title: promptTitle(),icon: Bell,color: 'var(--color-accent)',content: () => (diff --git a/docs/agent-guide/settings.md b/docs/agent-guide/settings.mdindex aaaabbe369..4ecda87394 100644--- a/docs/agent-guide/settings.md+++ b/docs/agent-guide/settings.md@@ -113,8 +113,10 @@ under that action, including the account catalog's durable refresh.After onboarding, an eligible desktop app user sees **Enable DesktopNotifications**. Select **Enable** to request permission through the native-notification provider; macOS uses its system permission dialog. The web prompt-continues to say **Enable Browser Notifications** and uses browser permissions.+notification provider; macOS uses its system permission dialog. The Android app+says **Enable Notifications** and requests the Android notification permission+through the same native provider. The web prompt says **Enable Browser+Notifications** and uses browser permissions.Select **Hide** to dismiss the prompt. It waits in the same region as otherprompts, one card at a time.