Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

feat(email): Enable scheduled send (#1871)

Evan Hutnikf9996e417fe4
diff --git a/js/app/packages/block-email/component/date-selector.tsx b/js/app/packages/block-email/component/date-selector.tsx
index ed3ef393d5..5131213b9c 100644
--- a/js/app/packages/block-email/component/date-selector.tsx
+++ b/js/app/packages/block-email/component/date-selector.tsx
@@ -275,6 +275,12 @@ export const DateSelector = (props: DateSelectorProps) => {
<Combobox.Trigger
class="flex group/date-selector-trigger"
tabIndex={0}
+ onKeyDown={(e: KeyboardEvent) => {
+ if (e.key === 'Enter') {
+ e.preventDefault();
+ setInternalOpen(true);
+ }
+ }}
>
{typeof props.trigger === 'function'
? props.trigger({ selectedDate: selectedDate() })
diff --git a/js/app/packages/core/constant/featureFlags.ts b/js/app/packages/core/constant/featureFlags.ts
index dee0ded6cd..5aa2fa567b 100644
--- a/js/app/packages/core/constant/featureFlags.ts
+++ b/js/app/packages/core/constant/featureFlags.ts
@@ -123,7 +123,7 @@ export const ENABLE_UNIFIED_LIST_AI_INPUT = true;
// snapshot mention content inline for AI chat
export const ENABLE_SNAPSHOT_NODE = true;
-export const ENABLE_EMAIL_SCHEDULED_SEND = false;
+export const ENABLE_EMAIL_SCHEDULED_SEND = true;
export const ENABLE_AI_AUTO_TAB_ATTACHMENTS = true;