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(mentions): restore chats in mentions search (#1690)
Seamus6d2ab4a0a02f
diff --git a/js/app/packages/core/component/LexicalMarkdown/component/menu/MentionsMenu/MentionsMenu.tsx b/js/app/packages/core/component/LexicalMarkdown/component/menu/MentionsMenu/MentionsMenu.tsxindex 44bf3a62b1..9b17eff1de 100644--- a/js/app/packages/core/component/LexicalMarkdown/component/menu/MentionsMenu/MentionsMenu.tsx+++ b/js/app/packages/core/component/LexicalMarkdown/component/menu/MentionsMenu/MentionsMenu.tsx@@ -97,7 +97,7 @@ function MentionsMenuInner(props: MentionsMenuProps) {});const { searchedEntities: docs } = useEntityMention({- buckets: ['note', 'task', 'document', 'project'],+ buckets: ['note', 'task', 'document', 'project', 'chat'],searchTerm,});@@ -197,7 +197,7 @@ function MentionsMenuInner(props: MentionsMenuProps) {},{id: 'documents',- label: 'Documents & Tasks',+ label: 'Documents, Agents, & Tasks',getData: () => docs() ?? [],getFullCount: () => docs()?.length ?? 0,},