:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(posthog-ai): fit the quill pull request row in a narrow thread (#111343)
Shy Alter02288ac7f25f
diff --git a/products/posthog_ai/frontend/components/quill/QuillPullRequestRow.tsx b/products/posthog_ai/frontend/components/quill/QuillPullRequestRow.tsxindex ea1918379b7b..07cb81245ded 100644--- a/products/posthog_ai/frontend/components/quill/QuillPullRequestRow.tsx+++ b/products/posthog_ai/frontend/components/quill/QuillPullRequestRow.tsx@@ -8,11 +8,23 @@ import { ThreadMarker } from './ThreadMarker'export function QuillPullRequestRow({ prUrl, branch }: { prUrl: string; branch?: string }): JSX.Element {return (<div className="flex items-center gap-2" data-attr="max-sandbox-pr-card">- <ThreadMarker icon={<IconPullRequest />} className="opacity-100 text-foreground">- <span className="font-medium">Pull request opened</span>- {branch && <ChatMarkerValue className="font-mono">{branch}</ChatMarkerValue>}+ {/* A narrow thread puts the branch under the label, so more of its name shows beside the button. */}+ <ThreadMarker icon={<IconPullRequest />} className="min-w-0 flex-1 opacity-100 text-foreground">+ <span className="flex min-w-0 items-baseline @max-lg/thread:flex-col @max-lg/thread:items-start">+ <span className="shrink-0 font-medium">Pull request opened</span>+ {branch && (+ <ChatMarkerValue className="max-w-full min-w-0 truncate font-mono @max-lg/thread:ms-0 @max-lg/thread:text-xs @max-lg/thread:text-(--muted-foreground) @max-lg/thread:before:content-none @max-lg/thread:after:content-none">+ {branch}+ </ChatMarkerValue>+ )}+ </span></ThreadMarker>- <Button variant="outline" size="xs" render={<LinkPrimitive to={prUrl} target="_blank" />}>+ <Button+ variant="outline"+ size="xs"+ className="shrink-0"+ render={<LinkPrimitive to={prUrl} target="_blank" />}+ >Open on GitHub<IconExternal /></Button>