metrics adn insihigts

This commit is contained in:
IGNY8 VPS (Salman)
2025-12-15 06:51:14 +00:00
parent cff00f87ff
commit c61cf7c39f
21 changed files with 749 additions and 129 deletions

View File

@@ -387,28 +387,32 @@ export const createIdeasPageConfig = (
],
headerMetrics: [
{
label: 'Total Ideas',
label: 'Ideas',
value: 0,
accentColor: 'blue' as const,
calculate: (data) => data.totalCount || 0,
tooltip: 'Total content ideas generated. Ideas become tasks in the content queue for writing.',
},
{
label: 'New',
value: 0,
accentColor: 'amber' as const,
calculate: (data) => data.ideas.filter((i: ContentIdea) => i.status === 'new').length,
tooltip: 'New ideas waiting for review. Approve ideas to queue them for content creation.',
},
{
label: 'Queued',
value: 0,
accentColor: 'blue' as const,
calculate: (data) => data.ideas.filter((i: ContentIdea) => i.status === 'queued').length,
tooltip: 'Ideas queued for content generation. These will be converted to writing tasks automatically.',
},
{
label: 'Completed',
value: 0,
accentColor: 'green' as const,
calculate: (data) => data.ideas.filter((i: ContentIdea) => i.status === 'published').length,
calculate: (data) => data.ideas.filter((i: ContentIdea) => i.status === 'completed').length,
tooltip: 'Ideas that have been successfully turned into content. Track your content creation progress.',
},
],
};