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 channels]: create task in action drawer (#3090)
Peter Chinmane2f1ea56d58b
diff --git a/js/app/packages/channel/Mobile/ActionDrawer.tsx b/js/app/packages/channel/Mobile/ActionDrawer.tsxindex 620632e25d..7bef2baa92 100644--- a/js/app/packages/channel/Mobile/ActionDrawer.tsx+++ b/js/app/packages/channel/Mobile/ActionDrawer.tsx@@ -1,6 +1,7 @@import { MobileDrawer } from '@app/component/mobile/MobileDrawer';import { EmojiSelector } from '@core/component/Emoji/EmojiSelector';import ReplyIcon from '@icon/regular/arrow-bend-up-left.svg';+import CheckSquareIcon from '@icon/regular/check-square.svg';import CopyIcon from '@icon/regular/copy.svg';import LinkIcon from '@icon/regular/link.svg';import PencilIcon from '@icon/regular/pencil.svg';@@ -25,7 +26,13 @@ import type {const QUICK_REACTION_EMOJIS = ['❤️', '👍', '👎', '😂', '😡'] as const;-type ActionId = 'reply' | 'copy-link' | 'copy-message-text' | 'edit' | 'delete';+type ActionId =+ | 'reply'+ | 'copy-link'+ | 'copy-message-text'+ | 'edit'+ | 'delete'+ | 'create-task';type ActionItem = {id: ActionId;@@ -65,6 +72,12 @@ function buildActionItems(icon: LinkIcon,onClick: actions?.onCopyLink,},+ {+ id: 'create-task',+ label: 'Create task',+ icon: CheckSquareIcon,+ onClick: actions?.onCreateTask,+ },{id: 'edit',label: 'Edit',