Skip to content

feat: bring back the phone app's QR code as a third promo tile - #47

Merged
spin311 merged 1 commit into
masterfrom
feat/phone-app-tile
Nov 10, 2026
Merged

spin311 merged 1 commit into
masterfrom
feat/phone-app-tile

Conversation

@spin311

@spin311 spin311 commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Summary

The popup redesign (#37) dropped the Android app's QR code and Play link. This brings them back as a third promo tile.

  • Phone app tile next to Join Rewards and Free games. Clicking it opens a panel above the tiles with the QR code and an Open Google Play link (Play referrer utm_source=extension&utm_medium=popup). Escape, a click outside, or focus moving out closes it; Escape returns focus to the tile.
  • No height cost when open: the panel floats. The three tiles stack the icon over a one-line title (subtitles move into tooltips), +11px: idle 518→529px, a run in progress 580→590px of Chrome's 600px.
  • Neutral copy ("Get the Android app"): Google Play has 1.1.1, which has none of 1.3.0's features. feat: tell popup users why to get the mobile app #43 can change the pitch once 1.3.0 is live.
  • QR code: feat: tell popup users why to get the mobile app #43's regenerated one (the plain listing URL, 45 modules), 2px per module, with a white margin so it scans on the dark theme too.

Verification

  • 149 tests pass (9 new for the tile: open, close by toggle/Escape/outside click/focus leaving, focus return, link). Type check clean, Chrome and Firefox build.
  • Headless Chromium at 340px: heights above; the panel stays within the popup (57–328px) in idle, finished and running states; no console errors. Clicking the QR code or panel text keeps it open, Tab past the link closes it, Escape refocuses the tile.
  • The QR code, screenshotted at 1x, decodes (macOS CoreImage) to https://play.google.com/store/apps/details?id=com.spin311.microsoft_automatic_rewards in light and dark mode. The listing returns HTTP 200.

Not verified: scanning with a real phone camera, and the Firefox popup.

Pre-existing, not changed here: a run in progress plus the short-gap warning was already over 600px (616px, now 627px).

The redesign (#37) dropped the Android app's QR code and Play link. They
come back as a "Phone app" tile next to Join Rewards and Free games.
Clicking it opens a panel above the tiles with the QR code and an "Open
Google Play" link; Escape, a click outside or focus moving out closes it.

The panel floats, so opening it doesn't change the popup's height. The
three tiles stack the icon over a one-line title (the subtitles move into
tooltips): +11px, so a run in progress is 590px of Chrome's 600px.

The copy stays neutral ("Get the Android app"): the Play version (1.1.1)
has none of 1.3.0's features. The QR code is #43's regenerated one (the
plain listing URL, 45 modules), shown at 2px per module with a white
margin so it scans on the dark theme too.
@spin311
spin311 merged commit 2938ee8 into master Nov 10, 2026
2 checks passed
@spin311
spin311 deleted the feat/phone-app-tile branch November 10, 2026 11:02
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