diff --git a/CHANGELOG.md b/CHANGELOG.md index 69d8264..290ea3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,15 @@ migration step. ## [Unreleased] +### Changed + +- A run with a job on a runner shows as running: spinning icon and a sweep along + the row. GitHub keeps such a run "queued" while any other job still waits for a + runner, so it used to show the still queued dot. Queued runs pulse gently; both + animations stop under `prefers-reduced-motion`. +- A busy runner whose job Forge can't see (a repository it doesn't watch) says so, + instead of "waiting for work" next to a busy badge. + ### Fixed - Deregistered repo runners now leave the board. Pruning took the scope from diff --git a/forge/index.html b/forge/index.html index a55ac0c..fbcf25f 100644 --- a/forge/index.html +++ b/forge/index.html @@ -157,6 +157,14 @@ .ico.running{background:rgba(255,181,71,.15);color:var(--run)} .ico.running svg{animation:spin 1.1s linear infinite} .ico.queued{background:rgba(142,162,255,.14);color:var(--queue)} +.ico.queued svg{animation:blink 1.2s ease-in-out infinite alternate} +/* A run with a job on a runner: a sweep along the row's bottom edge, like a hot stat. */ +.run.running{position:relative;background:linear-gradient(90deg,rgba(255,181,71,.05),transparent 40%)} +.run.running::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;overflow:hidden; + background:linear-gradient(90deg,transparent,var(--run),transparent);background-size:50% 100%;background-repeat:no-repeat; + animation:rowsweep 1.8s linear infinite} +@keyframes rowsweep{from{background-position:-50% 0}to{background-position:150% 0}} +@media (prefers-reduced-motion:reduce){.run.running::after,.ico.running svg,.ico.queued svg{animation:none}} .ico.cancelled,.ico.skipped{background:rgba(139,147,167,.12);color:var(--cancel)} @keyframes spin{to{transform:rotate(360deg)}} .where{font:600 10px var(--mono);letter-spacing:.04em;padding:1px 6px;border-radius:4px} @@ -438,6 +446,12 @@