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 { CrmContactEntity } from '@entity';
import type { JSX, ParentProps } from 'solid-js';
// Isolate global entity metadata/navigation services; the Team component,
// filtering, queries, visibility action, search, and confirmation are real.
export const ListEntityMetadataQueryProvider = (props: ParentProps) =>
props.children;
export const ListLayoutProvider = (props: ParentProps) => props.children;
export function ListEntity(props: {
entity: CrmContactEntity;
icon: JSX.Element;
titleTrailing: JSX.Element;
onClick: JSX.EventHandler<HTMLButtonElement, MouseEvent>;
}) {
return (
<button
type="button"
class="flex min-h-12 items-center gap-2 px-4 text-left"
onClick={props.onClick}
>
{props.icon}
<span>{props.entity.name}</span>
{props.titleTrailing}
</button>
);
}