Skip to content

Site: fix the details found on real phones - #24

Merged
triptu merged 13 commits into
mainfrom
site/phone-details
Nov 1, 2026
Merged

triptu merged 13 commits into
mainfrom
site/phone-details

Conversation

@triptu

@triptu triptu commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Fixes the 14 defects from the first real-phone detail pass.

  1. The hero hint says "underlined" instead of "dotted", on touch and desktop.
  2. Every key uses one font, size, weight, height and padding, and sits on the same baseline whether it holds a letter, an icon or both.
  3. The version dots on phones sit closer to their underline and the note has more line height, so the dots stay clear of the next line.
  4. The tour's play button hides on any play event, so it also goes when playback starts from Safari's own control.
  5. New tour posters (tour-poster-{light,dark}-v3.jpg) come from about 3.6 s into the short tour: the whole draft with its title, and no line cut at any edge (checked by a pixel scan of the frame's edges). The README poster is updated the same way.
  6. Hover washes only apply with a real pointer, so a tapped word keeps no grey box. Focus rings were already :focus-visible only.
  7. On phones the word count covers only the paragraph that's showing, with its own faded and cut lines. A "." or "," between segments no longer counts as a word, which had added 3 to every count.
  8. A version row's wash now matches the row's own box, so the "AI" label stays inside it. Version rows have an even gap between them.
  9. Keys have the same gap to the words on either side, and the same gap after each icon inside a key.
  10. Strikes and their washes cover only the words, not the spaces around them.
  11. On phones the hidden step text is now fully clipped, and its "try" line is no longer rotated. That rotated line was the likely source of the speck.
  12. Step text, captions and the hint use text-wrap: pretty.
  13. Labels end with one full stop. On touch they drop "Arrow keys swap." and say "tap".
  14. On phones the "watch it" link and its separator are gone. The "In Obsidian" line stays.

Tested

  • The interaction suite (desktop and phone, Chrome) passes 81/81 with no console errors. Its phone check for the "watch it" link now expects no link.
  • node scripts/check-site-glyphs.mjs: every character is in the font it's set in.
  • 248 new checks pass in Playwright WebKit and Chromium at 390×844 and 375×667, light and dark, at every phone step. They cover the hint, no box after a tap, labels, the play button, key size and gaps, dot clearance, word count, AI row geometry, strikes, last lines and no "watch it". The only console lines were in WebKit: it couldn't load its own native video-control icons once the test started the video.
  • Not tested on real devices. That's the next detail pass. The iOS speck didn't show in Playwright WebKit before or after this change, so item 11 needs that pass to confirm it.

Keys
Dots at 375
AI rows
Strikes
New posters, light and dark

@vercel

vercel Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
vikalp Ready Ready Preview Nov 1, 2026 4:08pm UTC

@triptu
triptu merged commit 82a1a1d into main Nov 1, 2026
4 checks passed
@triptu
triptu deleted the site/phone-details branch November 1, 2026 16:09

This branch was successfully deployed

1 active deployment
Preview — fb9c8e79 Deployed Nov 1, 2026 by vercel[bot]
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