metrics adn insihigts
This commit is contained in:
@@ -476,28 +476,32 @@ export const createKeywordsPageConfig = (
|
||||
],
|
||||
headerMetrics: [
|
||||
{
|
||||
label: 'Total Keywords',
|
||||
label: 'Keywords',
|
||||
value: 0,
|
||||
accentColor: 'blue' as const,
|
||||
calculate: (data) => data.totalCount || 0,
|
||||
tooltip: 'Total keywords added to site wrokflow. Minimum 5 Keywords are needed for clustering.',
|
||||
},
|
||||
{
|
||||
label: 'Mapped',
|
||||
label: 'Clustered',
|
||||
value: 0,
|
||||
accentColor: 'green' as const,
|
||||
calculate: (data) => data.keywords.filter((k: Keyword) => k.cluster_id).length,
|
||||
tooltip: 'Keywords grouped into topical clusters. Clustered keywords are ready for content ideation.',
|
||||
},
|
||||
{
|
||||
label: 'Unmapped',
|
||||
value: 0,
|
||||
accentColor: 'amber' as const,
|
||||
calculate: (data) => data.keywords.filter((k: Keyword) => !k.cluster_id).length,
|
||||
tooltip: 'Unclustered keywords waiting to be organized. Select keywords and use Auto-Cluster to group them.',
|
||||
},
|
||||
{
|
||||
label: 'Total Volume',
|
||||
label: 'Volume',
|
||||
value: 0,
|
||||
accentColor: 'purple' as const,
|
||||
calculate: (data) => data.keywords.reduce((sum: number, k: Keyword) => sum + (k.volume || 0), 0),
|
||||
tooltip: 'Total monthly search volume across all keywords. Higher volume = more traffic potential.',
|
||||
},
|
||||
],
|
||||
// bulkActions and rowActions are now global - defined in table-actions.config.ts
|
||||
|
||||
Reference in New Issue
Block a user