Skip to content

Make Microsoft Store the primary Windows download#104

Merged
SeoFood merged 2 commits into
mainfrom
seofood/windows-store-primary-download
Jul 9, 2026
Merged

Make Microsoft Store the primary Windows download#104
SeoFood merged 2 commits into
mainfrom
seofood/windows-store-primary-download

Conversation

@SeoFood

@SeoFood SeoFood commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Route primary Windows download CTAs to the official Microsoft Store listing.
  • Keep the GitHub .exe installer as a manual fallback on release status and Windows installation docs.
  • Add locale-aware Store URLs for English and German visitors.

Verification

  • npm run test:i18n
  • npm run test:unit
  • npx playwright test tests/download-routing.spec.ts
  • npm run build
  • git diff --check

Review

  • Pre-landing review: no issues found.
  • Design-lite review: no issues found.

Notes

  • npm run build refreshes generated release/download/social data during verification. Generated churn was not included in this PR.

Summary by CodeRabbit

  • New Features
    • Windows download links now point to the Microsoft Store, with locale-aware links and clearer labels.
    • Windows release and installation pages now show both Store and GitHub installer options.
  • Bug Fixes
    • Download buttons and links now open in the correct tab behavior with consistent security attributes.
    • Improved download routing and link handling across landing, header, and release status pages.
  • Documentation
    • Updated Windows installation guidance to explain Store-based installs and manual installer updates.

@coderabbitai

coderabbitai Bot commented Jul 9, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@SeoFood, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 9 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 914c6b8e-f032-402b-821d-9dfa3924cae1

📥 Commits

Reviewing files that changed from the base of the PR and between fef633c and 652a601.

📒 Files selected for processing (1)
  • src/i18n/locales/de/common.json
📝 Walkthrough

Walkthrough

Windows downloads are switched to the Microsoft Store instead of a direct installer. A new getWindowsStoreUrl helper and opensNewTab field are added to the platform-download library and consumed by landing/header components, the release-status page, and Windows install docs. Locale strings and tests are updated accordingly.

Changes

Microsoft Store Windows downloads

Layer / File(s) Summary
Platform download helper
src/lib/platform-download.ts
Adds Windows Store URL constants, exports getWindowsStoreUrl(locale), adds opensNewTab to PlatformDownloadTarget, and sets it per platform/context in getPlatformDownloadTarget().
Landing/header link behavior
src/components/landing/download-cta.tsx, src/components/landing/hero.tsx, src/components/layout/header.tsx, src/components/landing/platform-download-menu.tsx, src/components/landing/platforms-coming-soon.tsx
Replaces the iOS-specific new-tab check with opensNewTab/getPlatformDownloadTarget results to drive target/rel on download links.
Release status page and Windows docs
src/pages/[locale]/release-status.astro, src/pages/docs/windows/_installation.tsx
Release status page adds a Store link plus a GitHub installer link; Windows docs split instructions into Store steps and manual GitHub installer steps with updated copy.
Locale strings
src/i18n/locales/en/common.json, src/i18n/locales/de/common.json
Updates Windows download labels to Microsoft Store wording and adds a githubInstaller string in both locales.
Routing tests
tests/download-routing.spec.ts
Updates fixtures and assertions to expect Microsoft Store URLs/labels and validate rel/target based on opensNewTab.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Possibly related PRs

  • TypeWhisper/typewhisper.com#78: Both PRs modify the download CTA/link target/rel handling based on an opensNewTab/iOS-derived flag and touch the same download routing tests.

Poem

A rabbit hops to Windows' door,
No more installer, there's a store! 🛒
Store steps here, GitHub there,
New tabs open with due care.
Hop, click, install — all set,
Microsoft's shelf, no regret! 🐇

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely summarizes the main change: making Microsoft Store the primary Windows download destination.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch seofood/windows-store-primary-download

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.

@coderabbitai coderabbitai 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/i18n/locales/de/common.json`:
- Line 13: The German translation for the Windows download navigation label is
inconsistent with the rest of the locale strings. Update the
`nav.downloadWindows` entry in the `common.json` locale so it uses the same
wording pattern as the other Windows Store strings, matching the style of this
file (for example, using the equivalent of “Aus dem Microsoft Store”).
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 34f6f7a8-5b23-4ec4-8820-08bedbaeee81

📥 Commits

Reviewing files that changed from the base of the PR and between bcd68b9 and fef633c.

📒 Files selected for processing (11)
  • src/components/landing/download-cta.tsx
  • src/components/landing/hero.tsx
  • src/components/landing/platform-download-menu.tsx
  • src/components/landing/platforms-coming-soon.tsx
  • src/components/layout/header.tsx
  • src/i18n/locales/de/common.json
  • src/i18n/locales/en/common.json
  • src/lib/platform-download.ts
  • src/pages/[locale]/release-status.astro
  • src/pages/docs/windows/_installation.tsx
  • tests/download-routing.spec.ts

Comment thread src/i18n/locales/de/common.json Outdated
@SeoFood
SeoFood merged commit 17640f0 into main Jul 9, 2026
2 checks passed
@SeoFood
SeoFood deleted the seofood/windows-store-primary-download branch July 9, 2026 14:14
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