feat: improve growth analysis waiting experience

This commit is contained in:
2026-08-21 02:57:46 +03:30
parent 9f575ec151
commit 71ea59248c
11 changed files with 320 additions and 16 deletions

View File

@@ -9,3 +9,9 @@ export function reportDisplayMode(
if (status === 'QUEUED' || status === 'ANALYZING' || status === 'GENERATING') return 'loading';
return 'error';
}
export function refreshAvailabilityLabel(hasAISummary: boolean, nextRefreshLabel: string): string {
return hasAISummary
? `نوبت بعدی: ${nextRefreshLabel}`
: 'تا آماده‌شدن توضیح هوشمند، تلاش دوباره محدود نیست.';
}