idesa oclumn for priamry keywrod and drafts page errro fix

This commit is contained in:
IGNY8 VPS (Salman)
2026-01-15 08:47:24 +00:00
parent 0c02852b06
commit b62350b8e0
5 changed files with 36 additions and 6 deletions

View File

@@ -473,7 +473,6 @@ export const createContentPageConfig = (
),
],
},
},
],
headerMetrics: [
{

View File

@@ -69,6 +69,7 @@ export const createIdeasPageConfig = (
description?: string | null;
content_structure: string;
content_type: string;
primary_focus_keywords?: string | null;
target_keywords?: string | null;
keyword_cluster_id?: number | null;
status: string;
@@ -152,9 +153,19 @@ export const createIdeasPageConfig = (
);
},
},
{
key: 'primary_focus_keywords',
label: 'Primary Keywords',
sortable: false,
render: (value: string) => (
<span className="text-sm font-medium text-gray-700 dark:text-gray-300">
{value || '-'}
</span>
),
},
{
key: 'target_keywords',
label: 'Keywords',
label: 'Covered Keywords',
sortable: false,
render: (value: string) => (
<span className="text-sm text-gray-600 dark:text-gray-400">
@@ -377,10 +388,19 @@ export const createIdeasPageConfig = (
],
},
{
key: 'target_keywords',
label: 'Target Keywords',
key: 'primary_focus_keywords',
label: 'Primary Focus Keywords',
type: 'text',
placeholder: 'Enter keywords (comma-separated)',
placeholder: '1-2 main keywords (comma-separated)',
value: handlers.formData.primary_focus_keywords || '',
onChange: (value: any) =>
handlers.setFormData({ ...handlers.formData, primary_focus_keywords: value }),
},
{
key: 'target_keywords',
label: 'Covered Keywords',
type: 'text',
placeholder: '2-3 supporting keywords (comma-separated)',
value: handlers.formData.target_keywords || '',
onChange: (value: any) =>
handlers.setFormData({ ...handlers.formData, target_keywords: value }),