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(channel): don't clear input until after collect mentions (#695)
Seamus5cdfdf52da53
diff --git a/js/app/packages/block-channel/component/BaseInput.tsx b/js/app/packages/block-channel/component/BaseInput.tsxindex 9c0c218007..6626d368fa 100644--- a/js/app/packages/block-channel/component/BaseInput.tsx+++ b/js/app/packages/block-channel/component/BaseInput.tsx@@ -331,8 +331,6 @@ export function BaseInput(props: BaseInputProps) {if (isPendingSend()) return false;setIsPendingSend(true);const content = markdownState();- clearMarkdownArea();- focusMarkdownArea();const args = {content: content,@@ -340,6 +338,9 @@ export function BaseInput(props: BaseInputProps) {mentions: allMentions(),};+ clearMarkdownArea();+ focusMarkdownArea();+props.onSend(args).then(() => {