Restore campaign terminology across UI and docs

This commit is contained in:
2026-09-19 22:41:33 -04:00
parent 05024c7675
commit 68b21a83ce
19 changed files with 56 additions and 56 deletions
+1 -1
View File
@@ -42,7 +42,7 @@
const filtered = $derived(betas.filter(b => active(b) === (tab === 'active') && ('#' + b.id + ' ' + (b.notes ?? '') + ' ' + b.scripts.map(s => s.name).join(' ')).toLowerCase().includes(search.toLowerCase())));
function age(date:string) { const minutes=Math.max(0,Math.floor((now-Date.parse(date))/60000));return minutes<60?`${minutes}m ago`:minutes<1440?`${Math.floor(minutes/60)}h ago`:`${Math.floor(minutes/1440)}d ago`; }
function blocker(beta:BetaListRow) {
if(beta.state==='promoted')return 'Version promoted; check its rollout for remaining activation.';
if(beta.state==='promoted')return 'Version promoted; check its campaign for remaining activation.';
if(beta.state==='rolled-back')return 'Rolled back. The files and plan can be reused for another attempt.';
if(beta.state==='ready-promote')return 'Ready for promotion review.';
if(beta.testReason)return beta.testReason;