fix(web): phone top band contrast on dark photo notes (train #1047) #1052

Closed
kayg wants to merge 0 commits from fix/phone-top-band-contrast into dev
Owner

Fixes the phone-bars.spec.ts:113 "top band" failure on photo dark notes (chromium-390, daily train #1047).

Culprit: not 93a5e11a2 (#1026) nor 6b29a0d0b (#1005). Bisect on dev-01 (x86; it does not reproduce on aarch64 dev-02) over 20eab8d3a..faa4d4aad ends in the sharing UI range, last good 4f022b48e, first bad at or before 67311da52 (the intervening sharing commits do not build, so git skipped them). The Share pill makes the note's right top pill wider, and its drop shadow (--shadow-float, 0 12px 30px -10px at 0.55) falls on the band's sampled row: median 44 becomes 43, delta 4.18 against < 4.1. Probes: hiding the glass layer or its box-shadow gives 3.71 again; removing its backdrop-filter does not.

Fix: TopPills.svelte, dark only: the top pills' own lift is lighter (0 8px 22px -10px at 0.4). Glass tint, blur and opacity are unchanged; the gate is unchanged. Top band is back to 3.71.

Gates (all at 6102f54af):

  • phone-bars + glass + glass-roots + preload + lazy-ui + lazy-offline: chromium-1440 and chromium-390 on dev-01 (x86): 325 passed, 0 failed.
  • same set on webkit-1440 and webkit-390 on dev-02: 323 passed, 0 failed.
  • First paint: index CSS brotli +29 B (18234 to 18263), index JS brotli -232 B (227848 to 227616); net smaller than dev. I did not run the perf-VM bundle gate.
  • iOS Simulator (own sim, iPhone 18 Pro, dark, photo backdrop, note top band): before and after look the same (the shadow change is a few levels). The before shot was taken before the editor text had painted. Shots are local only.

Not touched: composer-tasks and cover failures from the same train.

🤖 Generated with Claude Code

Fixes the `phone-bars.spec.ts:113` "top band" failure on `photo dark` notes (chromium-390, daily train #1047). **Culprit:** not `93a5e11a2` (#1026) nor `6b29a0d0b` (#1005). Bisect on dev-01 (x86; it does not reproduce on aarch64 dev-02) over `20eab8d3a..faa4d4aad` ends in the sharing UI range, last good `4f022b48e`, first bad at or before `67311da52` (the intervening sharing commits do not build, so git skipped them). The Share pill makes the note's right top pill wider, and its drop shadow (`--shadow-float`, 0 12px 30px -10px at 0.55) falls on the band's sampled row: median 44 becomes 43, delta 4.18 against < 4.1. Probes: hiding the glass layer or its box-shadow gives 3.71 again; removing its backdrop-filter does not. **Fix:** `TopPills.svelte`, dark only: the top pills' own lift is lighter (`0 8px 22px -10px` at 0.4). Glass tint, blur and opacity are unchanged; the gate is unchanged. Top band is back to 3.71. **Gates (all at 6102f54af):** - phone-bars + glass + glass-roots + preload + lazy-ui + lazy-offline: chromium-1440 and chromium-390 on dev-01 (x86): 325 passed, 0 failed. - same set on webkit-1440 and webkit-390 on dev-02: 323 passed, 0 failed. - First paint: index CSS brotli +29 B (18234 to 18263), index JS brotli -232 B (227848 to 227616); net smaller than dev. I did not run the perf-VM bundle gate. - iOS Simulator (own sim, iPhone 18 Pro, dark, photo backdrop, note top band): before and after look the same (the shadow change is a few levels). The before shot was taken before the editor text had painted. Shots are local only. Not touched: composer-tasks and cover failures from the same train. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(web): phone top band contrast on dark photo notes (train #1047)
Some checks failed
CI / server (pull_request) Has been cancelled
CI / rust (pull_request) Has been cancelled
CI / web (pull_request) Has been cancelled
Markdown extraction contract / markdown-native-contract (pull_request) Has been cancelled
Markdown extraction contract / markdown-editor-contract (pull_request) Has been cancelled
6102f54afb
The Share pill made the note's right top pill wider; on the dark page its drop shadow
fell on the band's row and pulled its middle colour a level under the page edge
(top band delta 4.18 against < 4.1). The top pills' lift is a little lighter on dark;
the glass and the gate are unchanged. Culprit: the sharing UI (67311da52).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Author
Owner

Merged into dev (9c15acfad); closing.

Merged into dev (9c15acfad); closing.
kayg closed this pull request 2026-11-10 09:45:21 +00:00
Some checks failed
CI / server (pull_request) Has been cancelled
CI / rust (pull_request) Has been cancelled
CI / web (pull_request) Has been cancelled
Markdown extraction contract / markdown-native-contract (pull_request) Has been cancelled
Markdown extraction contract / markdown-editor-contract (pull_request) Has been cancelled

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!1052
No description provided.