diff --git a/frontend/src/components/common/ProgressModal.tsx b/frontend/src/components/common/ProgressModal.tsx index e92b3c1e..7b7ff720 100644 --- a/frontend/src/components/common/ProgressModal.tsx +++ b/frontend/src/components/common/ProgressModal.tsx @@ -95,7 +95,7 @@ const getStepsForFunction = (functionId?: string, title?: string): Array<{phase: return [ { phase: 'INIT', label: 'Validating keywords' }, { phase: 'PREP', label: 'Loading keyword data' }, - { phase: 'AI_CALL', label: 'Generating clusters' }, + { phase: 'AI_CALL', label: 'Generating clusters with Igny8 Semantic SEO Model' }, { phase: 'PARSE', label: 'Organizing clusters' }, { phase: 'SAVE', label: 'Saving clusters' }, ]; @@ -105,7 +105,7 @@ const getStepsForFunction = (functionId?: string, title?: string): Array<{phase: return [ { phase: 'INIT', label: 'Verifying cluster integrity' }, { phase: 'PREP', label: 'Loading cluster keywords' }, - { phase: 'AI_CALL', label: 'AI started processing clusters' }, + { phase: 'AI_CALL', label: 'Generating ideas with Igny8 Semantic AI' }, { phase: 'PARSE', label: 'High-opportunity ideas generated' }, { phase: 'SAVE', label: 'Content Outline for Ideas generated' }, ]; @@ -115,7 +115,7 @@ const getStepsForFunction = (functionId?: string, title?: string): Array<{phase: return [ { phase: 'INIT', label: 'Validating task' }, { phase: 'PREP', label: 'Preparing content idea' }, - { phase: 'AI_CALL', label: 'Writing article with AI' }, + { phase: 'AI_CALL', label: 'Writing article with Igny8 Semantic AI' }, { phase: 'PARSE', label: 'Formatting content' }, { phase: 'SAVE', label: 'Saving article' }, ]; @@ -125,7 +125,7 @@ const getStepsForFunction = (functionId?: string, title?: string): Array<{phase: return [ { phase: 'INIT', label: 'Validating task' }, { phase: 'PREP', label: 'Extracting image prompts' }, - { phase: 'AI_CALL', label: 'Creating images with AI' }, + { phase: 'AI_CALL', label: 'Creating images with Igny8 Semantic AI' }, { phase: 'PARSE', label: 'Processing images' }, { phase: 'SAVE', label: 'Saving images' }, ]; @@ -135,7 +135,7 @@ const getStepsForFunction = (functionId?: string, title?: string): Array<{phase: return [ { phase: 'INIT', label: 'Initializing...' }, { phase: 'PREP', label: 'Preparing...' }, - { phase: 'AI_CALL', label: 'Processing with AI...' }, + { phase: 'AI_CALL', label: 'Processing with Igny8 Semantic AI...' }, { phase: 'PARSE', label: 'Processing results...' }, { phase: 'SAVE', label: 'Saving results...' }, ]; @@ -274,12 +274,8 @@ export default function ProgressModal({ } return message; } else if (stepPhase === 'AI_CALL') { - // For AI_CALL: Show count of keywords being sent - const keywordCount = extractCount(/(\d+)\s+keyword/i); - if (keywordCount) { - return `Sending ${keywordCount} keyword${keywordCount !== '1' ? 's' : ''} for clustering`; - } - return message; + // For AI_CALL: Show "Generating clusters with Igny8 Semantic SEO Model" + return 'Generating clusters with Igny8 Semantic SEO Model'; } else if (stepPhase === 'PARSE') { // For PARSE: Show count of clusters created const clusterCount = extractCount(/(\d+)\s+cluster/i); @@ -310,8 +306,8 @@ export default function ProgressModal({ // For PREP: Show "Loading cluster keywords" return 'Loading cluster keywords'; } else if (stepPhase === 'AI_CALL') { - // For AI_CALL: Show "AI started processing clusters" - return 'AI started processing clusters'; + // For AI_CALL: Show "Generating ideas with Igny8 Semantic AI" + return 'Generating ideas with Igny8 Semantic AI'; } else if (stepPhase === 'PARSE') { // For PARSE: Show "X high-opportunity ideas generated" const ideaCount = extractCount(/(\d+)\s+idea/i); @@ -331,14 +327,20 @@ export default function ProgressModal({ return 'Content Outline for Ideas generated'; } } else if (funcName.includes('content')) { - if (stepPhase === 'PARSE') { + if (stepPhase === 'AI_CALL') { + // For AI_CALL: Show "Writing article with Igny8 Semantic AI" + return 'Writing article with Igny8 Semantic AI'; + } else if (stepPhase === 'PARSE') { const articleCount = extractCount(/(\d+)\s+article/i); if (articleCount) { return `${articleCount} article${articleCount !== '1' ? 's' : ''} created`; } } } else if (funcName.includes('image')) { - if (stepPhase === 'PARSE') { + if (stepPhase === 'AI_CALL') { + // For AI_CALL: Show "Creating images with Igny8 Semantic AI" + return 'Creating images with Igny8 Semantic AI'; + } else if (stepPhase === 'PARSE') { const imageCount = extractCount(/(\d+)\s+image/i); if (imageCount) { return `${imageCount} image${imageCount !== '1' ? 's' : ''} created`; diff --git a/frontend/src/hooks/useProgressModal.ts b/frontend/src/hooks/useProgressModal.ts index b9f8b0f2..9958e27d 100644 --- a/frontend/src/hooks/useProgressModal.ts +++ b/frontend/src/hooks/useProgressModal.ts @@ -135,13 +135,13 @@ export function useProgressModal(): UseProgressModalReturn { } if (stepUpper.includes('AI_CALL') || stepUpper.includes('CALLING')) { if (isContentGeneration) { - return { percentage: 50, friendlyMessage: 'Generating content with AI...' }; + return { percentage: 50, friendlyMessage: 'Writing article with Igny8 Semantic AI...' }; } else if (isClustering) { - return { percentage: 50, friendlyMessage: 'Finding related keywords...' }; + return { percentage: 50, friendlyMessage: 'Generating clusters with Igny8 Semantic SEO Model...' }; } else if (isIdeas) { - return { percentage: 50, friendlyMessage: 'Generating ideas...' }; + return { percentage: 50, friendlyMessage: 'Generating ideas with Igny8 Semantic AI...' }; } - return { percentage: 50, friendlyMessage: 'Processing with AI...' }; + return { percentage: 50, friendlyMessage: 'Processing with Igny8 Semantic AI...' }; } if (stepUpper.includes('PARSE') || stepUpper.includes('PARSING')) { if (isContentGeneration) {