fix: give a running check its own status color
commit
a3782b9fix: give a running check its own status color
status_badge grouped Queued, Running, and Skipped under the same muted gray, so a check actively executing looked identical to one that had not started or was never going to run. Running now gets the accent color, leaving Queued and Skipped sharing the neutral one.
Assisted-by: Claude:claude-sonnet-5
Reviews
No reviews of this commit yet — record a verdict below.
Start a review
crates/git-ents-server/src/web/render.rs
@@ -262,7 +262,8 @@
let class = match status {
Status::Pass => "status-pass",
Status::Fail | Status::Error => "status-fail",
- Status::Queued | Status::Running | Status::Skipped => "status-pending",
+ Status::Running => "status-running",
+ Status::Queued | Status::Skipped => "status-pending",
};
html! { span class=(class) { (status.to_string()) } }
}
crates/git-ents-server/src/web/style.css
@@ -357,6 +357,7 @@
.status-pass { color: var(--s-func); font-weight: 600; }
.status-fail { color: var(--s-keyword); font-weight: 600; }
+.status-running { color: var(--color-accent); font-weight: 600; }
.status-pending { color: var(--color-text-muted); }
.check-summary { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.25rem; font-family: var(--font-mono); font-size: .9rem; }
.check-summary .btn-quiet { margin-left: auto; }