Skip to content

: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.

fix(signals): move report rating to the end of the report body (#73748)

Andrew Maguire78b3689515fd
diff --git a/frontend/src/scenes/inbox/components/detail/ReportDetail.tsx b/frontend/src/scenes/inbox/components/detail/ReportDetail.tsx
index fad10595d26d..494fdc9fbfaf 100644
--- a/frontend/src/scenes/inbox/components/detail/ReportDetail.tsx
+++ b/frontend/src/scenes/inbox/components/detail/ReportDetail.tsx
@@ -324,12 +324,9 @@ export function InboxDetailFrame({
onClick: action.onClick,
}))
- // The rating row is a third grid child rather than part of the main column: stacked (one column)
- // that puts it last on the page, and on the two-column layout it's placed back under the main
- // column so it still reads as the end of the report rather than the end of the sidebar.
const overviewBody = (
- <div className="grid grid-cols-1 @5xl:grid-cols-[minmax(0,80ch)_minmax(22rem,1fr)] @5xl:grid-rows-[auto_1fr] gap-5">
- <div className="min-w-0 flex flex-col gap-5 @5xl:col-start-1 @5xl:row-start-1">
+ <div className="grid grid-cols-1 @5xl:grid-cols-[minmax(0,80ch)_minmax(22rem,1fr)] gap-5">
+ <div className="min-w-0 flex flex-col gap-5">
<DetailSection icon={summary.icon} title={summary.title}>
{report.summary ? (
<LemonMarkdown
@@ -345,9 +342,12 @@ export function InboxDetailFrame({
)}
</DetailSection>
{summaryFooter}
+ {/* The rating closes out the report body, where the reading ends – ahead of the
+ supporting sections, which stack underneath once the layout drops to one column. */}
+ <ReportFeedbackFooter report={report} />
</div>
- <div className="flex flex-col min-w-0 gap-5 @5xl:col-start-2 @5xl:row-start-1 @5xl:row-span-2">
+ <div className="flex flex-col min-w-0 gap-5">
{/* Pull request (when present) first, then reviewers, evidence, runs, and activity. */}
{children}
<SuggestedReviewersSection report={report} />
@@ -377,11 +377,6 @@ export function InboxDetailFrame({
<ReportTasksSection report={report} />
<ReportActivitySection report={report} />
</div>
-
- {/* `self-start` keeps this pinned under the summary when a tall sidebar stretches the row. */}
- <div className="min-w-0 self-start @5xl:col-start-1 @5xl:row-start-2">
- <ReportFeedbackFooter report={report} />
- </div>
</div>
)