Skip to content

PR #32 follow-ups: review fixes and a zero-decision download button - #33

Merged
yujiezhang-ops merged 2 commits into
mainfrom
feat/pr32-followups
Aug 18, 2026
Merged

yujiezhang-ops merged 2 commits into
mainfrom
feat/pr32-followups

Conversation

@yujiezhang-ops

Copy link
Copy Markdown
Collaborator

PR #32 merged while its last two commits were still in flight, so they arrive here as a follow-up. Both were developed and gated on top of the exact tree #32's squash produced — the cherry-picks applied clean.

1. Review fixes from #32's adversarial pass (f8fa6d7)

The fresh-context review (posted on #32) found no P0/P1. This commit lands both P2s and the seven fixable P3s:

  • Download page's signing notice was a constant beside a per-target signing row. A pre-0.7.0 feed (rollback, or a RELEASE_REPOSITORY fork shipping unsigned builds) would have rendered "signed and notarised by Apple" next to "签名状态:未签名". The notice now branches on the same signing state the row reads.
  • NOTICE became false in State per-platform signing, and give search results the brand and prose they quote #32: it said nothing on the site references bootagent-logo.png directly, while the new JSON-LD names it as the Organization logo on every page.
  • P3 batch: en security description no longer promises a command that renders conditionally; four comments and two docs describing the removed Gatekeeper screenshots / pre-dsh empty planned list; llms.txt translation list missing /en/help/; en site description now carries the backup claim the Chinese one makes.

2. Zero-decision download path (1ec70fb)

Modelled on ccswitch.io/zh/download's lead: one primary button above the platform picker carrying the detected target's file, restating version · target · size · signing, following the picker's selection, hiding for targets with no artifact. Plus a "past versions → GitHub Releases" line.

Deliberately not adopted from the reference: truncated checksums (the full digest is this site's claim), a brew line (no formula exists), and hero download buttons on the home page (its one-activation-entry rule is e2e-guarded by design).

Test plan

  • vitest 98 passed; build 51 pages validated, 0 errors
  • e2e with GITHUB_TOKEN: 216 passed / 18 skipped (baseline-identical), including new assertions that the primary block offers the same file as the selected panel and follows a platform switch
  • Verified interactively: picker↔primary sync, dark scheme, 375px mobile (no horizontal overflow, full-width button), zero console errors

🤖 Generated with Claude Code

yujiezhang-ops and others added 2 commits August 18, 2026 12:11
The two P2s: the download page's signing notice was a constant while the
signing row beside it reads per-target state, so a pre-0.7.0 feed (a
rollback, or a RELEASE_REPOSITORY fork shipping unsigned builds) would
have shown the two contradicting each other — the notice now branches on
the same signing state. NOTICE's claim that nothing on the site
references bootagent-logo.png became false when JSON-LD started naming
it as the Organization logo; it now says so.

The rest are statements this branch made stale in passing: the en
security description promised a verification command that only renders
conditionally; four comments and two docs still described the removed
Gatekeeper screenshots or the pre-dsh empty planned list; llms.txt's
translation list was missing /en/help/; and the en site description
dropped the backup claim the Chinese one makes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Modelled on how ccswitch.io/zh/download leads: the detected platform's
file as one prominent button, with everything needed to click it —
version, target, size, signing state — restated beside it, so the common
case never has to parse a six-way radio group first. The picker and the
per-target panels stay directly below for everyone else; the primary
block follows the picker's selection, and hides for a target with no
artifact rather than keep offering the previous target's file under the
new target's name.

Deliberately not adopted from the reference: truncated checksums (the
full digest a reader can compare character-by-character is this site's
claim), a brew line (no formula exists to point at), and a download
button in the home hero (the home page presents one activation entry by
decision, and its e2e test guards exactly that). A "past versions" line
now points at GitHub Releases from the download page itself.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@yujiezhang-ops
yujiezhang-ops merged commit dd573d7 into main Aug 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant