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(empty states): differentiate copy for signal and noice empty states (#3846)
Aidan Holloway-Bidwellc85676c5aa13
diff --git a/js/app/packages/app/component/next-soup/soup-view/empty-states.tsx b/js/app/packages/app/component/next-soup/soup-view/empty-states.tsxindex 2f7f0d716a..a4ac9fd9ec 100644--- a/js/app/packages/app/component/next-soup/soup-view/empty-states.tsx+++ b/js/app/packages/app/component/next-soup/soup-view/empty-states.tsx@@ -138,13 +138,45 @@ export function EmptyState(props: {</Match><Match when={props.listView === 'inbox' && emailActive()}>- <EmptyStatePanel- align="center"- graphic={InboxZeroNumber}- title="Inbox zero"- description="You're all caught up. Important items will appear here as they arrive."- documentationUrl={`${DOCS_BASE}/product/inbox`}- />+ {(() => {+ // Each inbox tab filters to a different slice, so the empty copy+ // should match: Signal is the important stuff, Noise is explicitly+ // the low-priority stuff, and All spans everything.+ const tab = soup.activeTab();+ const { title, description } =+ tab === 'noise'+ ? {+ title: 'No noise',+ description: (+ <>+ Low-priority items like newsletters and notifications+ collect here.+ <br />+ Nothing to clear right now.+ </>+ ),+ }+ : tab === 'all'+ ? {+ title: 'Inbox zero',+ description:+ "You're all caught up. New items will appear here as they arrive.",+ }+ : {+ title: 'Inbox zero',+ description:+ "You're all caught up. Important items will appear here as they arrive.",+ };+ return (+ <EmptyStatePanel+ align="center"+ graphic={InboxZeroNumber}+ title={title}+ description={description}+ documentationUrl={`${DOCS_BASE}/product/inbox`}+ />+ );+ })()}</Match><Match when={props.listView === 'mail' && emailActive()}>