Section 3 Completed

This commit is contained in:
IGNY8 VPS (Salman)
2025-12-27 02:43:46 +00:00
parent add04e2ad5
commit 178b7c23ce
11 changed files with 242 additions and 755 deletions

View File

@@ -127,7 +127,7 @@ const getSuccessMessage = (functionId?: string, title?: string, stepLogs?: any[]
}
// Default message
return 'Featured Image and X Inarticle Image Prompts ready for image generation';
return 'Image prompts ready for generation';
}
return 'Task completed successfully.';
};
@@ -180,9 +180,9 @@ const getStepsForFunction = (functionId?: string, title?: string): Array<{phase:
// Image prompt generation
return [
{ phase: 'INIT', label: 'Checking content and image slots' },
{ phase: 'PREP', label: 'Mapping Content for X Image Prompts' },
{ phase: 'PREP', label: 'Mapping content for image prompts' },
{ phase: 'AI_CALL', label: 'Writing Featured Image Prompts' },
{ phase: 'PARSE', label: 'Writing X Inarticle Image Prompts' },
{ phase: 'PARSE', label: 'Writing Inarticle Image Prompts' },
{ phase: 'SAVE', label: 'Assigning Prompts to Dedicated Slots' },
];
}
@@ -457,7 +457,7 @@ export default function ProgressModal({
return `Mapping Content for ${match[1]} Image Prompts`;
}
}
return 'Mapping Content for X Image Prompts';
return 'Mapping content for image prompts';
} else if (stepPhase === 'AI_CALL') {
// For AI_CALL: Show "Writing Featured Image Prompts"
return 'Writing Featured Image Prompts';
@@ -475,7 +475,7 @@ export default function ProgressModal({
return `Writing ${match[1]} Inarticle Image Prompts`;
}
}
return 'Writing X Inarticle Image Prompts';
return 'Writing Inarticle Image Prompts';
} else if (stepPhase === 'SAVE') {
// For SAVE: Extract prompt count from message
const promptCount = extractCount(/(\d+)\s+Prompts/i) || extractCount(/(\d+)\s+prompt/i);