old automation cleanup adn status feilds of planner udpate

This commit is contained in:
IGNY8 VPS (Salman)
2025-12-03 05:13:53 +00:00
parent 7df6e190fc
commit c9f082cb12
40 changed files with 1832 additions and 2134 deletions

View File

@@ -192,7 +192,7 @@ export const createClustersPageConfig = (
render: (value: string) => {
const properCase = value ? value.charAt(0).toUpperCase() + value.slice(1) : '-';
return (
<Badge color={value === 'active' ? 'success' : 'warning'} size="xs" variant="soft">
<Badge color={value === 'mapped' ? 'success' : 'amber'} size="xs" variant="soft">
<span className="text-[11px] font-normal">{properCase}</span>
</Badge>
);
@@ -248,8 +248,8 @@ export const createClustersPageConfig = (
type: 'select',
options: [
{ value: '', label: 'All Status' },
{ value: 'active', label: 'Active' },
{ value: 'archived', label: 'Archived' },
{ value: 'new', label: 'New' },
{ value: 'mapped', label: 'Mapped' },
],
},
{
@@ -409,12 +409,12 @@ export const createClustersPageConfig = (
key: 'status',
label: 'Status',
type: 'select',
value: handlers.formData.status || 'active',
value: handlers.formData.status || 'new',
onChange: (value: any) =>
handlers.setFormData({ ...handlers.formData, status: value }),
options: [
{ value: 'active', label: 'Active' },
{ value: 'archived', label: 'Archived' },
{ value: 'new', label: 'New' },
{ value: 'mapped', label: 'Mapped' },
],
},
],