feat: improve growth analysis waiting experience
This commit is contained in:
@@ -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}`
|
||||
: 'تا آمادهشدن توضیح هوشمند، تلاش دوباره محدود نیست.';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user