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
feat(citations): show You in ink and Social in rose, and take violet out of Action Center badges (#1221)
Cihane288fcdd9496
diff --git a/web/src/app/[locale]/(dashboard)/dashboard/citations/page.tsx b/web/src/app/[locale]/(dashboard)/dashboard/citations/page.tsxindex cc9d938ca..301d96e45 100644--- a/web/src/app/[locale]/(dashboard)/dashboard/citations/page.tsx+++ b/web/src/app/[locale]/(dashboard)/dashboard/citations/page.tsx@@ -88,12 +88,13 @@ import { cn } from '@/lib/utils';// ─── Constants ───────────────────────────────────────────────────────────────+// As the category badges (source-cells.tsx): You in ink, Social in rose.const CATEGORY_COLORS: Record<SourceCategory, string> = {- you: '#6366f1',+ you: 'var(--primary)',competitor: '#f97316',editorial: '#3b82f6',forum: '#22c55e',- social: '#a855f7',+ social: '#f43f5e',review: '#eab308',institutional: '#14b8a6',other: '#94a3b8',diff --git a/web/src/app/[locale]/(dashboard)/dashboard/citations/url/page.tsx b/web/src/app/[locale]/(dashboard)/dashboard/citations/url/page.tsxindex da41a4d31..843b969f7 100644--- a/web/src/app/[locale]/(dashboard)/dashboard/citations/url/page.tsx+++ b/web/src/app/[locale]/(dashboard)/dashboard/citations/url/page.tsx@@ -237,7 +237,7 @@ export default function CitationUrlDetailPage() {<div className="shrink-0">{data &&(data.category === 'you' ? (- <Badge className="bg-indigo-500/10 text-indigo-700 dark:text-indigo-300 border-indigo-500/30 border">+ <Badge className="border border-primary/30 bg-primary/10 text-foreground">Owned</Badge>) : (diff --git a/web/src/components/action-center/action-table.tsx b/web/src/components/action-center/action-table.tsxindex 279c64793..38c3b988d 100644--- a/web/src/components/action-center/action-table.tsx+++ b/web/src/components/action-center/action-table.tsx@@ -104,7 +104,7 @@ export function ActionIcon({export const ACTION_STATUS_BADGE: Record<ActionStatus, string> = {new: 'border-blue-500/30 bg-blue-500/10 text-blue-600 dark:text-blue-400',- in_progress: 'border-indigo-500/30 bg-indigo-500/10 text-indigo-600 dark:text-indigo-400',+ in_progress: 'border-teal-500/30 bg-teal-500/10 text-teal-700 dark:text-teal-400',completed: 'border-green-500/30 bg-green-500/10 text-green-600 dark:text-green-400',on_hold: 'border-amber-500/30 bg-amber-500/10 text-amber-600 dark:text-amber-400',dismissed: 'border-border bg-muted/50 text-muted-foreground',diff --git a/web/src/components/action-center/history-table.tsx b/web/src/components/action-center/history-table.tsxindex ae71c06f8..8c6c193bf 100644--- a/web/src/components/action-center/history-table.tsx+++ b/web/src/components/action-center/history-table.tsx@@ -23,7 +23,7 @@ const TYPE_TONES: Record<string, string> = {recover: 'border-red-500/30 bg-red-500/10 text-red-700 dark:text-red-400',protect: 'border-amber-500/30 bg-amber-500/10 text-amber-700 dark:text-amber-400',fix: 'border-orange-500/30 bg-orange-500/10 text-orange-700 dark:text-orange-400',- compete: 'border-violet-500/30 bg-violet-500/10 text-violet-700 dark:text-violet-400',+ compete: 'border-sky-500/30 bg-sky-500/10 text-sky-700 dark:text-sky-400',};const STATUS_TONES: Record<string, string> = {diff --git a/web/src/components/citations/source-cells.tsx b/web/src/components/citations/source-cells.tsxindex 2aad75515..9b333d4d3 100644--- a/web/src/components/citations/source-cells.tsx+++ b/web/src/components/citations/source-cells.tsx@@ -19,12 +19,14 @@ import {type AIProviderKey,} from '@/components/ai-provider-avatar';+// You in ink, the theme's primary, as Mentions marks your brand; the other+// categories in hues apart from one another, none of them violet.export const CATEGORY_BADGE_CLASSES: Record<SourceCategory, string> = {- you: 'border-indigo-500/30 bg-indigo-500/10 text-indigo-700 dark:text-indigo-300',+ you: 'border-primary/30 bg-primary/10 text-foreground',competitor: 'border-orange-500/30 bg-orange-500/10 text-orange-700 dark:text-orange-300',editorial: 'border-blue-500/30 bg-blue-500/10 text-blue-700 dark:text-blue-300',forum: 'border-green-500/30 bg-green-500/10 text-green-700 dark:text-green-300',- social: 'border-purple-500/30 bg-purple-500/10 text-purple-700 dark:text-purple-300',+ social: 'border-rose-500/30 bg-rose-500/10 text-rose-700 dark:text-rose-300',review: 'border-yellow-500/30 bg-yellow-500/10 text-yellow-700 dark:text-yellow-300',institutional: 'border-teal-500/30 bg-teal-500/10 text-teal-700 dark:text-teal-300',other: 'border-slate-400/30 bg-slate-400/10 text-slate-700 dark:text-slate-300',