diff --git a/src/client/features/dashboard/DashboardCards.tsx b/src/client/features/dashboard/DashboardCards.tsx index 7fd63ff..6687872 100644 --- a/src/client/features/dashboard/DashboardCards.tsx +++ b/src/client/features/dashboard/DashboardCards.tsx @@ -22,7 +22,6 @@ import { import type { DashboardAuditSummary, DashboardBacklinkSummary, - DashboardRankSummary, } from "@/server/features/dashboard/services/DashboardService"; // Plain string-keyed view of the registry: issue types from the DB are not @@ -116,68 +115,6 @@ export function GscCard({ ); } -export function RankMovementCard({ - projectId, - rank, -}: { - projectId: string; - rank: DashboardRankSummary | null; -}) { - if (!rank) { - return ( - - - Track your first keyword - - } - /> - - ); - } - - return ( - - More details - - } - > -
- - 0 ? "success" : undefined} - /> - 0 ? "error" : undefined} - /> - -
-
- ); -} - export function AuditHealthCard({ projectId, audit, diff --git a/src/client/features/dashboard/DashboardPage.tsx b/src/client/features/dashboard/DashboardPage.tsx index 4058ba4..576799f 100644 --- a/src/client/features/dashboard/DashboardPage.tsx +++ b/src/client/features/dashboard/DashboardPage.tsx @@ -13,7 +13,6 @@ import { AuditHealthCard, BacklinkPulseCard, GscCard, - RankMovementCard, } from "@/client/features/dashboard/DashboardCards"; import { McpConnectCard } from "@/client/features/dashboard/McpConnectCard"; import { getStandardErrorMessage } from "@/client/lib/error-messages"; @@ -33,7 +32,7 @@ const HERO_COPY: Record< > = { domain: { title: "What site are you working on?", - body: "Set your project's domain and every card on this page starts working for it — backlinks, audits, rank tracking.", + body: "Set your project's domain and every card on this page starts working for it — backlinks and audits.", cta: "Save", }, mcp: { @@ -328,16 +327,6 @@ export function DashboardPage({ projectId }: { projectId: string }) { hasData: gscConnected, node: , }, - { - key: "rank", - hasData: overview?.rank != null, - node: ( - - ), - }, { key: "audit", hasData: overview?.audit != null, diff --git a/src/server/features/dashboard/services/DashboardService.ts b/src/server/features/dashboard/services/DashboardService.ts index cecbb99..c83d319 100644 --- a/src/server/features/dashboard/services/DashboardService.ts +++ b/src/server/features/dashboard/services/DashboardService.ts @@ -29,7 +29,7 @@ export type DashboardActivation = { competitorClickedAt: string | null; }; -export type DashboardRankSummary = { +type DashboardRankSummary = { trackedKeywords: number; improved: number; declined: number;