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(web): increase PR mention pill max-width from 20em to 32em (#8046)
Jacob Beckerman0ff7f913b234
diff --git a/apps/web/src/lib/core/component/LexicalMarkdown/component/decorator/PullRequestMention.test.tsx b/apps/web/src/lib/core/component/LexicalMarkdown/component/decorator/PullRequestMention.test.tsxindex aa6617bef0..ac1e192926 100644--- a/apps/web/src/lib/core/component/LexicalMarkdown/component/decorator/PullRequestMention.test.tsx+++ b/apps/web/src/lib/core/component/LexicalMarkdown/component/decorator/PullRequestMention.test.tsx@@ -109,12 +109,12 @@ describe('pull request mention face', () => {const [agentWritten, composed] =view.container.querySelectorAll('[data-pr-mention]');expect(agentWritten.textContent).toBe('macro-inc/macro#7956');- expect(agentWritten.classList.contains('w-[20em]')).toBe(true);- expect(composed.classList.contains('w-[20em]')).toBe(false);+ expect(agentWritten.classList.contains('w-[32em]')).toBe(true);+ expect(composed.classList.contains('w-[32em]')).toBe(false);setResolved(pullRequest);expect(agentWritten.textContent).toBe(`${title} #7956`);- expect(agentWritten.classList.contains('w-[20em]')).toBe(true);+ expect(agentWritten.classList.contains('w-[32em]')).toBe(true);});});diff --git a/apps/web/src/lib/core/component/LexicalMarkdown/component/decorator/PullRequestMention.tsx b/apps/web/src/lib/core/component/LexicalMarkdown/component/decorator/PullRequestMention.tsxindex b451adcfee..5a68f779df 100644--- a/apps/web/src/lib/core/component/LexicalMarkdown/component/decorator/PullRequestMention.tsx+++ b/apps/web/src/lib/core/component/LexicalMarkdown/component/decorator/PullRequestMention.tsx@@ -525,8 +525,8 @@ function PullRequestMentionContent(props: PullRequestMentionDecoratorProps) {data-pr-id={props.id}data-pr-label={label()}class={cn(- 'pointer-events-auto inline-flex max-w-[min(20em,100%)] items-baseline',- reservesTitleWidth() && 'w-[20em]'+ 'pointer-events-auto inline-flex max-w-[min(32em,100%)] items-baseline',+ reservesTitleWidth() && 'w-[32em]')}><span class="relative top-[0.125em] size-[1em] shrink-0 inline-flex mx-1">