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.
TypeScript aeoai-agentai-searchanswer-engine-optimizationbrand-monitoringchatgptclaudecopilotdockergeminigeogoogle-ai-overviewsgrokmcpnextjsopen-sourceperplexityseosupabasetypescript
fix(tracking): stop the progress banner reading as prompts and platforms (#847)
Gökhan Geyik9b3700b09c44
diff --git a/server/src/workers/tracking-worker.js b/server/src/workers/tracking-worker.jsindex 8187c3f48..0bb9a6537 100644--- a/server/src/workers/tracking-worker.js+++ b/server/src/workers/tracking-worker.js@@ -585,6 +585,9 @@ export async function processTrackingJob({ brandId, promptId, promptIds, source,// Once delivery has gone quiet and only a negligible remainder is// left, "still processing" reads as a hang. Say what is actually// happening instead: the run is finishing, waiting on stragglers.+ // The count is answers still outstanding, not platforms — keep the+ // word "platform" away from it, or "10 platform checks" reads as+ // ten engines on a brand that tracks six.const finishingUp =pending > 0 && quietPolls > 0 && pending <= tailRemainder(expectedSubmitted);job.progress({@@ -592,10 +595,12 @@ export async function processTrackingJob({ brandId, promptId, promptIds, source,total: totalTasks,promptText:pending === 0- ? 'All platform results received'+ ? 'All AI answers received': finishingUp- ? `Finishing up — ${pending} platform check(s) haven't responded`- : `Receiving platform results — ${pending} task(s) still processing...`,+ ? pending === 1+ ? 'Finishing up — waiting on the last answer'+ : `Finishing up — waiting on the last ${pending} answers`+ : `Receiving AI answers — ${pending} still in progress...`,model: null,platform: 'cloro',});diff --git a/web/src/app/[locale]/(dashboard)/dashboard/insights/page.tsx b/web/src/app/[locale]/(dashboard)/dashboard/insights/page.tsxindex 831e760da..dce8d9476 100644--- a/web/src/app/[locale]/(dashboard)/dashboard/insights/page.tsx+++ b/web/src/app/[locale]/(dashboard)/dashboard/insights/page.tsx@@ -853,11 +853,6 @@ function TrackingProgressBanner({? 'Queued — starting automatically': 'Analyzing prompts...'}</span>- {progress && (- <span className="text-xs text-muted-foreground tabular-nums">- {progress.current}/{progress.total}- </span>- )}</div><Buttonvariant="ghost"@@ -877,6 +872,13 @@ function TrackingProgressBanner({</p>)}+ {jobStatus.status === 'active' && (+ <p className="text-xs text-muted-foreground">+ This can take anywhere from a few minutes to 1–2 hours at busy times. You can leave this+ page — it keeps running in the background.+ </p>+ )}+{progress && progress.total > 0 && (<><div className="h-1.5 w-full rounded-full bg-muted overflow-hidden">