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[email]: send button improvements (#638)
Peter Chinman9ce8f4afcf99
diff --git a/js/app/packages/block-email/component/BaseInput.tsx b/js/app/packages/block-email/component/BaseInput.tsxindex fcff7cbc79..d176769dfb 100644--- a/js/app/packages/block-email/component/BaseInput.tsx+++ b/js/app/packages/block-email/component/BaseInput.tsx@@ -900,8 +900,8 @@ export function BaseInput(props: {<Spinner class="w-5 h-5 animate-spin cursor-disabled" />}>- <div class="flex justify-center items-center gap-1">- <span>Send & done</span>+ <div class="flex fles-row items-center gap-0.5">+ <span>Send +</span><CheckIcon class="size-4" /></div></Show>@@ -909,7 +909,7 @@ export function BaseInput(props: {<DropdownMenu><DropdownMenu.Trigger><div class="w-8 min-h-8 flex justify-center items-center h-full border-r border-t border-b border-ink hover:bg-hover">- <CaretDown class="size-4 text-ink" />+ <CaretDown class="size-4 text-ink transition-transform [[data-expanded]_&]:scale-y-[-1]" /></div></DropdownMenu.Trigger><DropdownMenuContent>@@ -918,6 +918,7 @@ export function BaseInput(props: {onClick={() => {sendEmail();}}+ hotkeyToken={TOKENS.email.send}/></DropdownMenuContent></DropdownMenu>diff --git a/js/app/packages/core/component/Hotkey.tsx b/js/app/packages/core/component/Hotkey.tsxindex af15d7ef94..7657d68a2c 100644--- a/js/app/packages/core/component/Hotkey.tsx+++ b/js/app/packages/core/component/Hotkey.tsx@@ -159,7 +159,7 @@ export const Hotkey = (props: HotkeyProps) => {</span><Show when={local.showPlus}>- <span class="text-current">+</span>+ <span class="text-current"> + </span></Show></>)}diff --git a/js/app/packages/core/component/Menu.tsx b/js/app/packages/core/component/Menu.tsxindex c33a36e7eb..e0f09a242b 100644--- a/js/app/packages/core/component/Menu.tsx+++ b/js/app/packages/core/component/Menu.tsx@@ -20,7 +20,7 @@ import {import { Dynamic } from 'solid-js/web';import clickOutside from '../directive/clickOutside';import { EditingContext } from './Editable';-import { BasicHotkey } from './Hotkey';+import { Hotkey } from './Hotkey';false && clickOutside;@@ -231,7 +231,7 @@ export function MenuItem(props: MenuItemProps) {<Show when={props.hotkeyToken} keyed>{(hotkeyToken) => (<div class="ml-auto text-page text-xs">- <BasicHotkey token={hotkeyToken} />+ <Hotkey token={hotkeyToken} class="text-ink-muted" showPlus /></div>)}</Show>