'robots.txt',
'llms_txt' => 'llms.txt',
'faq_schema' => 'FAQ Schema',
'org_schema' => 'Organization Schema',
'heading_rewrite' => 'Heading Rewrite',
'meta_description' => 'Meta Description',
'blog_draft' => 'Blog Draft',
);
$type_label = $type_labels[ $action_type ] ?? $action_type;
$priority_colors = array(
'critical' => '#ef4444',
'high' => '#f97316',
'medium' => '#eab308',
'low' => '#6b7280',
);
$priority_color = $priority_colors[ $action_priority ] ?? '#6b7280';
$impact = $action['context']['point_impact'] ?? null;
?>
= 120 && $char_count <= 160 ) ? 'aiadvisors-char-good' : 'aiadvisors-char-warn';
?>
__( 'Applied', 'ai-advisors' ),
'dismissed' => __( 'Dismissed', 'ai-advisors' ),
);
$history_type_labels = array(
'robots_txt' => 'robots.txt',
'llms_txt' => 'llms.txt',
'faq_schema' => 'FAQ Schema',
'org_schema' => 'Organization Schema',
'heading_rewrite' => 'Heading Rewrite',
'meta_description' => 'Meta Description',
'blog_draft' => 'Blog Draft',
);
$status_label = $status_labels[ $item['status'] ] ?? $item['status'];
$status_class = $item['status'] === 'dismissed' ? 'aiadvisors-badge-dismissed' : 'aiadvisors-badge-applied';
$history_type_label = $history_type_labels[ $item['type'] ] ?? $item['type'];
$time_ago = human_time_diff( strtotime( $item['applied_at'] ), time() );
?>