metrics adn insihigts
This commit is contained in:
@@ -262,19 +262,28 @@ export function createReviewPageConfig(params: {
|
||||
],
|
||||
headerMetrics: [
|
||||
{
|
||||
label: 'Total Ready',
|
||||
label: 'Ready',
|
||||
accentColor: 'blue',
|
||||
calculate: ({ totalCount }) => totalCount,
|
||||
tooltip: 'Content ready for final review. Review quality, SEO, and images before publishing.',
|
||||
},
|
||||
{
|
||||
label: 'Has Images',
|
||||
label: 'Images',
|
||||
accentColor: 'green',
|
||||
calculate: ({ content }) => content.filter(c => c.has_generated_images).length,
|
||||
tooltip: 'Content with generated images. Visual assets complete and ready for review.',
|
||||
},
|
||||
{
|
||||
label: 'Optimized',
|
||||
accentColor: 'purple',
|
||||
calculate: ({ content }) => content.filter(c => (c as any).optimization_score >= 80).length,
|
||||
calculate: ({ content }) => content.filter(c => c.optimization_scores && c.optimization_scores.overall_score >= 80).length,
|
||||
tooltip: 'Content with high SEO optimization scores (80%+). Well-optimized for search engines.',
|
||||
},
|
||||
{
|
||||
label: 'Sync Ready',
|
||||
accentColor: 'amber',
|
||||
calculate: ({ content }) => content.filter(c => c.has_generated_images && c.optimization_scores && c.optimization_scores.overall_score >= 70).length,
|
||||
tooltip: 'Content ready for WordPress sync. Has images and good optimization score.',
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user