Phase 1-3 Implemented - PUBLISHING-PROGRESS-AND-SCHEDULING-UX-PLAN
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user