Skip to content

fix(marketing): show platform-appropriate commit shortcut on the website#3644

Merged
juliusmarminge merged 6 commits into
pingdotgg:mainfrom
VedankPurohit:fix/website-windows-shortcut-3526
Jul 12, 2026
Merged

fix(marketing): show platform-appropriate commit shortcut on the website#3644
juliusmarminge merged 6 commits into
pingdotgg:mainfrom
VedankPurohit:fix/website-windows-shortcut-3526

Conversation

@VedankPurohit

@VedankPurohit VedankPurohit commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fixes [Bug]: Public website shows macOS shortcut on Windows #3526 by showing Ctrl ⏎ on the marketing demo button for detected Windows and Linux visitors.
  • Leaves the server-rendered ⌘⏎ default unchanged for macOS and unsupported platforms.
  • Reuses the homepage platform detection already used for download labels.

UI Changes

Before (Windows):
Before (Windows)

After (Windows):
After (Windows)

After (macOS, unchanged):
After (macOS unchanged)

Test plan

  • vp check
  • vp run typecheck
  • Refreshed the after-Windows screenshot from the local marketing page with a Windows user agent.

Note

Low Risk
Small marketing-only UI copy change in static Astro; no auth, data, or app runtime impact.

Overview
The homepage Commit & push demo button no longer always shows the Mac shortcut. The keyboard hint span gets id="pr-button-kbd" so client script can update it.

On init, the existing user-agent platform detection (same path as download labels) sets the hint to Ctrl ⏎ when the visitor is on Windows or Linux. macOS and undetected platforms keep the server-rendered ⌘⏎ default.

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

Note

Show platform-appropriate keyboard shortcut on the marketing site commit button

The commit & push button on the marketing site homepage previously always showed the Mac keyboard shortcut. A script now detects the user's OS at runtime and sets the label to "Ctrl ⏎" for non-Mac platforms.

Macroscope summarized 74602fe.

The hero's "Commit & push" button hardcoded the macOS shortcut (⌘⏎),
so Windows and Linux visitors saw the wrong keys. Reuse the existing
client-side platform detection in index.astro to swap the label to
"Ctrl ⏎" when the detected OS is not macOS. The server-rendered
default stays ⌘⏎.

Fixes pingdotgg#3526
@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown

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.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 56f2ac83-f2ce-4ed7-803e-b48b019f7168

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@github-actions github-actions Bot added vouch:unvouched PR author is not yet trusted in the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Jul 2, 2026
macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Jul 2, 2026
@macroscopeapp

macroscopeapp Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved

Simple marketing website UI fix that shows platform-appropriate keyboard shortcuts (⌘ for Mac, Ctrl for others). No product runtime impact - just display text on the website.

You can customize Macroscope's approvability policy. Learn more.

@macroscopeapp
macroscopeapp Bot dismissed their stale review July 2, 2026 05:51

Dismissing prior approval to re-evaluate c9d5d02

Comment thread apps/marketing/src/pages/index.astro Outdated
macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Jul 2, 2026
@macroscopeapp
macroscopeapp Bot dismissed their stale review July 2, 2026 20:19

Dismissing prior approval to re-evaluate 8155288

Comment thread apps/marketing/src/pages/index.astro
Comment thread apps/marketing/src/pages/index.astro Outdated
@juliusmarminge
juliusmarminge enabled auto-merge (squash) July 2, 2026 20:40
@juliusmarminge
juliusmarminge merged commit 619b0ec into pingdotgg:main Jul 12, 2026
12 of 13 checks passed
DanielGGordon pushed a commit to DanielGGordon/t3code that referenced this pull request Jul 12, 2026
DanielGGordon added a commit to DanielGGordon/t3code that referenced this pull request Jul 12, 2026
Add UPSTREAM_DIVERGENCE.md as the running log of which upstream
(pingdotgg/t3code) changes we pull vs. deliberately skip, and why.
Reference it from AGENTS.md with a standing policy to not pull
Android / native-mobile changes.

Records the 2026-07-12 review through c1ec191: pulled the worktree
metadata sync fix (pingdotgg#3822), marketing commit shortcut (pingdotgg#3644), and chat
error alert layout fix (pingdotgg#3899); skipped all Android/mobile work and the
max/ultra reasoning labels (needs a newer Codex schema than we vendor).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
DanielGGordon added a commit to DanielGGordon/t3code that referenced this pull request Jul 12, 2026
…ting) + divergence log (#23)

* [codex] Preserve worktree metadata during branch sync (pingdotgg#3822)

Co-authored-by: codex <codex@users.noreply.github.com>
(cherry picked from commit 3201e00)

* fix(marketing): show platform-appropriate commit shortcut on the website (pingdotgg#3644)

(cherry picked from commit 619b0ec)

* Fix truncated chat error alert layout (pingdotgg#3899)

(cherry picked from commit ef943a2)

* docs: track upstream divergence + no-Android policy

Add UPSTREAM_DIVERGENCE.md as the running log of which upstream
(pingdotgg/t3code) changes we pull vs. deliberately skip, and why.
Reference it from AGENTS.md with a standing policy to not pull
Android / native-mobile changes.

Records the 2026-07-12 review through c1ec191: pulled the worktree
metadata sync fix (pingdotgg#3822), marketing commit shortcut (pingdotgg#3644), and chat
error alert layout fix (pingdotgg#3899); skipped all Android/mobile work and the
max/ultra reasoning labels (needs a newer Codex schema than we vendor).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: codex <codex@users.noreply.github.com>
Co-authored-by: Vedank Purohit <VedankPurohit2@gmail.com>
Co-authored-by: Jake Leventhal <jakeleventhal@me.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
aaditagrawal pushed a commit to aaditagrawal/t3code that referenced this pull request Jul 13, 2026
tarik02 added a commit to tarik02/t3code that referenced this pull request Jul 13, 2026
* Add middle-click close for right panel tabs (pingdotgg#3161)

Co-authored-by: Julius Marminge <jmarminge@gmail.com>

* fix: warm WSL before preflight in WSL-only backend mode (pingdotgg#3588)

* Add Claude Sonnet 5 as the default Claude model (pingdotgg#3620)

* Restore the ultrathink frame border effect (pingdotgg#3625)

* fix(dev): Fix electron dev launch and add test (pingdotgg#3662)

* Add adaptive split-view layout for iPad/mobile workspace (pingdotgg#3514)

Co-authored-by: codex <codex@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius@mac.lan>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

* fix(mobile): compile patched native pods from source on EAS (pingdotgg#3667)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

* Make the thread composer read as elevated liquid glass (pingdotgg#3668)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

* Upgrade Vite Plus and enable bundled dev opt-in (pingdotgg#3679)

* Surface pending tasks in mobile home and draft flow (pingdotgg#3670)

* fix(mobile): combined test branch — scroll, back-swipe, thread lists, computer switching (pingdotgg#3687)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

* Add repo-root favicon.svg so t3 code shows its own icon (pingdotgg#3683)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

* Load thread snapshots over HTTP before live sync (pingdotgg#3719)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

* Fix mobile legend anchor under automatic iOS insets (pingdotgg#3684)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

* Improve live activity routing and diagnostics (pingdotgg#3685)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

* Prevent Add Project sheet from collapsing on relayout (pingdotgg#3759)

* Use variant-specific splash icons in mobile app (pingdotgg#3762)

* Fix Expo widget asset wiring order (pingdotgg#3763)

* Extend Done display to 15 minutes and show up to 5 Live Activity banner rows (pingdotgg#3761)

* Clear VCS presentation state on finish (pingdotgg#3764)

* Lead with the outcome when no agents are active in the Live Activity (pingdotgg#3768)

* Add T3 Connect onboarding for mobile and web (pingdotgg#3765)

* Revert "Add T3 Connect onboarding for mobile and web" (pingdotgg#3776)

* Expose Clerk Google sign-in env vars to Expo (pingdotgg#3772)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

* Set up Cursor Cloud dev environment (web + Android toolchain) (pingdotgg#3755)

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Theo Browne <t3dotgg@users.noreply.github.com>

* Revert "Revert "Add T3 Connect onboarding for mobile and web"" (pingdotgg#3777)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

* Use rounded depth logo for production splash screen (pingdotgg#3780)

Co-authored-by: Cursor Agent <cursoragent@cursor.com>

* fix(release): stage pnpm 11 allowBuilds for desktop installs (pingdotgg#3781)

Co-authored-by: Cursor Agent <cursoragent@cursor.com>

* Upgrade Clerk toolchain to latest versions (pingdotgg#3785)

* fix(release): bump electron-builder so pnpm 11 deduped deps land in the asar (pingdotgg#3790)

* Fix desktop native optional dependency packaging (pingdotgg#3816)

* [codex] Upgrade Clerk stack (pingdotgg#3821)

Co-authored-by: codex <codex@users.noreply.github.com>

* [codex] Preserve worktree metadata during branch sync (pingdotgg#3822)

Co-authored-by: codex <codex@users.noreply.github.com>

* feat(client): persist offline environment data and mobile preferences (pingdotgg#3795)

Co-authored-by: Julius Marminge <julius@mac.lan>
Co-authored-by: codex <codex@users.noreply.github.com>

* [codex] Label max and ultra reasoning (pingdotgg#3824)

Co-authored-by: codex <codex@users.noreply.github.com>

* fix(mobile): embed fonts and render project favicons reliably (pingdotgg#3823)

Co-authored-by: codex <codex@users.noreply.github.com>

* Show compact PR number badges in mobile thread rows (pingdotgg#3827)

Co-authored-by: codex <codex@users.noreply.github.com>

* Expose mobile PR indicator labels to accessibility (pingdotgg#3828)

Co-authored-by: codex <codex@users.noreply.github.com>

* Fix truncated chat error alert layout (pingdotgg#3899)

* fix(marketing): show platform-appropriate commit shortcut on the website (pingdotgg#3644)

* [codex] Add Android mobile support (pingdotgg#3579)

Co-authored-by: Horus Lugo <horusgoul@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
Co-authored-by: Ben Davis <45952064+bmdavis419@users.noreply.github.com>
Co-authored-by: Alex <me@pixp.cc>
Co-authored-by: codex <codex@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius@mac.lan>

---------

Co-authored-by: Hugo Blom <6117705+huxcrux@users.noreply.github.com>
Co-authored-by: Julius Marminge <jmarminge@gmail.com>
Co-authored-by: Utkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Theo Browne <me@t3.gg>
Co-authored-by: codex <codex@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius@mac.lan>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Theo Browne <t3dotgg@users.noreply.github.com>
Co-authored-by: Rowan <rowan@cardow.co>
Co-authored-by: Patricio Gómez Meneses <107218376+Prgm-code@users.noreply.github.com>
Co-authored-by: Jake Leventhal <jakeleventhal@me.com>
Co-authored-by: Vedank Purohit <VedankPurohit2@gmail.com>
Co-authored-by: Horus Lugo <horusgoul@gmail.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
Co-authored-by: Ben Davis <45952064+bmdavis419@users.noreply.github.com>
Co-authored-by: Alex <me@pixp.cc>
adamfgr pushed a commit to agriffiths-bots/t3code that referenced this pull request Jul 14, 2026
* Fix truncated chat error alert layout (pingdotgg#3899)

* fix(marketing): show platform-appropriate commit shortcut on the website (pingdotgg#3644)

* [codex] Add Android mobile support (pingdotgg#3579)

Co-authored-by: Horus Lugo <horusgoul@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
Co-authored-by: Ben Davis <45952064+bmdavis419@users.noreply.github.com>
Co-authored-by: Alex <me@pixp.cc>
Co-authored-by: codex <codex@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius@mac.lan>

---------

Co-authored-by: Jake Leventhal <jakeleventhal@me.com>
Co-authored-by: Vedank Purohit <VedankPurohit2@gmail.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Horus Lugo <horusgoul@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
Co-authored-by: Ben Davis <45952064+bmdavis419@users.noreply.github.com>
Co-authored-by: Alex <me@pixp.cc>
Co-authored-by: codex <codex@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius@mac.lan>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS 0-9 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Public website shows macOS shortcut on Windows

2 participants