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(competitors): serve the comparison from the daily rollups (#824)
Gökhan Geyik8a1efb79d497
diff --git a/web/src/app/[locale]/(dashboard)/dashboard/competitors/page.tsx b/web/src/app/[locale]/(dashboard)/dashboard/competitors/page.tsxindex e8548ae05..a0903f654 100644--- a/web/src/app/[locale]/(dashboard)/dashboard/competitors/page.tsx+++ b/web/src/app/[locale]/(dashboard)/dashboard/competitors/page.tsx@@ -1154,7 +1154,10 @@ export default function CompetitorsPage() {try {const [comps, comparison] = await Promise.all([getCompetitors(brand.id),- getCompetitorComparison(brand.id),+ // Empty day window = all-time served from the daily rollups; without+ // it the raw all-time scan exceeds the 8s statement timeout on+ // brands with a large result history.+ getCompetitorComparison(brand.id, { days: {} }),]);setCompetitors(comps);setComparisonData(comparison.brands.length > 1 ? comparison : null);