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.

fix(email): shorten undo-send window to 5 seconds (#5035)

Evan Hutnikef90dcfb8c49
diff --git a/apps/web/src/features/block-email/component/BaseInput.tsx b/apps/web/src/features/block-email/component/BaseInput.tsx
index 5fb5c97735..7ca5b64abd 100644
--- a/apps/web/src/features/block-email/component/BaseInput.tsx
+++ b/apps/web/src/features/block-email/component/BaseInput.tsx
@@ -561,7 +561,7 @@ export function BaseInput(props: {
},
]
: undefined,
- duration: 10_000,
+ duration: 5_000,
});
pendingMentions.forEach((mention) => {
trackMention(blockId, 'document', mention.documentId);
diff --git a/apps/web/src/features/block-email/component/compose/Compose.tsx b/apps/web/src/features/block-email/component/compose/Compose.tsx
index 4296f98c1c..f906048bd7 100644
--- a/apps/web/src/features/block-email/component/compose/Compose.tsx
+++ b/apps/web/src/features/block-email/component/compose/Compose.tsx
@@ -431,7 +431,7 @@ export function EmailCompose(props: EmailComposeProps) {
},
]
: undefined,
- duration: 8_000,
+ duration: 5_000,
});
if (data.message.thread_db_id) {
replaceSplit({