Separate campaigns from server deployment lifecycle tracking

This commit is contained in:
2026-09-17 16:42:37 -04:00
parent 6c6e63fa80
commit 6f83700161
20 changed files with 1434 additions and 1108 deletions
+5 -5
View File
@@ -90,7 +90,7 @@
liveViews.filter((v) => v.health === 'online').length
);
let totalCount = $derived(servers.length);
let inFlightDeployments = $derived(
let inFlightCampaigns = $derived(
Array.from($deployments.values()).filter((d) => {
for (const s of d.servers.values()) if (s.state === 'pending') return true;
return false;
@@ -127,12 +127,12 @@
</div>
</div>
<div class="hero-cell">
<a class="deploy-link" href="/deployments">
<a class="deploy-link" href="/campaigns">
<Stat
label="Deployments in flight"
value={inFlightDeployments}
label="Campaigns in flight"
value={inFlightCampaigns}
size="xl"
tone={inFlightDeployments > 0 ? 'accent' : 'primary'}
tone={inFlightCampaigns > 0 ? 'accent' : 'primary'}
tween
/>
<span class="link-hint">View →</span>