Campaign budget field contextual + earnings full-history link

- Hide the free-form "Budget (credits)" field for fixed-cost campaign types
  (Featured = day-slot priced, Verified visits = flat pack) where spend is derived.
- Overview "Recent payouts" gets a "full history ->" link to the Earnings pane,
  which already lists every on-chain payout/referral/purchase with verify links
  (it just wasn't discoverable from the Overview mini-chart).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-09-07 07:44:00 -05:00
parent 958bd5ac20
commit ea1b2ea0ac
2 changed files with 9 additions and 6 deletions
+3
View File
@@ -568,6 +568,9 @@
$('cVideoRow').hidden = t !== 'video';
$('cFeaturedRow').hidden = t !== 'featured';
$('cVisitsRow').hidden = t !== 'visits';
// fixed-cost types derive their spend (featured = day slots, visits = flat pack),
// so hide the free-form Budget field for them to avoid confusion
$('cBudgetRow').hidden = (t === 'featured' || t === 'visits');
if (t === 'visits') visitHint();
$('cTitle').placeholder = t === 'solo' ? 'Subject line (max 80)' : 'Headline (max 60)';
soloHint();