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
fix(analytics): prevent posthog capture of certain elements (#2191)
dev-rb72df47612ff5
diff --git a/js/app/packages/app/component/settings/Account.tsx b/js/app/packages/app/component/settings/Account.tsxindex 94fc204780..4e4bbb192c 100644--- a/js/app/packages/app/component/settings/Account.tsx+++ b/js/app/packages/app/component/settings/Account.tsx@@ -161,6 +161,7 @@ export function Account() {</Show><TabContentRow isLoading={!userId()} text="First Name" subtext={''}><EditableField+ class="ph-no-capture"value={firstName()}onSave={(newValue: string) => {setUpdatedFirstName(newValue);@@ -172,6 +173,7 @@ export function Account() {</TabContentRow><TabContentRow isLoading={!userId()} text="Last Name" subtext={''}><EditableField+ class="ph-no-capture"value={lastName()}onSave={(newValue: string) => {setUpdatedLastName(newValue);@@ -182,6 +184,7 @@ export function Account() {/></TabContentRow><TabContentRow+ class="ph-no-capture"isLoading={!email()}text="Email"subtext={email() ?? ''}diff --git a/js/app/packages/app/component/split-layout/components/SplitLabel.tsx b/js/app/packages/app/component/split-layout/components/SplitLabel.tsxindex 8eb1d6af15..bd7914174e 100644--- a/js/app/packages/app/component/split-layout/components/SplitLabel.tsx+++ b/js/app/packages/app/component/split-layout/components/SplitLabel.tsx@@ -22,19 +22,26 @@ import { blockNameToItemType, type ItemType } from '@service-storage/client';import { createEffect, type JSX, Show } from 'solid-js';import { useSplitPanelOrThrow } from '../layoutUtils';import { useRenameSplit } from './SplitModalContext';+import { cn } from '@ui/utils/classname';export function StaticSplitLabel(props: {label: string;iconType?: EntityIconSelector;icon?: JSX.Element;badges?: JSX.Element;+ class?: string;}) {const panel = useSplitPanelOrThrow();createEffect(() => {panel.handle.setDisplayName(props.label);});return (- <div class="z-3 relative flex items-center gap-2 max-w-full h-full shrink">+ <div+ class={cn(+ 'z-3 relative flex items-center gap-2 max-w-full h-full shrink',+ props.class+ )}+ ><Show when={props.iconType}><EntityIconclass="shrink-0"@@ -164,7 +171,7 @@ export function BlockItemSplitLabel(props: {});return (- <div class="z-3 relative flex items-center gap-2 w-screen max-w-full h-full shrink">+ <div class="ph-no-capture z-3 relative flex items-center gap-2 w-screen max-w-full h-full shrink"><EntityIcon class="shrink-0" targetType={targetType()} size="xs" /><Show when={props.badges}>{props.badges}</Show><SplitLabeldiff --git a/js/app/packages/block-channel/component/AttachMenu.tsx b/js/app/packages/block-channel/component/AttachMenu.tsxindex fbf058098d..1d45b10003 100644--- a/js/app/packages/block-channel/component/AttachMenu.tsx+++ b/js/app/packages/block-channel/component/AttachMenu.tsx@@ -117,7 +117,7 @@ export function AttachMenu(props: AttachMenuProps) {return (<Show when={props.open}><div- class="fixed inset-0 bg-transparent z-item-options-menu"+ class="ph-no-capture fixed inset-0 bg-transparent z-item-options-menu"onPointerDown={handleOverlayClick}><divdiff --git a/js/app/packages/block-channel/component/BaseInput.tsx b/js/app/packages/block-channel/component/BaseInput.tsxindex 3d6d20606d..26139a55bc 100644--- a/js/app/packages/block-channel/component/BaseInput.tsx+++ b/js/app/packages/block-channel/component/BaseInput.tsx@@ -496,7 +496,7 @@ export function BaseInput(props: BaseInputProps) {/></Show><div- class="transition-all duration-150 px-3 pt-2 pb-2 @min-[40rem]:pb-4 overflow-y-auto placeholder:text-ink-placeholder text-ink w-full text-sm mobile:text-base"+ class="ph-no-capture transition-all duration-150 px-3 pt-2 pb-2 @min-[40rem]:pb-4 overflow-y-auto placeholder:text-ink-placeholder text-ink w-full text-sm mobile:text-base"onClick={(e) => {e.stopPropagation();focusMarkdownArea();@@ -539,7 +539,7 @@ export function BaseInput(props: BaseInputProps) {/></div><Show when={videoAttachments()?.length > 0}>- <div class="flex flex-row w-full px-2 py-1 gap-2 flex-wrap">+ <div class="ph-no-capture flex flex-row w-full px-2 py-1 gap-2 flex-wrap"><For each={videoAttachments()}>{(attachment) => (<Attachment attachment={attachment} remove={removeAttachment} />@@ -548,7 +548,7 @@ export function BaseInput(props: BaseInputProps) {</div></Show><Show when={imageAttachments()?.length > 0}>- <div class="flex flex-row w-full px-2 py-1 gap-2 flex-wrap">+ <div class="ph-no-capture flex flex-row w-full px-2 py-1 gap-2 flex-wrap"><For each={imageAttachments()}>{(attachment) => (<Attachment attachment={attachment} remove={removeAttachment} />@@ -557,7 +557,7 @@ export function BaseInput(props: BaseInputProps) {</div></Show><Show when={documentAttachments()?.length > 0}>- <div class="flex flex-row w-full px-2 py-1 gap-2 flex-wrap">+ <div class="ph-no-capture flex flex-row w-full px-2 py-1 gap-2 flex-wrap"><For each={documentAttachments()}>{(attachment) => (<Attachment attachment={attachment} remove={removeAttachment} />diff --git a/js/app/packages/block-channel/component/Compose.tsx b/js/app/packages/block-channel/component/Compose.tsxindex aab69fc0fe..1ed4dcb9cb 100644--- a/js/app/packages/block-channel/component/Compose.tsx+++ b/js/app/packages/block-channel/component/Compose.tsx@@ -93,6 +93,7 @@ export function ChannelCompose() {<><SplitHeaderLeft><StaticSplitLabel+ class="ph-no-capture"label={channelName() || previewName()}iconType="channel"badges={[diff --git a/js/app/packages/block-channel/component/Message/MessageAttachments.tsx b/js/app/packages/block-channel/component/Message/MessageAttachments.tsxindex 0977600275..1fdeaa6512 100644--- a/js/app/packages/block-channel/component/Message/MessageAttachments.tsx+++ b/js/app/packages/block-channel/component/Message/MessageAttachments.tsx@@ -21,7 +21,7 @@ export function MessageAttachments(props: MessageAttachmentsProps) {return (<divclass={cn(- 'allow-css-brackets mb-2',+ 'ph-no-capture allow-css-brackets mb-2',(!(props.documentAttachments()?.length > 0 ||props.imageAttachments()?.length > 0 ||diff --git a/js/app/packages/block-channel/component/TaskPreviewRow.tsx b/js/app/packages/block-channel/component/TaskPreviewRow.tsxindex 67a5a52f23..68ca3dbd6e 100644--- a/js/app/packages/block-channel/component/TaskPreviewRow.tsx+++ b/js/app/packages/block-channel/component/TaskPreviewRow.tsx@@ -78,10 +78,10 @@ function TaskPropertyRow(props: {return (<div class="flex items-center gap-2 text-sm py-1"><EntityIcon targetType="task" size="sm" class="flex-shrink-0" />- <span class="truncate flex-1 text-ink min-w-0">+ <span class="ph-no-capture truncate flex-1 text-ink min-w-0">{props.task.title || '(empty)'}</span>- <div class="flex items-center gap-0.5 flex-shrink-0">+ <div class="ph-no-capture flex items-center gap-0.5 flex-shrink-0"><For each={props.properties}>{(property) => (<PropertyValue@@ -198,7 +198,9 @@ export function TaskPreviewRow(props: TaskPreviewRowProps) {fallback={<div class="flex items-center gap-2 text-sm py-1 text-ink-muted"><EntityIcon targetType="task" size="sm" class="flex-shrink-0" />- <span class="truncate flex-1">{props.task.title || '(empty)'}</span>+ <span class="ph-no-capture truncate flex-1">+ {props.task.title || '(empty)'}+ </span></div>}>diff --git a/js/app/packages/block-channel/component/Top.tsx b/js/app/packages/block-channel/component/Top.tsxindex 931231960f..4faa227680 100644--- a/js/app/packages/block-channel/component/Top.tsx+++ b/js/app/packages/block-channel/component/Top.tsx@@ -80,7 +80,7 @@ export function ChannelTopLeft(props: ChannelTopLeftProps) {return (<SplitHeaderLeft><div class="h-full my-auto flex gap-2 justify-start items-center">- <div class="z-3 relative flex items-center gap-2 max-w-full h-full shrink">+ <div class="ph-no-capture z-3 relative flex items-center gap-2 max-w-full h-full shrink"><TopIconchannelType={props.channelType}participants={props.participants}diff --git a/js/app/packages/block-email/component/AttachmentPill.tsx b/js/app/packages/block-email/component/AttachmentPill.tsxindex e46bf8fe6e..dd89ecf28a 100644--- a/js/app/packages/block-email/component/AttachmentPill.tsx+++ b/js/app/packages/block-email/component/AttachmentPill.tsx@@ -38,7 +38,7 @@ export function EmailAttachmentPill(props: EmailAttachmentPillProps) {size="xs"/></Show>- <div class="truncate ml-1">{props.attachment.fileName}</div>+ <div class="ph-no-capture truncate ml-1">{props.attachment.fileName}</div><Show when={props.removable}><divclass="ml-auto p-2 hover:text-failure"diff --git a/js/app/packages/block-email/component/BaseInput.tsx b/js/app/packages/block-email/component/BaseInput.tsxindex 95c3482506..95c066510a 100644--- a/js/app/packages/block-email/component/BaseInput.tsx+++ b/js/app/packages/block-email/component/BaseInput.tsx@@ -1478,7 +1478,7 @@ export function BaseInput(props: {setEditor(editor);form().setCapturedEditor(editor);}}- class={`cursor-text text-sm break-words text-ink ${isDragging() && 'blur'}`}+ class={`ph-no-capture cursor-text text-sm break-words text-ink ${isDragging() && 'blur'}`}editable={() => !sendMutation.isPending}initialValue={props.preloadedBody}initialHtml={restoredSnapshot?.bodyHtml ?? props.preloadedHtml}@@ -1516,7 +1516,7 @@ export function BaseInput(props: {);}}/>- <div class="flex gap-1 flex-wrap w-full py-2">+ <div class="ph-no-capture flex gap-1 flex-wrap w-full py-2"><For each={form().attachments.list()}>{(attachment) => (<Switch>diff --git a/js/app/packages/block-email/component/Compose.tsx b/js/app/packages/block-email/component/Compose.tsxindex 9bfd812d91..8f741bd807 100644--- a/js/app/packages/block-email/component/Compose.tsx+++ b/js/app/packages/block-email/component/Compose.tsx@@ -824,6 +824,7 @@ export function EmailCompose(props: EmailComposeProps) {<Show when={!isMobile()}><SplitHeaderLeft><StaticSplitLabel+ class="ph-no-capture"label={form.subject() || previewName()}iconType={isMobile() ? undefined : 'email'}badges={diff --git a/js/app/packages/block-email/component/Email.tsx b/js/app/packages/block-email/component/Email.tsxindex da14851654..4e198bebee 100644--- a/js/app/packages/block-email/component/Email.tsx+++ b/js/app/packages/block-email/component/Email.tsx@@ -481,7 +481,7 @@ function EmailContent(props: EmailViewProps) {'border-transparent': !isScrolled(),}}>- <h1 class="text-3xl font-semibold text-ink pt-3 pb-2">+ <h1 class="ph-no-capture text-3xl font-semibold text-ink pt-3 pb-2">{props.title}</h1></div>diff --git a/js/app/packages/block-email/component/EmailMessageBody.tsx b/js/app/packages/block-email/component/EmailMessageBody.tsxindex 28f763cf1f..28af3911e7 100644--- a/js/app/packages/block-email/component/EmailMessageBody.tsx+++ b/js/app/packages/block-email/component/EmailMessageBody.tsx@@ -286,7 +286,7 @@ export function EmailMessageBody(props: EmailMessageBodyProps) {return (<div- class="flex flex-col pt-2"+ class="ph-no-capture flex flex-col pt-2"onPointerDown={() => {if (!props.isBodyExpanded() && props.message.db_id) {props.setExpandedMessageBody(props.message.db_id);diff --git a/js/app/packages/block-email/component/EmailMessageTopBar.tsx b/js/app/packages/block-email/component/EmailMessageTopBar.tsxindex e8807ee038..9262ced7b3 100644--- a/js/app/packages/block-email/component/EmailMessageTopBar.tsx+++ b/js/app/packages/block-email/component/EmailMessageTopBar.tsx@@ -292,7 +292,7 @@ export function EmailMessageTopBar(props: EmailMessageTopBarProps) {return (<div- class="pr-2 flex items-center -mt-1 sm:mt-0"+ class="ph-no-capture pr-2 flex items-center -mt-1 sm:mt-0"style={{ 'min-height': 'var(--user-icon-width)' }}onMouseEnter={() => setIsHovering(true)}onMouseLeave={() => setIsHovering(false)}diff --git a/js/app/packages/block-email/component/TopBar.tsx b/js/app/packages/block-email/component/TopBar.tsxindex 43c8644dcd..5ccba295a8 100644--- a/js/app/packages/block-email/component/TopBar.tsx+++ b/js/app/packages/block-email/component/TopBar.tsx@@ -141,6 +141,7 @@ export function TopBar(props: {<><SplitHeaderLeft><StaticSplitLabel+ class="ph-no-capture"iconType={isInvite() ? 'emailInvite' : 'email'}label={isMobile() ? '' : props.title}badges={diff --git a/js/app/packages/block-md/component/MarkdownEditor.tsx b/js/app/packages/block-md/component/MarkdownEditor.tsxindex 1ee391d5aa..f0a1fac219 100644--- a/js/app/packages/block-md/component/MarkdownEditor.tsx+++ b/js/app/packages/block-md/component/MarkdownEditor.tsx@@ -908,7 +908,7 @@ export function MarkdownEditor(props: { autoFocusOnMount?: boolean } = {}) {});}}contentEditable={isContentEditable()}- class="w-full max-w-full"+ class="ph-no-capture w-full max-w-full"classList={{'select-auto': !canEdit(),'md-no-comments': !ENABLE_MARKDOWN_COMMENTS,diff --git a/js/app/packages/block-md/component/TitleEditor.tsx b/js/app/packages/block-md/component/TitleEditor.tsxindex e4ff6c6a51..d3853cbd29 100644--- a/js/app/packages/block-md/component/TitleEditor.tsx+++ b/js/app/packages/block-md/component/TitleEditor.tsx@@ -280,7 +280,7 @@ export function TitleEditor(props: { autoFocusOnMount?: boolean } = {}) {<div class="relative"><divcontentEditable={canEdit() ?? false}- class="text-4xl font-semibold"+ class="ph-no-capture text-4xl font-semibold"classList={{'select-auto': !canEdit(),}}diff --git a/js/app/packages/channel/Channel/Channel.tsx b/js/app/packages/channel/Channel/Channel.tsxindex 4453eca0fc..4237fd6821 100644--- a/js/app/packages/channel/Channel/Channel.tsx+++ b/js/app/packages/channel/Channel/Channel.tsx@@ -256,7 +256,7 @@ export function Channel(props: ChannelProps) {<ChannelDropZone dragState={dragState}><Show when={messages().length > 0}><div- class="relative flex-1 min-h-0 suppress-css-brackets suppress-css-bracket outline-none"+ class="ph-no-capture relative flex-1 min-h-0 suppress-css-brackets suppress-css-bracket outline-none"ref={(element) => {messageListElement = element;attachMessageListRef(element);diff --git a/js/app/packages/channel/Input/Attachments.tsx b/js/app/packages/channel/Input/Attachments.tsxindex ea5bdff2b0..dc6c9cf820 100644--- a/js/app/packages/channel/Input/Attachments.tsx+++ b/js/app/packages/channel/Input/Attachments.tsx@@ -48,7 +48,7 @@ function MediaAttachmentItem(props: {onRemove: (attachment: InputAttachmentData) => void;}) {return (- <div class="relative group">+ <div class="ph-no-capture relative group"><RemoveButtonattachment={props.attachment}onRemove={props.onRemove}@@ -82,7 +82,7 @@ function DocumentAttachmentItem(props: {onRemove: (attachment: InputAttachmentData) => void;}) {return (- <div class="group flex items-center px-2 py-1.5 space-x-1.5 hover:bg-hover hover-transition-bg cursor-default text-sm border border-edge-muted rounded-xs">+ <div class="ph-no-capture group flex items-center px-2 py-1.5 space-x-1.5 hover:bg-hover hover-transition-bg cursor-default text-sm border border-edge-muted rounded-xs"><Showwhen={!props.attachment.pending}fallback={<SpinnerIcon class="w-4 h-4 animate-spin" />}diff --git a/js/app/packages/channel/Input/Editor.tsx b/js/app/packages/channel/Input/Editor.tsxindex e726f3adff..9ca1ad3a27 100644--- a/js/app/packages/channel/Input/Editor.tsx+++ b/js/app/packages/channel/Input/Editor.tsx@@ -9,7 +9,10 @@ export function Editor(props: JSX.HTMLAttributes<HTMLDivElement>) {return (<div- class={cn('min-h-6 text-sm whitespace-pre-wrap break-words', local.class)}+ class={cn(+ 'ph-no-capture min-h-6 text-sm whitespace-pre-wrap break-words',+ local.class+ )}data-input-editor{...rest}>diff --git a/js/app/packages/channel/Message/ChannelMessage.tsx b/js/app/packages/channel/Message/ChannelMessage.tsxindex 4ad0f75c8b..f020a68d20 100644--- a/js/app/packages/channel/Message/ChannelMessage.tsx+++ b/js/app/packages/channel/Message/ChannelMessage.tsx@@ -98,13 +98,16 @@ function RegularMessageLayout(props: {<Message.EditedIndicator /><Message.Timestamp class="ml-auto" /></Message.Slot>- <Message.Slot placement="content" class="mt-0.5">+ <Message.Slot placement="content" class="ph-no-capture mt-0.5"><MessageContentSlotchannelId={props.channelId}messageEditor={props.messageEditor}/></Message.Slot>- <Message.Slot placement="footer" class="flex flex-col min-w-0">+ <Message.Slot+ placement="footer"+ class="ph-no-capture flex flex-col min-w-0"+ ><MessageFooter messageEditor={props.messageEditor} /></Message.Slot><Message.Slot placement="actions">@@ -128,7 +131,7 @@ function GroupedMessageLayout(props: {</Message.Slot><Message.Slot placement="content"><div- class="flex gap-3 min-w-0"+ class="ph-no-capture flex gap-3 min-w-0"classList={{'items-center': !isEditing(),'items-start': isEditing(),@@ -142,7 +145,10 @@ function GroupedMessageLayout(props: {<GroupedMeta messageEditor={props.messageEditor} /></div></Message.Slot>- <Message.Slot placement="footer" class="flex flex-col min-w-0">+ <Message.Slot+ placement="footer"+ class="ph-no-capture flex flex-col min-w-0"+ ><MessageFooter messageEditor={props.messageEditor} /></Message.Slot><Message.Slot placement="actions">diff --git a/js/app/packages/channel/Thread/ChannelThread.tsx b/js/app/packages/channel/Thread/ChannelThread.tsxindex 2853662010..b9597bc30d 100644--- a/js/app/packages/channel/Thread/ChannelThread.tsx+++ b/js/app/packages/channel/Thread/ChannelThread.tsx@@ -197,7 +197,7 @@ export function ChannelThread(props: ThreadProps) {/><Show when={props.isReplying()}>- <div ref={attachReplyInputRef}>+ <div ref={attachReplyInputRef} class="ph-no-capture"><Show when={!hasReplies()}><Thread.ReplyAuthoruserId={replyUserId()}diff --git a/js/app/packages/core/component/LexicalMarkdown/component/menu/MentionsMenu/MentionsMenu.tsx b/js/app/packages/core/component/LexicalMarkdown/component/menu/MentionsMenu/MentionsMenu.tsxindex 3520b321d9..832b9e6387 100644--- a/js/app/packages/core/component/LexicalMarkdown/component/menu/MentionsMenu/MentionsMenu.tsx+++ b/js/app/packages/core/component/LexicalMarkdown/component/menu/MentionsMenu/MentionsMenu.tsx@@ -641,6 +641,7 @@ function VirtualizedItemList(props: {<Show when={item()}>{(currentItem) => (<div+ class="ph-no-capture"style={{position: 'absolute',top: 0,diff --git a/js/app/packages/core/component/LexicalMarkdown/component/menu/MentionsMenu/components/MentionsMenuItem.tsx b/js/app/packages/core/component/LexicalMarkdown/component/menu/MentionsMenu/components/MentionsMenuItem.tsxindex d298181560..140b0e9070 100644--- a/js/app/packages/core/component/LexicalMarkdown/component/menu/MentionsMenu/components/MentionsMenuItem.tsx+++ b/js/app/packages/core/component/LexicalMarkdown/component/menu/MentionsMenu/components/MentionsMenuItem.tsx@@ -86,7 +86,7 @@ export function MentionsMenuItem(props: {><div class="mr-2">{icon()}</div><span- class="text-ink text-xs sm:text-sm font-medium grow overflow-hidden text-nowrap"+ class="ph-no-capture text-ink text-xs sm:text-sm font-medium grow overflow-hidden text-nowrap"style={{ 'text-overflow': 'ellipsis' }}>{name()}diff --git a/js/app/packages/core/component/Message.tsx b/js/app/packages/core/component/Message.tsxindex 133f219b1d..1bc946dce5 100644--- a/js/app/packages/core/component/Message.tsx+++ b/js/app/packages/core/component/Message.tsx@@ -116,7 +116,7 @@ const TopBar: Component<MessageTopBarProps> = (props) => {<Show when={!context.isConsecutive()}><div class="font-mono flex flex-row items-center justify-between">{/* Name */}- <div class="shrink-1 min-w-0 text-sm truncate text-ink-muted">+ <div class="ph-no-capture shrink-1 min-w-0 text-sm truncate text-ink-muted">{local.name}</div>{/* Tag */}@@ -156,7 +156,7 @@ const Body: Component<MessageBodyProps> = (props) => {<div class="text-xs text-ink-muted font-mono">Message Deleted</div>}>- <div class="text-sm text-ink pr-4">{props.children}</div>+ <div class="ph-no-capture text-sm text-ink pr-4">{props.children}</div></Show>);};diff --git a/js/app/packages/core/component/Properties/component/panel/PropertyRow.tsx b/js/app/packages/core/component/Properties/component/panel/PropertyRow.tsxindex b297c18447..7a7b54ed4e 100644--- a/js/app/packages/core/component/Properties/component/panel/PropertyRow.tsx+++ b/js/app/packages/core/component/Properties/component/panel/PropertyRow.tsx@@ -20,7 +20,7 @@ export const PropertyRow: Component<PropertyRowProps> = (props) => {withPin={props.withPin}/></div>- <div class="flex items-start min-w-0">+ <div class="ph-no-capture flex items-start min-w-0"><PropertyValue property={props.property} onEdit={props.onValueClick} /></div></>diff --git a/js/app/packages/core/component/RecipientSelector.tsx b/js/app/packages/core/component/RecipientSelector.tsxindex 93d91fa840..4e0392be6b 100644--- a/js/app/packages/core/component/RecipientSelector.tsx+++ b/js/app/packages/core/component/RecipientSelector.tsx@@ -188,7 +188,9 @@ function RecipientComboboxItem(props: RecipientComboboxItemProps): JSX.Element {return (<Combobox.ItemLabel class="flex flex-row w-full items-center gap-1.5 text-ink-muted select-none text-sm"><UserIcon id={iconId ?? ''} size="sm" isDeleted={false} />- <p class={`truncate my-auto ${props.disabled ? 'italic' : ''}`}>+ <p+ class={`ph-no-capture truncate my-auto ${props.disabled ? 'italic' : ''}`}+ >{contactInfo}</p></Combobox.ItemLabel>@@ -204,7 +206,9 @@ function RecipientComboboxItem(props: RecipientComboboxItemProps): JSX.Element {targetType={item().data.channel_type || 'channel'}/></div>- <p class={'truncate my-auto'}>{item().data.name}</p>+ <p class={'ph-no-capture truncate my-auto'}>+ {item().data.name}+ </p></Combobox.ItemLabel>);}}@@ -469,7 +473,7 @@ export function RecipientSelector<K extends CombinedRecipientKind>(? (props.placeholder ?? placeholderText()): undefined}- class="w-full text-sm offset-2"+ class="ph-no-capture w-full text-sm offset-2"classList={{'border border-edge': !props.hideBorder,'py-2': !props.noPadding,diff --git a/js/app/packages/core/component/TabContent.tsx b/js/app/packages/core/component/TabContent.tsxindex cb7f1cc0ec..6046991970 100644--- a/js/app/packages/core/component/TabContent.tsx+++ b/js/app/packages/core/component/TabContent.tsx@@ -1,3 +1,4 @@+import { cn } from '@ui/utils/classname';import { type JSX, type ParentProps, Show } from 'solid-js';interface TabContentProps {@@ -27,6 +28,7 @@ interface TabContentRowProps {subtext: string | JSX.Element;subtext2?: string;isLoading?: boolean;+ class?: string;}export function TabContentRow(props: ParentProps<TabContentRowProps>) {@@ -39,7 +41,9 @@ export function TabContentRow(props: ParentProps<TabContentRowProps>) {<div class="animate-pulse bg-ink-extra-muted rounded max-w-[100px] min-h-[20px] leading-5"></div>}>- <div class="text-ink-muted text-xs leading-5">{props.subtext}</div>+ <div class={cn('text-ink-muted text-xs leading-5', props.class)}>+ {props.subtext}+ </div>{props.children}</Show></div>diff --git a/js/app/packages/entity/src/composed/ListEntity.tsx b/js/app/packages/entity/src/composed/ListEntity.tsxindex cfab9582ec..88ea8a0578 100644--- a/js/app/packages/entity/src/composed/ListEntity.tsx+++ b/js/app/packages/entity/src/composed/ListEntity.tsx@@ -239,10 +239,10 @@ function ChannelMessage(props: {const hasContent = () => Boolean(props.message.content?.trim());return (<>- <span class="font-semibold truncate min-w-min max-w-1/3">+ <span class="ph-no-capture font-semibold truncate min-w-min max-w-1/3"><DisplayName id={props.message.senderId} format="firstName" /></span>- <span class="text-ink/50 font-medium truncate inline-flex items-center shrink">+ <span class="ph-no-capture text-ink/50 font-medium truncate inline-flex items-center shrink"><Showwhen={hasContent()}fallback={<span class="italic">Attached Items</span>}@@ -283,7 +283,7 @@ function NarrowLayout(props: LayoutProps) {<Entity.Slotplacement="title"- class="flex items-center gap-2 truncate font-semibold"+ class="ph-no-capture flex items-center gap-2 truncate font-semibold"><Show when={props.unread}><UnreadIndicator active />@@ -399,7 +399,7 @@ function NarrowInboxLayout(props: LayoutProps) {<Entity.Slotplacement="title"- class="flex items-center gap-2 truncate font-semibold pt-3"+ class="ph-no-capture flex items-center gap-2 truncate font-semibold pt-3"><Showwhen={isEmailEntity(props.entity) && props.entity}@@ -539,7 +539,7 @@ function WideLayout(props: LayoutProps) {</Entity.Slot><Entity.Slotplacement="content"- class="font-semibold truncate items-center gap-2 flex"+ class="ph-no-capture font-semibold truncate items-center gap-2 flex"><div class="size-4 shrink-0"><Entity.Icon entity={props.entity} streamState={props.streamState} />@@ -587,7 +587,7 @@ function WideLayout(props: LayoutProps) {<Entity.Slot placement="meta" class="flex items-center gap-2"><Show when={isProjectContainedEntity(props.entity) && props.entity}>{(entity) => (- <span class="text-ink-extra-muted text-xs">+ <span class="ph-no-capture text-ink-extra-muted text-xs"><ProjectBreadCrumbentity={entity()}onClick={props.onProjectClick}diff --git a/js/app/packages/entity/src/extractors-notification/notification-stacks.tsx b/js/app/packages/entity/src/extractors-notification/notification-stacks.tsxindex fdb24dcd65..932f76e073 100644--- a/js/app/packages/entity/src/extractors-notification/notification-stacks.tsx+++ b/js/app/packages/entity/src/extractors-notification/notification-stacks.tsx@@ -95,7 +95,7 @@ function NotificationStackRow(props: {<div class="flex-shrink-0"><NotificationSenderIcon stack={props.stack} size="xs" /></div>- <span class="truncate min-w-0">+ <span class="ph-no-capture truncate min-w-0"><NotificationDescription stack={props.stack} /></span><span class="text-ink-extra-muted/50 flex-shrink-0">@@ -112,7 +112,7 @@ function NotificationStackRow(props: {</Button></div></div>- <div class="mt-1 truncate min-w-0 overflow-hidden">+ <div class="ph-no-capture mt-1 truncate min-w-0 overflow-hidden"><NotificationContent stack={props.stack} /></div></div>diff --git a/js/app/packages/entity/src/extractors-search/search-content-hit-row.tsx b/js/app/packages/entity/src/extractors-search/search-content-hit-row.tsxindex d43ec29874..aeba1c0f32 100644--- a/js/app/packages/entity/src/extractors-search/search-content-hit-row.tsx+++ b/js/app/packages/entity/src/extractors-search/search-content-hit-row.tsx@@ -24,7 +24,7 @@ export function SearchContentHitRow(props: SearchContentHitRowProps) {return (<divclass={cn(- 'flex p-2 pr-0 my-1 border-l-2 border-edge-muted bg-edge/10 gap-4 hover:bg-edge/20'+ 'ph-no-capture flex p-2 pr-0 my-1 border-l-2 border-edge-muted bg-edge/10 gap-4 hover:bg-edge/20')}onClick={handleClick}role="button"diff --git a/js/app/packages/entity/src/extractors-search/search-location.tsx b/js/app/packages/entity/src/extractors-search/search-location.tsxindex fe97ad0d97..6fe7733ab2 100644--- a/js/app/packages/entity/src/extractors-search/search-location.tsx+++ b/js/app/packages/entity/src/extractors-search/search-location.tsx@@ -24,7 +24,9 @@ export function SearchLocation(props: SearchLocationProps) {return (<Show when={locationText()}>- {(text) => <span class="text-ink-muted text-xs">{text()}</span>}+ {(text) => (+ <span class="ph-no-capture text-ink-muted text-xs">{text()}</span>+ )}</Show>);}