Phase 1-3 Implemented - PUBLISHING-PROGRESS-AND-SCHEDULING-UX-PLAN

This commit is contained in:
IGNY8 VPS (Salman)
2026-01-16 14:14:17 +00:00
parent e704ed8bcf
commit 1f0a31fe79
14 changed files with 1809 additions and 224 deletions

View File

@@ -294,14 +294,14 @@ const tableActionsConfigs: Record<string, TableActionsConfig> = {
variant: 'primary',
},
{
key: 'publish_wordpress',
key: 'publish_site',
label: 'Publish to Site',
icon: <ArrowRightIcon className="w-5 h-5" />,
variant: 'success',
shouldShow: (row: any) => !row.external_id, // Only show if not published
},
{
key: 'view_on_wordpress',
key: 'view_on_site',
label: 'View on Site',
icon: <CheckCircleIcon className="w-5 h-5 text-brand-500" />,
variant: 'secondary',
@@ -310,7 +310,7 @@ const tableActionsConfigs: Record<string, TableActionsConfig> = {
],
bulkActions: [
{
key: 'bulk_publish_wordpress',
key: 'bulk_publish_site',
label: 'Publish to Site',
icon: <ArrowRightIcon className="w-4 h-4" />,
variant: 'success',
@@ -387,12 +387,6 @@ const tableActionsConfigs: Record<string, TableActionsConfig> = {
icon: <CheckCircleIcon className="w-5 h-5" />,
variant: 'success',
},
{
key: 'publish_wordpress',
label: 'Publish to Site',
icon: <ArrowRightIcon className="w-5 h-5" />,
variant: 'primary',
},
],
bulkActions: [
{
@@ -401,12 +395,6 @@ const tableActionsConfigs: Record<string, TableActionsConfig> = {
icon: <CheckCircleIcon className="w-5 h-5" />,
variant: 'success',
},
{
key: 'bulk_publish_wordpress',
label: 'Publish to Site',
icon: <ArrowRightIcon className="w-5 h-5" />,
variant: 'primary',
},
],
},
// Default config (fallback)