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
refactor(email): remove Details panel from thread side panel (#5054)
Evan Hutnikc033340c0377
diff --git a/apps/web/src/features/block-email/component/sidepanel/EmailSidePanelSections.tsx b/apps/web/src/features/block-email/component/sidepanel/EmailSidePanelSections.tsxindex d0773c3951..a9670f7186 100644--- a/apps/web/src/features/block-email/component/sidepanel/EmailSidePanelSections.tsx+++ b/apps/web/src/features/block-email/component/sidepanel/EmailSidePanelSections.tsx@@ -4,7 +4,6 @@ import {} from '@app/features/property/side-panel/properties';import { SidePanel } from '@components/app/side-panel';import { References } from '@core/component/References';-import type { Property } from '@property/types';import { useAttachmentReferencesQuery } from '@queries/storage/attachment-references';import type { ItemType } from '@service-storage/client';import { Show, Suspense } from 'solid-js';@@ -21,21 +20,6 @@ export function EmailSidePanelSections(props: EmailSidePanelSectionsProps) {return (<>- <SidePanel.Section id="details" title="Details" defaultOpen order={10}>- <Suspense fallback={<SidePanel.Loading />}>- <EntityPropertiesSection- entityId={props.threadId}- entityType="THREAD"- canEdit={canEdit()}- documentName={props.title}- includeMetadata- propertyFilter={(property) => property.isMetadata === true}- getEmptyLabel={getEmailMetadataEmptyLabel}- showAddProperty={false}- showTags={false}- />- </Suspense>- </SidePanel.Section><EntityTagsSectionentityId={props.threadId}entityType="THREAD"@@ -96,20 +80,3 @@ function ReferencesSectionConditional(props: { threadId: string }) {</Show>);}--function getEmailMetadataEmptyLabel(property: Property) {- if (!property.isMetadata) return undefined;-- switch (property.displayName) {- case 'Last Sent':- return 'No sent messages';- case 'Last Received':- return 'No received messages';- case 'Thread Started':- return 'No messages';- case 'Subject':- return 'No subject';- default:- return undefined;- }-}