metrics adn insihigts
This commit is contained in:
@@ -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.',
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user