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 { ViewSidebar } from '@app/components/view-shell';
import { EntityIcon } from '@entity/extractors/entity-icon';
import { type EntityData, isGithubPrEntity } from '@entity/types/entity';
/** Shared entity icons sized for compact Home rows. */
export function HomeEntityIcon(props: { entity: EntityData }) {
return (
<ViewSidebar.Icon>
<span
class={
props.entity.type === 'channel' &&
props.entity.channelType === 'direct_message'
? 'size-5 overflow-hidden rounded-full'
: 'size-4'
}
>
<EntityIcon
entity={props.entity}
class={isGithubPrEntity(props.entity) ? undefined : 'text-current'}
suppressClick
showTooltip={false}
/>
</span>
</ViewSidebar.Icon>
);
}