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(ai): Chat notifications (#2341)
Eric Hayes0b2320a6cd8c
diff --git a/js/app/packages/app/component/next-soup/soup-view/soup-view.tsx b/js/app/packages/app/component/next-soup/soup-view/soup-view.tsxindex 0b55193cc8..58d20c2159 100644--- a/js/app/packages/app/component/next-soup/soup-view/soup-view.tsx+++ b/js/app/packages/app/component/next-soup/soup-view/soup-view.tsx@@ -123,6 +123,16 @@ const useSoupNotificationInvalidators = () => {});+ createEffectOnEntityTypeNotification(+ notificationSource,+ 'chat',+ (notification) => {+ refetchSoupEntity(notification.entity_id, 'chat');+ invalidateSoupEntity(notification.entity_id);+ invalidateEntityNotifications(notification.entity_id);+ }+ );+createEffectOnEntityTypeNotification(notificationSource,'email_thread',diff --git a/js/app/packages/core/component/AI/component/input/ChatInput.tsx b/js/app/packages/core/component/AI/component/input/ChatInput.tsxindex 95a7048d3e..5bb3c10d5b 100644--- a/js/app/packages/core/component/AI/component/input/ChatInput.tsx+++ b/js/app/packages/core/component/AI/component/input/ChatInput.tsx@@ -147,12 +147,11 @@ export function ChatInput(props: ChatInputComponentProps) {<Match when={!isTouchDevice()}><div class="flex flex-row items-center gap-3 text-xs text-ink-disabled opacity-70 shrink-0">{props.extraRightControls?.()}- <Tooltip tooltip="Enter to send with Opus" placement="top">- <div class="flex items-center gap-1">+ <Tooltip tooltip="Enter to send" placement="top">+ <div class="flex items-center"><div class="flex border border-edge-muted text-[0.625rem] rounded-xs items-center px-1 py-0.5"><Hotkey shortcut="Enter" /></div>- <span>Opus</span></div></Tooltip></div>