docs & ux improvmeents

This commit is contained in:
IGNY8 VPS (Salman)
2025-12-25 20:31:58 +00:00
parent 90e6e96b2b
commit 4bffede052
247 changed files with 6869 additions and 53517 deletions

View File

@@ -245,7 +245,7 @@ const AutomationPage: React.FC = () => {
const handleRunNow = async () => {
if (!activeSite) return;
if (estimate && !estimate.sufficient) {
toast.error(`Insufficient credits. Need ~${estimate.estimated_credits}, you have ${estimate.current_balance}`);
toast.error(`Content limit reached. This run needs ~${estimate.estimated_credits} pieces, you have ${estimate.current_balance} remaining.`);
return;
}
try {
@@ -453,9 +453,9 @@ const AutomationPage: React.FC = () => {
<div className="h-4 w-px bg-white/25"></div>
<div className="text-sm text-white/90">
<span className="font-medium">Est:</span>{' '}
<span className="font-semibold text-white">{estimate?.estimated_credits || 0} credits</span>
<span className="font-semibold text-white">{estimate?.estimated_credits || 0} content pieces</span>
{estimate && !estimate.sufficient && (
<span className="ml-1 text-white/90 font-semibold">(Low)</span>
<span className="ml-1 text-white/90 font-semibold">(Limit reached)</span>
)}
</div>
</div>