Skip to content

Stop the fan icon in the Cooling section from spinning - #134

Merged
gitar-bot[bot] merged 1 commit into
mainfrom
site/still-fan
Oct 28, 2026
Merged

gitar-bot[bot] merged 1 commit into
mainfrom
site/still-fan

Conversation

@offyotto

Copy link
Copy Markdown
Owner

Change

The fan icon next to the fan curve in the Cooling section spun all the time. Its speed followed the curve's rpm. That constant motion pulls the eye away from the rest of the page, so the icon is now still.

  • styles.css: remove the spin keyframes and the .fan animation. Also remove transform-origin, which only the rotation used.
  • script.js: remove the lab's spin() method, its call in the main loop, the fanEl and angle variables, and the is-js class, which only existed to switch off the CSS spin.
  • The icon still changes color when cooling goes back to macOS (.lab.is-auto .fan).
  • Nothing else that moves changes. The live readings, charts, autoplay videos, and glass bar motion all stay.
  • Cache-busting versions go up to ?v=34 for styles.css and script.js on all five pages, because ?v=33 is live.

Verification

  • node --check docs/script.js passes.

  • A search finds no remaining references to fanEl, angle, spin, or is-js.

  • I did not run a browser pass. Please check the Cooling section on the preview before you merge.

  • Tests cover the changed behavior.

  • User-facing changes are documented.

  • Security-sensitive changes were reviewed for privilege, XPC, signing, and SMC impact.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-28T00:40:40.744362Z e89a2c3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@gitar-bot

gitar-bot Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved

🟢 Low risk · Removing the Cooling fan’s rotation and its supporting JavaScript is a narrowly scoped visual change; live readings and other animations remain unchanged.

Stops the fan icon in the Cooling section from spinning by removing the spin keyframes, the lab's spin() method, and the is-js class, while the color change for macOS auto mode is kept. No issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Approved

For more verification details, comment gitar display:verbose.

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@gitar-bot
gitar-bot Bot enabled auto-merge (squash) October 28, 2026 00:41
@gitar-bot gitar-bot Bot added the gitar-approved Added by Gitar label Oct 28, 2026

@gitar-bot gitar-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gitar has auto-approved this PR (configure)

@gitar-bot
gitar-bot Bot merged commit 370f2d3 into main Oct 28, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gitar-approved Added by Gitar

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant