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
import type { NarrowLayoutVariant } from './shared';
/**
* Whether an email row uses the compact stacked layout: a narrow desktop list
* in the `inbox` layout, such as Email beside its reading pane. Touch devices
* keep their own email rows, with the sender's picture.
*/
export function usesCompactEmailRow(row: {
wide: boolean;
touch: boolean;
narrowLayout: NarrowLayoutVariant | undefined;
email: boolean;
}): boolean {
return !row.wide && !row.touch && row.narrowLayout === 'inbox' && row.email;
}