port: Notes Float 0/n: stable shell hooks for specs (no visual change) #1090

Closed
kayg wants to merge 0 commits from port/notes-float-hooks into dev
Owner

Slice 0 of #1088 (plan: docs/plans/notes-float-port.md, PR #1089). No visual change.

Adds data-shell, data-side, data-list, data-drawer, data-drawer-scrim, data-page-card, data-page-fill, data-page-rim, data-page-view, data-page-swap to the Notes Shell.svelte, and moves 14 e2e files from class selectors (.shell, .side-pane, .list-pane, aside.drawer, button.scrim, .note-swap, .viewport, .frame-fill, .frame-shadow, .editor-pane) to those hooks. Tasks and Contacts reuse .shell/.side-pane/.list-pane, so class selectors could hit the wrong app. Gate results are posted as comments.

🤖 Generated with Claude Code

Slice 0 of #1088 (plan: `docs/plans/notes-float-port.md`, PR #1089). No visual change. Adds `data-shell`, `data-side`, `data-list`, `data-drawer`, `data-drawer-scrim`, `data-page-card`, `data-page-fill`, `data-page-rim`, `data-page-view`, `data-page-swap` to the Notes `Shell.svelte`, and moves 14 e2e files from class selectors (`.shell`, `.side-pane`, `.list-pane`, `aside.drawer`, `button.scrim`, `.note-swap`, `.viewport`, `.frame-fill`, `.frame-shadow`, `.editor-pane`) to those hooks. Tasks and Contacts reuse `.shell`/`.side-pane`/`.list-pane`, so class selectors could hit the wrong app. Gate results are posted as comments. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
web: stable data-* hooks on the Notes shell; specs stop selecting it by class (no visual change)
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
caffc851dc
Tasks and Contacts reuse .shell/.side-pane/.list-pane, so class selectors could hit the wrong app.
Hooks: data-shell, data-side, data-list, data-drawer, data-drawer-scrim, data-page-card/-fill/-rim/-view/-swap.

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

Gates for head caffc851d (slice 0, hooks only), run on dev-01 (x86_64) and dev-02 (aarch64) through ~/bin/slot, CI=1 --retries=0 --workers=1:

Gate Result
bun run check (svelte-check) 0 errors, 19 warnings (same warnings as dev)
bun run test (web unit) 27 files, 261 tests passed
Touched specs, Chromium (chromium-1440, chromium-390, prefs-chromium, contrast, sidebar-band-chromium), dev-01 112 passed, 61 skipped, 0 failed (30.0 min)
Touched specs, WebKit (webkit-1440, webkit-390, prefs-webkit, sidebar-band-webkit), dev-02 117 passed, 66 skipped, 0 failed (13.3 min)
Full suite chromium-1440 / chromium-390 (dev-01), webkit-1440 / webkit-390 (dev-02) running; results follow

Touched spec files: glass, journal-trash, list-fit, keys-no-motion, list-search, note-bars, opacity, prefs, style-presets, switching, contrast, sidebar-band, list-nav-helpers (helper). Packages/editor was not touched, so its unit tests are unchanged (run in the full pass).

Gates for head caffc851d (slice 0, hooks only), run on dev-01 (x86_64) and dev-02 (aarch64) through ~/bin/slot, `CI=1 --retries=0 --workers=1`: | Gate | Result | |---|---| | `bun run check` (svelte-check) | 0 errors, 19 warnings (same warnings as dev) | | `bun run test` (web unit) | 27 files, 261 tests passed | | Touched specs, Chromium (chromium-1440, chromium-390, prefs-chromium, contrast, sidebar-band-chromium), dev-01 | 112 passed, 61 skipped, 0 failed (30.0 min) | | Touched specs, WebKit (webkit-1440, webkit-390, prefs-webkit, sidebar-band-webkit), dev-02 | 117 passed, 66 skipped, 0 failed (13.3 min) | | Full suite chromium-1440 / chromium-390 (dev-01), webkit-1440 / webkit-390 (dev-02) | running; results follow | Touched spec files: glass, journal-trash, list-fit, keys-no-motion, list-search, note-bars, opacity, prefs, style-presets, switching, contrast, sidebar-band, list-nav-helpers (helper). Packages/editor was not touched, so its unit tests are unchanged (run in the full pass).
Author
Owner

Full-suite results for head caffc851d (dev base d37e52d84), CI=1 --retries=0 --workers=1, one job per project through ~/bin/slot:

Project Host Passed Skipped Failed
chromium-1440 dev-01 (x86) 600 662 6
chromium-390 dev-01 (x86) 1043 218 7
webkit-1440 dev-02 (aarch64) 601 667 0
webkit-390 dev-02 (aarch64) 1041 225 2

The 15 failures, none in a spec that this PR touched:

  • 11 were ENOENT on Playwright's own trace files (browserContext.close): my two runs per host shared one test-results dir in the worktree and cleared each other's artifacts. Re-run alone with their own --output: all pass (webkit-390 swipe-rows:352 and tint:292 10x = 70 passed, 0 failed; chromium composer:191 and tasks-when:83 10x = 20 passed; tasks-when:223, vim:210 and review4-signout 3x = 39 passed; divider-rule:94, tags:77 and review6-signout 3x = 18 passed).
  • 2 real flakes, present on plain dev too: task-check.spec.ts:29 and trash-search.spec.ts:14 (row), chromium-390. On this branch 3 of 60 runs failed at 10x; on dev (d37e52d84, same binary) 6 of 50 failed at 10x. They reproduce on dev, so by the flaky rule they don't block; stability issue opened.

Bundle (vite build, scripts/bundle-size.mjs, dev base vs this branch), first paint: JS raw 806,161 -> 806,326 (+165), gzip 269,406 -> 269,473 (+67), brotli 229,238 -> 229,111 (-127); CSS identical (107,927 raw, 18,922 brotli). All chunks: JS brotli 509,561 -> 509,363. No budget change needed.

Not measured: typing and list CPU ABAB on the perf VMs. The change adds ten data-* attributes to Shell.svelte and changes no logic, style or markup structure; I'm reporting that as not measured rather than flat. I can queue a ~/bin/perf-turn run if the orchestrator wants it before merge.

Full-suite results for head caffc851d (dev base d37e52d84), `CI=1 --retries=0 --workers=1`, one job per project through ~/bin/slot: | Project | Host | Passed | Skipped | Failed | |---|---|---|---|---| | chromium-1440 | dev-01 (x86) | 600 | 662 | 6 | | chromium-390 | dev-01 (x86) | 1043 | 218 | 7 | | webkit-1440 | dev-02 (aarch64) | 601 | 667 | 0 | | webkit-390 | dev-02 (aarch64) | 1041 | 225 | 2 | **The 15 failures, none in a spec that this PR touched:** - 11 were `ENOENT` on Playwright's own trace files (`browserContext.close`): my two runs per host shared one `test-results` dir in the worktree and cleared each other's artifacts. Re-run alone with their own `--output`: all pass (webkit-390 swipe-rows:352 and tint:292 10x = 70 passed, 0 failed; chromium composer:191 and tasks-when:83 10x = 20 passed; tasks-when:223, vim:210 and review4-signout 3x = 39 passed; divider-rule:94, tags:77 and review6-signout 3x = 18 passed). - 2 real flakes, present on plain dev too: `task-check.spec.ts:29` and `trash-search.spec.ts:14` (row), chromium-390. On this branch 3 of 60 runs failed at 10x; on dev (d37e52d84, same binary) 6 of 50 failed at 10x. They reproduce on dev, so by the flaky rule they don't block; stability issue opened. **Bundle** (`vite build`, `scripts/bundle-size.mjs`, dev base vs this branch), first paint: JS raw 806,161 -> 806,326 (+165), gzip 269,406 -> 269,473 (+67), brotli 229,238 -> 229,111 (-127); CSS identical (107,927 raw, 18,922 brotli). All chunks: JS brotli 509,561 -> 509,363. No budget change needed. **Not measured:** typing and list CPU ABAB on the perf VMs. The change adds ten `data-*` attributes to `Shell.svelte` and changes no logic, style or markup structure; I'm reporting that as not measured rather than flat. I can queue a `~/bin/perf-turn` run if the orchestrator wants it before merge.
kayg changed title from WIP: port: Notes Float 0/n: stable shell hooks for specs (no visual change) to port: Notes Float 0/n: stable shell hooks for specs (no visual change) 2026-11-12 09:09:22 +00:00
Author
Owner

Merged to dev as be968d9df (orchestrator). Attribute-only change, first-paint −127 B brotli; perf ABAB waived (no runtime code path change). Prod via next daily train.

Merged to dev as be968d9df (orchestrator). Attribute-only change, first-paint −127 B brotli; perf ABAB waived (no runtime code path change). Prod via next daily train.
kayg closed this pull request 2026-11-12 09:13:50 +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!1090
No description provided.