Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

feat(channels): add Ask Macro to the mobile message long-press menu (#8455)

Jacob Beckermanaf74b2e6b009
diff --git a/apps/web/src/features/channel/Mobile/ActionDrawer.tsx b/apps/web/src/features/channel/Mobile/ActionDrawer.tsx
index 6c414a3445..3927fb3635 100644
--- a/apps/web/src/features/channel/Mobile/ActionDrawer.tsx
+++ b/apps/web/src/features/channel/Mobile/ActionDrawer.tsx
@@ -14,6 +14,7 @@ import CopyIcon from '@phosphor/copy.svg';
import LinkIcon from '@phosphor/link.svg';
import PencilIcon from '@phosphor/pencil.svg';
import SmileyIcon from '@phosphor/smiley.svg';
+import SparkleIcon from '@phosphor/sparkle.svg';
import TrashIcon from '@phosphor/trash.svg';
import {
type Component,
@@ -34,7 +35,8 @@ type ActionId =
| 'copy-message-text'
| 'edit'
| 'delete'
- | 'create-task';
+ | 'create-task'
+ | 'ask-macro';
type ActionItem = {
id: ActionId;
@@ -83,6 +85,12 @@ function buildActionItems(
icon: CheckSquareIcon,
onClick: actions?.onCreateTask,
},
+ {
+ id: 'ask-macro',
+ label: 'Ask Macro',
+ icon: SparkleIcon,
+ onClick: actions?.onChat,
+ },
{
id: 'edit',
label: 'Edit',
diff --git a/docs/agent-guide/ai-chat.md b/docs/agent-guide/ai-chat.md
index a2f24f2cf8..0efe937fac 100644
--- a/docs/agent-guide/ai-chat.md
+++ b/docs/agent-guide/ai-chat.md
@@ -259,7 +259,8 @@ code files, images, canvases, spreadsheets, email, channels, calls, and projects
also open agent sessions. Like command-menu Ask AI, they open the bare session in
a new split, without the Agents workspace's conversation sidebar. Their entity mention stays
in the composer as an unsent draft. Spreadsheet mentions retain the current sheet
-and selected range; channel-message actions retain the referenced message.
+and selected range; channel-message actions retain the referenced message. On
+phones, the channel message long-press drawer offers the same action as **Ask Macro**.
Add a question and press Send to submit that context. These actions do not create
legacy cognition chats, regardless of the Agents workspace feature flag.