Notes Float slice 8: phone parity (switcher in the first screen's bottom row) #1133

Closed
kayg wants to merge 0 commits from port/notes-float-8-phone into port/notes-float
Owner

Notes Float slice 8 (phone parity), first part. Base port/notes-float c5147c1c3. Phone-only paths: chrome/PhoneFoot.svelte (new switcher prop, Notes only), components/window/AppSwitch.svelte (new phone form, scoped CSS; the desktop form is unchanged), components/PhoneStack.svelte (passes switcher).

  • Notes' first screen bottom row: account, the app switcher (the same AppSwitch as the desktop dock: every app, strip ends on both sides, kayg 14 Nov), search. 44 pt slots, bar-icon size (22), no divider or list button (the open app's icon and a long press open All apps). Avatar initial uses the dock's contrast-safe ink.
  • Tasks and Contacts keep PhoneFoot's tabs (Notes-only scope).
  • Specs: notes-float-phone.spec.ts (new), phone-foot.spec.ts follows the switcher.

Not in this PR (depends on slice 3/3b, in flight in #1122): the places screen as the sidebar tree flat on the backdrop, flat list screens. Evidence and gate results are in the comments below.

Notes Float slice 8 (phone parity), first part. Base `port/notes-float` c5147c1c3. Phone-only paths: `chrome/PhoneFoot.svelte` (new `switcher` prop, Notes only), `components/window/AppSwitch.svelte` (new `phone` form, scoped CSS; the desktop form is unchanged), `components/PhoneStack.svelte` (passes `switcher`). - Notes' first screen bottom row: account, the app switcher (the same `AppSwitch` as the desktop dock: every app, strip ends on both sides, kayg 14 Nov), search. 44 pt slots, bar-icon size (22), no divider or list button (the open app's icon and a long press open All apps). Avatar initial uses the dock's contrast-safe ink. - Tasks and Contacts keep `PhoneFoot`'s tabs (Notes-only scope). - Specs: `notes-float-phone.spec.ts` (new), `phone-foot.spec.ts` follows the switcher. Not in this PR (depends on slice 3/3b, in flight in #1122): the places screen as the sidebar tree flat on the backdrop, flat list screens. Evidence and gate results are in the comments below.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Notes Float 8: the phone switcher draws the bar-icon size; specs count only app icons
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
9e2b654d4b
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Author
Owner

Gates (head 579fce3c0 + later commits; base c5147c1c3)

Gate Command Result
Phone specs, chromium-390 (dev-01, base binary be968d9df = no crate diff to base) playwright test notes-float-phone phone-bars phone-card-geometry phone-edges phone-foot phone-targets swipe-guard swipe-rows app-swipe app-switch pane-transition list-fit note-pills title-pill pill-press keys-no-motion home-screen journal-trash --project=chromium-390 --workers=2 --retries=0 base: 497 pass, 2 fail (swipe-rows:627, flaky, fail on base too). With this PR: 500 pass, 2 fail = my two spec bugs (icon size 16 vs 22; list button counted as an app icon). Fixed; re-run of notes-float-phone, phone-foot, pill-press, phone-targets, phone-bars: see the later line
Desktop, chromium-1440 app-switch app-swipe notes-float-switch 10 passed
svelte-check bunx svelte-check --threshold error 0 errors (20 warnings, none from this diff's lines)
vitest bunx vitest run 30 files, 297 tests pass
Bundle gate perf/web.sh --bundle-only --gate index chunk 231.728 KB brotli vs base 231.508 (+0.220 KB). Budget p95 231.5: base is ALREADY over (231.508 > 231.5). first_js 231.7 < 240 first-paint budget. I did not touch perf/budgets.json (devsync/#1122 conflict risk): whoever merges should bump chunk.index to 232.
Perf ABAB (perf-turn) not run no desktop path changed: AppSwitch gains a phone class and scoped .sw.phone CSS only; typing and list code untouched

Computed values (chromium-390, light / dark)

item value
account / apps capsule / search 64×44 at x16 / 136×44 at x127 (centre 195 = screen centre) / 44×44 at x330
open app slot 44×44; icon 22×22 (search icon 22×22), stroke 2.1
open app ink light / dark rgb(31,27,23) / rgb(244,239,233)
other app ink light / dark rgb(64,58,52) / rgb(207,198,187)

iPhone Simulator (std, own sim iPhone 18 Pro iOS 27.0, deleted after)

Screens below: places (the switcher: empty slot before Notes, Contacts after: the strip's start end), list, note; light and dark. The list and note screens are unchanged by this PR (the product's cards). Not a product-vs-mockup pair: the mockup's places screen is the slice 3b tree, which is not merged.

places-light

places-light

places-dark

places-dark

list-light

list-light

list-dark

list-dark

note-light

note-light

note-dark

note-dark

## Gates (head 579fce3c0 + later commits; base c5147c1c3) | Gate | Command | Result | |---|---|---| | Phone specs, chromium-390 (dev-01, base binary be968d9df = no crate diff to base) | `playwright test notes-float-phone phone-bars phone-card-geometry phone-edges phone-foot phone-targets swipe-guard swipe-rows app-swipe app-switch pane-transition list-fit note-pills title-pill pill-press keys-no-motion home-screen journal-trash --project=chromium-390 --workers=2 --retries=0` | base: 497 pass, 2 fail (swipe-rows:627, flaky, fail on base too). With this PR: 500 pass, 2 fail = my two spec bugs (icon size 16 vs 22; list button counted as an app icon). Fixed; re-run of notes-float-phone, phone-foot, pill-press, phone-targets, phone-bars: see the later line | | Desktop, chromium-1440 | `app-switch app-swipe notes-float-switch` | 10 passed | | svelte-check | `bunx svelte-check --threshold error` | 0 errors (20 warnings, none from this diff's lines) | | vitest | `bunx vitest run` | 30 files, 297 tests pass | | Bundle gate | `perf/web.sh --bundle-only --gate` | index chunk 231.728 KB brotli vs base 231.508 (+0.220 KB). Budget p95 231.5: base is ALREADY over (231.508 > 231.5). first_js 231.7 < 240 first-paint budget. I did not touch `perf/budgets.json` (devsync/#1122 conflict risk): whoever merges should bump chunk.index to 232. | | Perf ABAB (`perf-turn`) | not run | no desktop path changed: `AppSwitch` gains a `phone` class and scoped `.sw.phone` CSS only; typing and list code untouched | ## Computed values (chromium-390, light / dark) | item | value | |---|---| | account / apps capsule / search | 64×44 at x16 / 136×44 at x127 (centre 195 = screen centre) / 44×44 at x330 | | open app slot | 44×44; icon 22×22 (search icon 22×22), stroke 2.1 | | open app ink light / dark | rgb(31,27,23) / rgb(244,239,233) | | other app ink light / dark | rgb(64,58,52) / rgb(207,198,187) | ## iPhone Simulator (std, own sim iPhone 18 Pro iOS 27.0, deleted after) Screens below: places (the switcher: empty slot before Notes, Contacts after: the strip's start end), list, note; light and dark. The list and note screens are unchanged by this PR (the product's cards). Not a product-vs-mockup pair: the mockup's places screen is the slice 3b tree, which is not merged. **places-light** ![places-light](https://git.kayg.org/attachments/ceb50722-8a88-46bc-afe9-37ac90167cda) **places-dark** ![places-dark](https://git.kayg.org/attachments/773b7979-05ae-42b9-8f73-77927949c1fd) **list-light** ![list-light](https://git.kayg.org/attachments/60348c29-e94f-4b5f-b0c7-b3837e579026) **list-dark** ![list-dark](https://git.kayg.org/attachments/1ae5c65a-c25a-4362-a4b2-1deb6bdfeacc) **note-light** ![note-light](https://git.kayg.org/attachments/366a87bb-019c-4fec-bdb7-81e968d439b0) **note-dark** ![note-dark](https://git.kayg.org/attachments/c13c08e8-2c8c-4a8e-8690-d1fccfb508c7)
Author
Owner

Follow-up gate lines: chromium-390 re-run after the fixes (notes-float-phone, phone-foot, pill-press, phone-targets, phone-bars, glyph-contrast): 266 passed, 2 skipped. webkit-390 on dev-02 (notes-float-phone, phone-foot, phone-bars, swipe-rows, app-swipe; server binary from another lane because dev-02 has no base-built one, so treat as logic evidence): 270 passed, 5 skipped.

Follow-up gate lines: chromium-390 re-run after the fixes (notes-float-phone, phone-foot, pill-press, phone-targets, phone-bars, glyph-contrast): 266 passed, 2 skipped. webkit-390 on dev-02 (notes-float-phone, phone-foot, phone-bars, swipe-rows, app-swipe; server binary from another lane because dev-02 has no base-built one, so treat as logic evidence): 270 passed, 5 skipped.
Author
Owner

Merged port/notes-float 8e7611ad7 into this PR (bb5cfd43e), budget commit 3a617c28b. Server binary built from the merged head on each VM (cargo build -j4 -p calternal; crates changed since the earlier binary).

  • Bundle gate (perf/web.sh --bundle-only --gate, dev-01): chunk.index 232.485 vs line 232.31 (+0.18 for the switcher's phone form); hidden-ui 2.463 vs 2.462 (hash jitter). Lines set to measured: index 232.49, hidden-ui 2.47, total_js_brotli 568.46 (= sum of lines; measured total 559.853). Gate passes, no over-budget line. first_js 232.485 < 240.
  • vitest 308 pass (32 files); svelte-check 0 errors.
  • chromium-390 (dev-01): 19 phone/swipe/pill/glyph specs: 500 passed, 32 skipped, 2 failed (swipe-rows:226 Pin, :627 plain light sky). Both pass 45/45 on --repeat-each=5 --workers=1 at the same head (load flake with workers=2; :627 also failed on the base earlier).
  • webkit-390 (dev-02, aarch64 binary from this head): 18 specs, 501 passed, 33 skipped, 0 failed.
  • All-apps access kept as tap on the open app / long press, pending kayg's A/B/C pick (#1124/#1125).
Merged `port/notes-float` 8e7611ad7 into this PR (bb5cfd43e), budget commit 3a617c28b. Server binary built from the merged head on each VM (cargo build -j4 -p calternal; crates changed since the earlier binary). - Bundle gate (`perf/web.sh --bundle-only --gate`, dev-01): chunk.index 232.485 vs line 232.31 (+0.18 for the switcher's phone form); hidden-ui 2.463 vs 2.462 (hash jitter). Lines set to measured: index 232.49, hidden-ui 2.47, total_js_brotli 568.46 (= sum of lines; measured total 559.853). Gate passes, no over-budget line. first_js 232.485 < 240. - vitest 308 pass (32 files); svelte-check 0 errors. - chromium-390 (dev-01): 19 phone/swipe/pill/glyph specs: 500 passed, 32 skipped, 2 failed (swipe-rows:226 Pin, :627 plain light sky). Both pass 45/45 on `--repeat-each=5 --workers=1` at the same head (load flake with workers=2; :627 also failed on the base earlier). - webkit-390 (dev-02, aarch64 binary from this head): 18 specs, 501 passed, 33 skipped, 0 failed. - All-apps access kept as tap on the open app / long press, pending kayg's A/B/C pick (#1124/#1125).
Author
Owner

Merged into port/notes-float with --no-ff by the orchestrator after reviewing the iPhone shots (places/list/note, light and dark). All-apps access follows kayg's pick of #1124 variants. Closing.

Merged into `port/notes-float` with `--no-ff` by the orchestrator after reviewing the iPhone shots (places/list/note, light and dark). All-apps access follows kayg's pick of #1124 variants. Closing.
kayg closed this pull request 2026-11-14 13:11:48 +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!1133
No description provided.