GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix(marketing): route mobile downloads to app stores by juliusmarminge · Pull Request #24577 · pingdotgg/t3code Conversation
|
| Fixture / viewport / preference / DPR | Before c4fa4629eb |
After 69b0eb2c4c |
Diff0: any RGB delta | DiffT: RGB delta >16/255 |
|---|---|---|---|---|
| M01 iphone 390×844 dark / dark, DPR 3; Chromium Safari-UA emulation | ||||
| M02 iphone 1440×900 dark / dark, DPR 3; Chromium Safari-UA emulation | ||||
| M03 android 390×844 dark / dark, DPR 3 | ||||
| M04 android 1440×900 dark / dark, DPR 3 | ||||
| M05 ipad-desktop 390×844 dark / dark, DPR 2; Chromium Safari-UA emulation | ||||
| M06 ipad-desktop 1440×900 dark / dark, DPR 2; Chromium Safari-UA emulation | ||||
| C01 mac 1440×900 dark / dark, DPR 1 | ||||
| C02 mac 390×844 dark / dark, DPR 1 | ||||
| C03 windows 1440×900 dark / dark, DPR 1 | ||||
| C04 linux 1440×900 dark / dark, DPR 1 | ||||
| U01 unknown 390×844 dark / dark, DPR 1 | ||||
| U02 unknown 1440×900 dark / dark, DPR 1 | ||||
| L01 iphone 390×844 light / dark, DPR 3; Chromium Safari-UA emulation | ||||
| L02 android 1440×900 light / dark, DPR 3 | ||||
| F01 windows 390×844 dark / dark, DPR 1 | ||||
| F02 linux 1440×900 dark / dark, DPR 1 |
Captured 16/16 matched full-page pairs, 32 diff images, 16 readable before/after section sheets, and 22 collapsed branch transcripts (11 inputs × both SHAs). No required static or B01–B05 case is missing. All 32 final page images passed two byte-identical frames at least 500 ms apart. Every final image and diff was opened for inspection. Headed Chrome for Testing 145.0.7632.6, Playwright 1.58.2 / CDP, Linux x86_64, Xvfb; reduced motion; bundled DM Sans and JetBrains Mono loaded; default font scaling and zoom 100%; no CSS/text autosizing override. All profile DPRs and actual UA/touch/UA-CH/media/viewport values are recorded in the sidecars. Safari UA rows are Chromium emulation, not native Safari/WebKit proof.
Browser DPR stays exactly 3/2/1 from the fixtures. PNG raster output is CSS pixels, CDP scale=1, so a 390-wide page image is 390 pixels wide. The requested 390×844 or 1440×900 viewport is used for page loading and the DOM/network transcript; then height expands once to document scrollHeight for full-document painting. --hide-scrollbars keeps layout width constant; the driver asserts both CTA and hint rectangles exactly match the requested viewport. Capture viewport dimensions are recorded too. --disable-gpu uses software compositing. Astro's unrelated dev toolbar is disabled using scratch-only XDG preferences. The fixed-dark site stays dark for L01/L02 light preference. No browser state injection, source edits, CSS animation override, T3 server or userdata is involved.
Diff0 marks every nonzero maximum absolute RGB-channel delta in saturated magenta on black, amplifying even 1/255. DiffT uses the same algorithm with a strict >16/255 maximum-channel threshold. Comparison uses original CSS-raster pixels, with no alignment, resizing or crop. Both whole-page images and diffs are linked below; section sheets supplement them.
Reproduction instructions · Runner · Browser driver · Fixtures with exact replacement SHA · Rebound source-derived matrix · Rendering environment · Source/tree hashes · Diff generator · Transcript validator · Validation results · Pixel audit · Cleanup record · Capture log · Before server log · After server log · Xvfb log · Inspection record · Inspection helper · Pixel audit log
Exact CTA geometry, dimensions and counts; Pixel audit implementation. Hrefs are invisible and proven by the linked DOM/network logs: mobile after selects App Store / Play directly with zero release fetches; desktop success selects its fixed fixture asset; unknown and failed/missing assets retain Releases. The actual footer Download and nav Download remain /download; explicit footer store links stay unchanged. No installer or external store was activated.
Recording index with steps and timestamps for every pair · Extended matrix · Audited row results: 34/34 · Independent proof audit: SUFFICIENT
Captured 34 requested recording rows as 47 matched pairs / 94 videos, including 13 supporting pairs that resolve lower-CTA timing and focus/resize/scroll framing. Headed Chromium on Xvfb, ffmpeg x11grab, identical scripts and inherited profiles at the exact before/after SHAs. All recordings were independently opened through temporal contact sheets and correlated with sidecars; 492 fresh contexts and 432 intercepted native navigation requests have zero oracle errors. Independent iPhone hero reproduction passed touch and real keyboard activation at both widths: four App Store requests, zero release fetches. Scripts, logs, hashes, cleanup records and reproduction footage are linked from the index and audit.
The recordings show existing macOS/Apple/Releases fallback before the page script executes on both revisions. Early activation then dispatches Releases; after initialization mobile selects its store without a release fetch. With JavaScript disabled, all profiles retain the default macOS/Releases markup. Webfont reflow also remains visible; these recordings do not establish no-flash or no-layout-shift behavior. Android's updated button has no platform glyph. The lower primary CTA is distinct from the actual footer Download link, which stays /download. Navigation is intercepted before external delivery, proving target selection rather than store landing or installation.
| Recording row | Before | After |
|---|---|---|
| I01-android-footer-lower | Before | After |
| I01-android-hero | Before | After |
| I01-ipad-desktop-footer-lower | Before | After |
| I01-ipad-desktop-hero | Before | After |
| I01-iphone-footer-lower | Before | After |
| I01-iphone-hero | Before | After |
| I01-linux-footer-lower | Before | After |
| I01-linux-hero | Before | After |
| I01-mac-footer-lower | Before | After |
| I01-mac-hero | Before | After |
| I01-unknown-footer-lower | Before | After |
| I01-unknown-hero | Before | After |
| I01-windows-footer-lower | Before | After |
| I01-windows-hero | Before | After |
| I02-android | Before | After |
| I02-ipad-desktop | Before | After |
| I02-iphone | Before | After |
| I02-linux | Before | After |
| I02-mac | Before | After |
| I02-unknown | Before | After |
| I02-windows | Before | After |
| T01-android-early-activation | Before | After |
| T01-android-first-paint | Before | After |
| T02-ipad-desktop-early-activation | Before | After |
| T02-ipad-desktop-first-paint | Before | After |
| T02-iphone-early-activation | Before | After |
| T02-iphone-first-paint | Before | After |
| T03-android | Before | After |
| T03-ipad-desktop | Before | After |
| T03-iphone | Before | After |
| T03-linux | Before | After |
| T03-mac | Before | After |
| T03-unknown | Before | After |
| T03-windows | Before | After |
Supporting pairs, complete step/timestamp tables and sidecars are in the recording index above.
Explicitly unverified: native Safari/WebKit on an actual iPhone.
The marketing homepage treats mobile user agents as desktop systems, offering an AppImage to Android visitors and a DMG to iPhone or iPad visitors.
Detect Android and iOS before desktop platforms and send both homepage download buttons to the existing app-store URLs. Recognize iPad desktop mode using its Mac user agent and touch points. Preserve desktop download behavior.
This is a maintainer-requested takeover of the existing focused marketing download bug fix. Based on the original work by @saphid.
Five platform-routing regressions pass, reduced from nine overlapping cases. Marketing typecheck, scoped lint, and format checks pass.
In desktop Chromium with a mobile viewport, a temporary proxy supplied navigator user-agent and touch-point values before the unmodified page scripts. Both hero and footer buttons selected the correct stores for Android, iPhone, and desktop-mode iPad, without fetching GitHub releases. The iOS Apple icon and command-key hint were browser-verified. macOS arm64 DMG, Linux AppImage, and Windows x64 EXE selection remained intact.
This did not test real Safari or native mobile browsers. Store URLs were inspected without opening stores or downloading files. The existing human product-eligibility review remains a landing gate.
iPhone user agent — before / after
| Before: macOS download | After: iOS store link |
|---|---|
Android user agent — before / after
| Before: Linux download | After: Android store link |
|---|---|
Taken over with Claude Opus 5.5 (tests and review), Claude Fable 5.1 (implementation), and GPT-6.1 Sol (review) through T3 Code; coordinated with Codex.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Android visitors go to Google Play; iPhone and iPad visitors, including iPadOS Safari's desktop Mac user agent, go to the App Store. Desktop download routing is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The package lost its test script with the low-signal test cleanup, so CI's change detection skipped the mobile store routing regression tests. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was an error while loading. Please reload this page.
ApprovabilityVerdict: Would Approve Macroscope's review found this PR approvable — Mobile homepage download buttons now lead to the existing app-store listings, while desktop download selection stays unchanged. The change is confined to marketing navigation and separates build-time statistics from browser imports. Needs human approval because:
Adjust the Minimum Blocking Severity for this repo — including turning it Off — in Settings. You can add or adjust custom eligibility rules. Learn more. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosAll 64 scenario measurements match All 64 scenario measurements
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
The homepage moved to localized routes with translated download labels. Platform detection now returns only the OS, and the iOS and Android labels come from each locale like the desktop ones. Co-Authored-By: Claude Opus 5.5 <[email protected]>
| if (/Linux/i.test(ua)) return { os: "linux" }; | ||
| return null; | ||
| } | ||
| import { detectPlatform, getMobileStoreUrl, type Platform } from "../../lib/platform"; |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
🟠 High [...locale]/index.astro:418
When fetchGithubStars() is unavailable or remains pending, this import prevents the homepage browser script from completing module initialization, so init() and startHomeMotion() never run; download buttons stay on their fallback links and the homepage motion does not start. platform.ts imports site.ts, whose top-level MARKETING_STATS initializer awaits that request. Move the shared URL constants into a browser-safe module without the stats initializer.
apps/marketing/src/lib/platform.ts:1
This imports a server-only initializer into the homepage's browser script.
site.tsdoes not just export URLs: its top-levelMARKETING_STATSawaitsfetchGithubStars(), which readsprocess.env.GITHUB_TOKENbefore its try/catch. The browser import fromindex.astrotherefore evaluates that Node-only access and rejects module initialization, preventinginit()(and the rest of the homepage script) from running. Both mobile store routing and desktop installer selection stay at the fallback links. Move the shared URL constants to a browser-safe module without the stats initializer.
In file @apps/marketing/src/pages/[...locale]/index.astro around line 418:
When `fetchGithubStars()` is unavailable or remains pending, this import prevents the homepage browser script from completing module initialization, so `init()` and `startHomeMotion()` never run; download buttons stay on their fallback links and the homepage motion does not start. `platform.ts` imports `site.ts`, whose top-level `MARKETING_STATS` initializer awaits that request. Move the shared URL constants into a browser-safe module without the stats initializer.
Also found in 1 other location(s):
- apps/marketing/src/lib/platform.ts:1 -- This imports a server-only initializer into the homepage's browser script. `site.ts` does not just export URLs: its top-level `MARKETING_STATS` awaits `fetchGithubStars()`, which reads `process.env.GITHUB_TOKEN` before its try/catch. The browser import from `index.astro` therefore evaluates that Node-only access and rejects module initialization, preventing `init()` (and the rest of the homepage script) from running. Both mobile store routing and desktop installer selection stay at the fallback links. Move the shared URL constants to a browser-safe module without the stats initializer.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Dismissing prior approval to re-evaluate 40b6663
The homepage browser script imports the store URLs from site.ts, whose top-level GitHub stars fetch reads process.env and would stop the script before it routes any download button. The stats now live in stats.ts. Co-Authored-By: Claude Opus 5.5 <[email protected]>
EvidenceOpened the real marketing homepage on both commits, inspected and clicked both download buttons under matching browser profiles. Chromium emulation covered iPhone, iPad, Macintosh-UA iPad with five touch points, Android, and macOS/Windows/Linux controls. Matrix crops show hero left and lower CTA right; destination annotations come from observed hrefs. External navigation requests were recorded then aborted in emulation. Release lookup was live and returned v0.1.9.
Browser driver · Observed labels, hrefs, click destinations and environments · Capture composition script Both buttons route correctly in emulation, including desktop-mode iPad. Desktop installer selection is unchanged. Native App Store launch is unverified: simulator Safari reports an invalid address during handoff. Pixel's system download warning appears in the still but is absent from the app recording. Browser chrome containing private origins was cropped; the iPhone base video's origin line was redacted. Not shown:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.