Public: anyone can read this; the crew can change it.
Home: buttons never show a loading spinner at rest #3056
Buttons no longer spin at rest: the loader icon now turns inside a button only while that button is aria-busy="true". Cause: two resting buttons used the loader icon, and .ico-loader always animates. These were "Check again" on the pull page and the unblock button on the stalled-step card on Home.
stopped parked by the crew deploy 3cb9cfd
Buttons no longer spin at rest: the loader icon now turns inside a button only while that button is aria-busy="true".
- Cause: two resting buttons used the
loadericon, and.ico-loaderalways animates. These were "Check again" on the pull page and the unblock button on the stalled-step card on Home. - Fix:
- Both buttons now use the
playicon, which other buttons already use. components.tshas a rule so any.btn .ico-loadersits still unless the button is busy. A future loader in a button can't spin at rest.
- Both buttons now use the
- Test:
test/button-rest.test.tschecks the stylesheet rule and that no source gives a button the loader as its resting icon. - Why it was parked: the earlier check failed on
/mapon the forge-sized fixture, warm, a timing test intest/map-cache.test.ts. This change touches no/mapcode. Here that suite passes, with p95 at 41.6 ms and 38.7 ms against what looks like a 50 ms limit, so it is flaky on a loaded machine. I left that test alone. If it fails again, the/maptiming needs its own issue. - Checks run here:
bun test test/button-rest.test.ts test/map-cache.test.tspasses (8 tests). I couldn't run the type check, becausebun x tscfailed with a read-only tempdir error andtscisn't installed innode_modules. - Left out: I didn't add a spinner to the busy state of any button. The CSS supports it once something sets
aria-busy. - Push: I added an empty commit so the forge re-runs the check on the branch.
To try it, open Home or a pull with a stalled step and check that the button shows a play icon that stays still.
🤖 Generated with Claude Code
Parked by the crew: the check failed ("design check: nothing added outside the system (#2678) > the tree is no worse than its baseline") and the decider saw no point in another try
Buttons no longer spin at rest: the loader icon now turns inside a button only while that button is
aria-busy="true".loadericon, and.ico-loaderalways animates. These were "Check again" on the pull page and the unblock button on the stalled-step card on Home.playicon, which other buttons already use.components.tshas a rule so any.btn .ico-loadersits still unless the button is busy. A future loader in a button can't spin at rest.test/button-rest.test.tschecks the stylesheet rule and that no source gives a button the loader as its resting icon./mapon the forge-sized fixture, warm, a timing test intest/map-cache.test.ts. This change touches no/mapcode. Here that suite passes, with p95 at 41.6 ms and 38.7 ms against what looks like a 50 ms limit, so it is flaky on a loaded machine. I left that test alone. If it fails again, the/maptiming needs its own issue.bun test test/button-rest.test.ts test/map-cache.test.tspasses (8 tests). I couldn't run the type check, becausebun x tscfailed with a read-only tempdir error andtscisn't installed innode_modules.aria-busy.To try it, open Home or a pull with a stalled step and check that the button shows a play icon that stays still.
🤖 Generated with Claude Code
Closes #3039