Skip to content

Open-source agentic AI Search Execution Platform. Track AI visibility, find opportunities, and let agents turn signals into prioritized actions and drafted fixes across ChatGPT, Claude, Gemini, Google AI Overviews, Google AI Mode, Perplexity, Grok, and Microsoft Copilot.

fix(insights): move raw results count out of the page header (#238)

Gökhan Geyikd1ae7de01d81
diff --git a/web/src/app/[locale]/(dashboard)/dashboard/insights/page.tsx b/web/src/app/[locale]/(dashboard)/dashboard/insights/page.tsx
index f9ac31ea3..26a641247 100644
--- a/web/src/app/[locale]/(dashboard)/dashboard/insights/page.tsx
+++ b/web/src/app/[locale]/(dashboard)/dashboard/insights/page.tsx
@@ -1108,11 +1108,15 @@ function PromptResultsGrouped({
<CardHeader className="pb-2">
<div className="flex flex-col gap-0.5 sm:flex-row sm:items-center sm:justify-between sm:gap-3">
<CardTitle className="text-sm font-medium">Prompt Results by Topic</CardTitle>
- {truncated && (
+ {truncated ? (
<p className="text-xs text-muted-foreground font-normal">
Showing {loadedRowCount} of {totalRowCount} rows (newest first). Narrow the date range
or filters to focus the list.
</p>
+ ) : (
+ <p className="text-xs text-muted-foreground font-normal">
+ {totalRowCount} result{totalRowCount !== 1 ? 's' : ''}
+ </p>
)}
</div>
</CardHeader>
@@ -1580,7 +1584,7 @@ export default function InsightsPage() {
<h1 className="text-2xl font-bold tracking-tight">Answer Engine Insights</h1>
<p className="text-muted-foreground text-sm">
- {brand.name} · Last run: {lastCheckedLabel} · {totalResults} results
+ {brand.name} · Last run: {lastCheckedLabel}
</p>
</div>