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
Russell/dechud account (#3020)
Fake-User363587f908db
diff --git a/js/app/packages/app/component/settings/Account.tsx b/js/app/packages/app/component/settings/Account.tsxindex 580e944236..c1977255a3 100644--- a/js/app/packages/app/component/settings/Account.tsx+++ b/js/app/packages/app/component/settings/Account.tsx@@ -157,45 +157,46 @@ export function Account() {<div class="max-w-2xl w-full mx-auto"><Panel depth={2}><div class="text-ink">- <div class="relative flex items-center justify-between h-10 px-6 after:absolute after:inset-x-0 after:bottom-0 after:h-px after:bg-edge after:content-['']">+ <div class="relative flex items-center justify-between h-10 px-6 after:absolute after:inset-x-0 after:bottom-0 after:h-px after:bg-edge-muted after:content-['']"><div class="text-sm font-semibold">Account</div>- <Show when={ENABLE_PROFILE_PICTURES && userId()}>- <div class="flex items-center gap-2">- <div- use:fileSelector={{- acceptedFileExtensions: blockNameToFileExtensions.image,- acceptedMimeTypes: blockNameToMimeTypes.image,- onSelect: async (files: File[]) => {- let response = await uploadProfilePicture(files[0]);- if (!response || !userId()) return;- let { url } = response;- let pic: ProfilePictureItem = {- _createdAt: new Date(),- url,- id: userId()!,- loading: false,- };- // update the cache directly to force a reload- const [_, controls] = useProfilePictureUrl(userId());- controls.mutate(pic);- },- }}- >- <Button variant="secondary" size="sm" depth={3}>- <IconUpload class="size-4" />- Upload- </Button>- </div>+ </div>+ <div class="grid gap-px bg-edge-muted border-b border-edge-muted">++ <Show when={ENABLE_PROFILE_PICTURES && userId()}>+ <Row label="Profile Picture">+ <div+ class="relative group cursor-pointer"+ use:fileSelector={{+ acceptedFileExtensions: blockNameToFileExtensions.image,+ acceptedMimeTypes: blockNameToMimeTypes.image,+ onSelect: async (files: File[]) => {+ let response = await uploadProfilePicture(files[0]);+ if (!response || !userId()) return;+ let { url } = response;+ let pic: ProfilePictureItem = {+ _createdAt: new Date(),+ url,+ id: userId()!,+ loading: false,+ };+ // update the cache directly to force a reload+ const [_, controls] = useProfilePictureUrl(userId());+ controls.mutate(pic);+ },+ }}+ ><UserIconid={userId() as string}isDeleted={false}- size="md"+ size="lg"class="bg-transparent"/>+ <div class="absolute inset-0 flex items-center justify-center rounded-full bg-black/50 opacity-0 group-hover:opacity-100 transition-opacity">+ <IconUpload class="size-5 text-white" />+ </div></div>- </Show>- </div>- <div class="grid gap-px bg-edge border-b border-edge">+ </Row>+ </Show><Row label="Email"><span class="ph-no-capture text-sm text-ink-muted">@@ -446,9 +447,9 @@ export function Account() {function Row(props: { label: string; children?: any }) {return (- <div class="grid grid-cols-[145px_1fr] gap-px bg-edge">- <div class="bg-panel flex items-center justify-start h-10 px-6 text-sm">{props.label}</div>- <div class="bg-panel flex items-center justify-end h-10 px-6 text-right">{props.children}</div>+ <div class="bg-panel flex items-center justify-between h-15.25 px-6">+ <div class="text-sm">{props.label}</div>+ <div class="text-right">{props.children}</div></div>);}diff --git a/js/app/packages/app/component/settings/Settings.tsx b/js/app/packages/app/component/settings/Settings.tsxindex 1b18d986ca..a68a4a4ecb 100644--- a/js/app/packages/app/component/settings/Settings.tsx+++ b/js/app/packages/app/component/settings/Settings.tsx@@ -63,9 +63,8 @@ export function SettingsPanel(props: SettingsPanelProps) {{ value: 'Appearance', label: 'Appearance' },{ value: 'Account', label: 'Account' },];-- tabs.push({ value: 'Shortcuts', label: 'Shortcuts' });if (teamsFlag().enabled) { tabs.push({ value: 'Team', label: 'Team' }) }+ tabs.push({ value: 'Shortcuts', label: 'Shortcuts' });if (permissions()?.includes('write:stripe_subscription') && !isNativeMobilePlatform()) { tabs.push({ value: 'Subscription', label: 'Subscription' }) }if (ENABLE_APP_STORE_QR_CODE && !isNativeMobilePlatform()) { tabs.push({ value: 'Mobile App', label: 'App' }) }if (isNativeMobilePlatform() && DEV_MODE_ENV) { tabs.push({ value: 'Mobile', label: 'Mobile Dev Tools' }) }@@ -170,7 +169,7 @@ export function SettingsPanel(props: SettingsPanelProps) {defaultValue="Appearance"onChange={handleTabChange}indicatorPosition="top"- class="**:data-indicator:h-[3px]"+ class="**:data-indicator:h-0.75"/></div>);diff --git a/js/app/packages/app/component/settings/Team.tsx b/js/app/packages/app/component/settings/Team.tsxindex 893fa528a8..8e43ff229a 100644--- a/js/app/packages/app/component/settings/Team.tsx+++ b/js/app/packages/app/component/settings/Team.tsx@@ -162,7 +162,7 @@ function MemberRow(props: {<div class="flex items-center justify-between py-2 px-6 border-b border-edge-muted last:border-b-0 gap-2"><div class="flex items-center gap-3 min-w-0 flex-1"><div class="shrink-0">- <UserIcon id={props.member.user_id} isDeleted={false} size="md" />+ <UserIcon id={props.member.user_id} isDeleted={false} size="lg" /></div><div class="min-w-0 flex-1"><div class="text-sm font-medium text-ink truncate">@@ -492,7 +492,7 @@ function TeamManagement(props: { teamId: string; teamName: string; ownerId: stri</Show></div>- <div class="flex items-center px-2 py-1.5 border-b border-edge-muted shrink-0">+ <div class="flex items-center px-2 h-15.25 border-b border-edge-muted shrink-0"><div class="flex items-center justify-between w-full border border-edge rounded-sm px-4 py-2"><span class="text-sm text-ink-muted">Name</span><Show@@ -614,7 +614,7 @@ function TeamManagement(props: { teamId: string; teamName: string; ownerId: stri<Dialog.Portal><DialogWrapper><div class="flex flex-col text-ink">- <div class="shrink-0 flex flex-row items-center px-2 gap-1 border-b border-b-edge-muted h-[40px]">+ <div class="shrink-0 flex flex-row items-center px-2 gap-1 border-b border-b-edge-muted h-10"><Dialog.CloseButton as={Button} variant="ghost" size="icon-sm"><XIcon /></Dialog.CloseButton>@@ -667,7 +667,7 @@ function TeamManagement(props: { teamId: string; teamName: string; ownerId: stri<Dialog.Portal><DialogWrapper><div class="flex flex-col text-ink">- <div class="shrink-0 flex flex-row items-center px-2 gap-1 border-b border-b-edge-muted h-[40px]">+ <div class="shrink-0 flex flex-row items-center px-2 gap-1 border-b border-b-edge-muted h-10"><Dialog.CloseButton as={Button} variant="ghost" size="icon-sm"><XIcon /></Dialog.CloseButton>