fix(site): offer Apple silicon only on the download page#29

merged2
main
site/apple-silicon
opened1d agobyKKainoa Newton
View on GitHubTwo-way sync enabledPR last imported 5h ago

Problem. Releases are Apple silicon only (D7), but the site said "Apple silicon and Intel" in the download button, the arch picker, the release.ts labels, and the "Which one is mine?" card. Worse, release.ts threw when the latest release had no x86_64 DMG, so the first arm64-only release would have failed the site build once RELEASE_READY flips.

Change.

  • release.ts reads only *_arm64-macos.dmg. Other images on a release are ignored. A release with no arm64 DMG still fails the build on purpose, so Vercel keeps the last good deploy. Versions before 0.2.0 get preview: true.
  • /download: the chip picker becomes one "Download for Mac" button, with the line "Apple silicon (M1 or later), macOS 13 Ventura or later". Detection now only decides whether to auto-download. An Intel Mac gets "This Mac has an Intel chip, and rac needs Apple silicon, so nothing downloaded." An unknown chip gets no auto-download.
  • 0.1.0 shows "Preview. Not for daily use." under the button and next to the version.
  • The download button note and the home page's closing line say the same platform text.
  • RELEASE_READY stays false.

Verified.

  • astro build passes.
  • release.ts against mocked GitHub responses: arm64-only 0.1.0 gives preview true; arm64 + x86_64 0.2.0 picks arm64 with preview false; x86_64-only throws "has no arm64 disk image".
  • Headless Chromium with a faked navigator.userAgentData sets data-state to mac, intel, pick, and other for Apple silicon, Intel, an unknown chip, and Linux. Shots attached, light and dark.

Net-diff hunks: 0 (no patches touched).

🤖 Generated with Claude Code (Claude Opus 5.5)

Download page before: chip picker with Intel

After: Apple silicon Mac (auto-download, preview label)

After: Intel Mac, nothing downloads

After: Mac with unknown chip (dark)

After: not a Mac

All downloads, before

All downloads, after (dark)

Home page closing CTA, after


Note

Low Risk Static site copy and download UX only; release fetch logic is build-time with fail-safe behavior unchanged.

Overview Aligns the marketing site with Apple silicon–only releases so copy, build-time release data, and download behavior match what ships.

release.ts now exposes a single arm64 build from *_arm64-macos.dmg (Intel assets are ignored). Missing arm64 still fails the build. Versions before 0.2.0 get preview: true and shared PLATFORM copy for CTAs.

/download drops the chip picker for one Download for Mac button. Client detection only gates auto-download (Apple silicon yes, Intel shows an explicit message and downloads nothing, unknown chip no auto-start). Preview builds show Preview. Not for daily use.

DownloadButton, home CTA, and docs/operations/site.md use the same platform wording; the home closing line no longer mentions macOS 13 generically without the Apple silicon requirement.

Reviewed by Cursor Bugbot for commit b9b9b0d188cd8ed897402758e11d083c0038df15. Bugbot is set up for automated code reviews on this repo. Configure here.

Checks

2 failing · 7 successful · 2 neutral · 1 skipped
Some checks failed

Failing2

  • pullfrogGitHub
    Failed
  • VercelGitHub
    Failed
b9b9b0d

Added 1 commit

  • fix(site): offer Apple silicon only on the download pagec803266
Synced from GitHub

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

External image Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: c5506f6c-b9a6-43a4-b118-071f0e0ca308

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Synced from GitHub

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: c2ac4f1d-6a59-4340-9681-ca212709c924)

Synced from GitHub

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable issues were found.

Summary

The site now offers only the Apple silicon download and labels versions before 0.2.0 as previews.

  • The site offers only the Apple silicon release image.
  • The download page offers one Mac link and checks chips only for auto-download.
  • Versions before 0.2.0 show a preview warning.

Reviews (1) · Last reviewed commit: "fix(site): offer Apple silicon only on t..." · Reviewed by Greptile

Added 1 commit

  • fix(site): describe the Apple-silicon-only download page in the docsb9b9b0d
Synced from GitHub

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: 0d7668ac-65ce-476b-9590-935ad8065891)