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): Escape in an open email thread returns to the breadcrumb list (#7032)
teo227019a82767
diff --git a/apps/web/src/features/email-view/components/EmailDetailView.tsx b/apps/web/src/features/email-view/components/EmailDetailView.tsxindex 1c310829f2..9e76bffdd5 100644--- a/apps/web/src/features/email-view/components/EmailDetailView.tsx+++ b/apps/web/src/features/email-view/components/EmailDetailView.tsx@@ -184,8 +184,15 @@ export function EmailDetailView(props: {});registerScopeSignalHotkey(hotkeyScope, {hotkey: 'escape',- description: 'Collapse or unselect message',- keyDownHandler: handlers.cancel,+ description: 'Collapse message or back to list',+ // Escape unwinds thread state first (reply, expanded body, focused+ // message). Once nothing is left to unwind it follows the breadcrumb+ // back to the list this thread was opened from.+ keyDownHandler: () => {+ if (handlers.cancel()) return true;+ closeThread();+ return true;+ },hotkeyToken: TOKENS.email.cancelReply,hide: true,});diff --git a/docs/AGENT_GUIDE/surfaces.md b/docs/AGENT_GUIDE/surfaces.mdindex 1d54f41be2..fecf8b4215 100644--- a/docs/AGENT_GUIDE/surfaces.md+++ b/docs/AGENT_GUIDE/surfaces.md@@ -441,7 +441,10 @@ that driver.In the new Email view, ordinary row activation opens the thread inside`/app/component/mail`; the view breadcrumb (for example Signal) has a hover-background and returns to the filtered list. The inline header uses the existing+background and returns to the filtered list. Pressing `Escape` in the open thread+with focus outside any input does the same once there is nothing left to unwind+(an open reply, an expanded body, or a focused message each take one `Escape`+first); the list keeps the row you came from focused. The inline header uses the existingemail title menu: open the menu button beside the subject for **Ask AI**, **Create aTask**, and the other thread actions. On desktop, **Mark as unread**, **Mark done**,and **Previous item** / **Next item** sit at the right of that header. The arrows