Train BH: first-screen title, stronger pill-row blur (#660) #679

Closed
kayg wants to merge 0 commits from train/2026-10-23bh into dev
Owner

Train BH ran the full suite (run bh1, dev 3671dc4 + port/chrome-2 9533e6b + issue/auth-latency-gate 932d22e): fmt, clippy, workspace tests, build, svelte-check, every Playwright project. Rust all green. Browser: admin 43, cr1440 331, cr390 267+214, wk1440 139+188, wk390 157+194+131, small 19. Failures re-run: swipe-rows:126 and :240 (webkit-1440) 6/6 passed; pill-room:309 'note' failed 3/3 - also fails on plain dev 3671dc4 (Studio WebKit 6/6): one glyph beside a link lands a whole pixel off from WebKit's pixel snapping while every other glyph on the line is at 0, so not a layout push. 22acb29 allows a 1 px rounding on at most 2% of glyphs (a real push still fails): Linux WebKit 1440+390 12/12 passed. 22acb29 changes only that spec.

Contents (#660, phone chrome follow-ups; verified on the Mac Studio iOS simulator, Home Screen app, light+dark):

  • First screen: no safe-area gap above the list (as in the mockup), so the large title scrolls under the band like a list pane's rows and hands over to the capsule (kayg's 'blob' screenshot).
  • Stronger band through the pill row (kayg approved 2026-10-23): ~2 px through the pills, ends just below them.
  • tooltips.spec waits for Settings' own visible bar (no UI change; real taps at 320 were fine).
  • Playwright E2E_REMOTE=1 switch so browsers can run on the Mac Studio.
  • Auth: the 50 ms sign-in-during-recount budget moved to the perf VM (10 ms measured); the ordinary suite checks sign-in never waits on the recount.

🤖 Generated with Claude Code

https://claude.ai/code/session_01U5oTUycqAh7DT72mdSUztk

Train BH ran the full suite (run bh1, dev 3671dc4 + port/chrome-2 9533e6b + issue/auth-latency-gate 932d22e): fmt, clippy, workspace tests, build, svelte-check, every Playwright project. Rust all green. Browser: admin 43, cr1440 331, cr390 267+214, wk1440 139+188, wk390 157+194+131, small 19. Failures re-run: swipe-rows:126 and :240 (webkit-1440) 6/6 passed; pill-room:309 'note' failed 3/3 - also fails on plain dev 3671dc4 (Studio WebKit 6/6): one glyph beside a link lands a whole pixel off from WebKit's pixel snapping while every other glyph on the line is at 0, so not a layout push. 22acb29 allows a 1 px rounding on at most 2% of glyphs (a real push still fails): Linux WebKit 1440+390 12/12 passed. 22acb29 changes only that spec. Contents (#660, phone chrome follow-ups; verified on the Mac Studio iOS simulator, Home Screen app, light+dark): - First screen: no safe-area gap above the list (as in the mockup), so the large title scrolls under the band like a list pane's rows and hands over to the capsule (kayg's 'blob' screenshot). - Stronger band through the pill row (kayg approved 2026-10-23): ~2 px through the pills, ends just below them. - tooltips.spec waits for Settings' own visible bar (no UI change; real taps at 320 were fine). - Playwright E2E_REMOTE=1 switch so browsers can run on the Mac Studio. - Auth: the 50 ms sign-in-during-recount budget moved to the perf VM (10 ms measured); the ordinary suite checks sign-in never waits on the recount. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01U5oTUycqAh7DT72mdSUztk
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01U5oTUycqAh7DT72mdSUztk
This reverts commit 1a1b80b94b.
Train BD/BF: "every tooltip on Settings is centred..." failed 3/3 on webkit-390: the hover on the first `[role=tab][aria-label]` was "intercepted" by the Settings layer.

Not a regression for people. Since the phone's first screen got its app tabs (PhoneFoot, a role=tab "Notes" inside the Notes layer), the first match of the spec's trigger selector is that tab whenever the Notes layer is mounted, and the spec's "wait for a visible Notes tab" is satisfied by it before the route has been applied. The check "is it inert?" then runs while Notes is still the screen on; the hover runs after Settings has taken over (the Notes layer is `.off`, inert and `pointer-events: none !important`, and Settings' bar sits over the same place), so Playwright waits for a hit that never comes. Checked on the iOS simulator as a Home Screen app: Settings shows only its own bar (no first-screen pills under it), and a tap on its Notes tab goes back to the note.

The spec now waits for Settings' own bar (`.tab-layer:not(.off) .bar-tabs`) and takes the triggers only from the screen that is on. Passes on macOS WebKit (the Mac Studio), 3 of 3. playwright.config.ts gets `E2E_REMOTE=1` (no build, no servers: only the browsers run, against a server running elsewhere) so the specs can run on the Mac Studio's cores (~/Developer/calternal-pw, README there).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01U5oTUycqAh7DT72mdSUztk
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01U5oTUycqAh7DT72mdSUztk
From kayg's iPhone (production, dark, many tags): the large "Notes" title, scrolled up, was a smeared blob above the capsule. The mockup's first screen has no gap above its list (no `.top-space` in chrome mode): the nav is the scroller from the very top, its words run under the status bar and the band, and the title is handed to the capsule. Production kept a gap of the safe area's height above the nav, so the nav's own box started 104 pt down. The gap is gone (it stays, 0 tall, only for the Home Screen hint, which sits under the pills) and the nav pads its top by the safe area plus 56 pt instead. The special case that followed the title against the window is gone with it.

Verified on the iOS simulator as a Home Screen app, dark and light, 32 tags: at rest the title is where it was; scrolled, tags and the title blur under the band like the list pane's rows and the capsule says "Notes"; at the end of the tags the last row clears the bottom pills. Nothing is added at the bottom: the mockup has none (its `.strip.bottom` is Safari's colour strip, hidden on the Home Screen), and rows under the bottom pills are the approved design.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01U5oTUycqAh7DT72mdSUztk
Train BH: "pill room: note: at rest nothing is added to the layout" failed 3/3 on webkit-1440 (BG, with another branch, too). Not caused by port/chrome-2: it fails the same on plain origin/dev 3671dc4 on the Mac Studio's WebKit, 6 of 6, and nothing in the front end changed between BF (passed) and 3671dc4.

Measured on the Studio (every glyph outside a link, the real layout against the old one injected by the test): of 144 compared glyphs, 78 with no link before them are at 0, 33 beside a link next to a space at 0, the tight ones within what the test allows, and ONE glyph, next to a link, a whole pixel off (763 against 762) while the others on its line, before and after it, are at 0. That is WebKit snapping a glyph to a whole pixel (links.css documents that it loses up to one), landing on a rounding edge, not text pushed by the pill: a push moves every glyph after a link. The test demanded 0.5 px per link of every glyph, so any change of fractions (a font, a scrollbar, the text) can flip it.

The test now lets a glyph be a pixel more than allowed, but only up to 2% of the compared glyphs, and anything past that pixel fails at once. 18 of 18 on webkit-390, webkit-1440 and chromium-1440 (3 repeats each, both kinds).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01U5oTUycqAh7DT72mdSUztk
Merge commit '22acb29' into train/2026-10-23bh
Some checks failed
CI / web (pull_request) Failing after 1m15s
CI / server (pull_request) Successful in 2m11s
CI / rust (pull_request) Failing after 14m36s
20131679ab
Author
Owner

Closing: this PR's head commit is already in dev (checked 26 Oct, against dev a779a46). The train landed it by merging directly into dev.

Closing: this PR's head commit is already in `dev` (checked 26 Oct, against dev `a779a46`). The train landed it by merging directly into dev.
kayg closed this pull request 2026-10-26 11:18:02 +00:00
Some checks failed
CI / web (pull_request) Failing after 1m15s
CI / server (pull_request) Successful in 2m11s
CI / rust (pull_request) Failing after 14m36s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal!679
No description provided.