Section 3 Completed
This commit is contained in:
@@ -127,7 +127,7 @@ const getSuccessMessage = (functionId?: string, title?: string, stepLogs?: any[]
|
||||
}
|
||||
|
||||
// Default message
|
||||
return 'Featured Image and X In‑article 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 In‑article Image Prompts' },
|
||||
{ phase: 'PARSE', label: 'Writing In‑article 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]} In‑article Image Prompts`;
|
||||
}
|
||||
}
|
||||
return 'Writing X In‑article Image Prompts';
|
||||
return 'Writing In‑article 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);
|
||||
|
||||
Reference in New Issue
Block a user