port: Settings › Devices (approved mockup) #902
Closed
kayg
wants to merge 17 commits from
port/devices into dev
pull from: port/devices
merge into: kayg:dev
kayg:main
kayg:port/tasks-float-2
kayg:fix/train-1116-2
kayg:fix/train-1116-3
kayg:fix/train-1116-1
kayg:fix/flake-1134
kayg:fix/server-1182
kayg:dev
kayg:port/notes-float-3c
kayg:docs/auto-update-ig
kayg:feat/dav-transport
kayg:port/tasks-float-1
kayg:wip/mail1011-sv-order-1116
kayg:fix/flake-1179
kayg:fix/flake-1178
kayg:fix/guards-1153-fsio-split
kayg:fix/guards-1153-notes-split-we
kayg:fix/guards-1153-notes-lib
kayg:fix/guards-1153-notes-home
kayg:fix/guards-1153-ui-primitives
kayg:fix/guards-1153-primitives-e2e
kayg:fix/guards-1153-visibility-doc
kayg:feat/paper-grey-1116
kayg:fix/flake-1165
kayg:fix/flake-1119
kayg:docs/imap-766-plan-v2
kayg:fix/e2e-unique-ports
kayg:t3/paged-search-reconcile-final
kayg:wip/mail1011-final-1115
kayg:docs/tasks-float-port
kayg:perf/editor-first-paint-1c
kayg:feat/imap-notes-fetch
kayg:feat/imap-notes-projection
kayg:feat/imap-notes-readonly
kayg:feat/imap-notes-auth
kayg:feat/imap-notes-server-foundation
kayg:wip/mail1011-txn-ownvocab-1115
kayg:wip/mail1011-txn-novocab-1115
kayg:perf/p1117-final-harness
kayg:perf/single-shot-repeats
kayg:port/tasks-matrix
kayg:wip/mail1011-txn-1115
kayg:fix/static-gates-1155
kayg:feat/files-s1-identity-r7
kayg:fix/files-r7-idle-loop
kayg:fix/daily-train-1152
kayg:port/notes-float
kayg:fix/editor-tables-test-types
kayg:port/notes-float-listscript
kayg:feat/tasks-actions
kayg:port/notes-float-phone-preload
kayg:perf/sound-comparator
kayg:port/notes-float-listscroll
kayg:port/notes-float-budgets
kayg:port/notes-float-suite-fix-b
kayg:port/notes-float-sidebar-fix
kayg:port/notes-float-trim
kayg:port/notes-float-3-lists
kayg:fix/attachments-meta-capability
kayg:docs/carddav-writes-v2-plan
kayg:feat/contacts-companion-pure
kayg:issue/carddav-read-perf-fix-r2
kayg:issue/carddav-read-r2
kayg:port/notes-float-devsync2
kayg:review/calendar-2
kayg:review/switcher-a-pills
kayg:port/notes-float-switcher-a
kayg:port/port-tables-2
kayg:review/switcher-ends
kayg:wip/whiteboard-s1-1114
kayg:port/port-tables
kayg:wip/mail1011-perfneutral
kayg:review/photo-tint
kayg:port/notes-float-shell
kayg:wip/local/collections-db
kayg:wip/local/mail-p1
kayg:wip/local/cold-growth-on-tiering
kayg:wip/local/tiering-v3-s1
kayg:wip/local/wal1051-cap
kayg:wip/local/tiering-v3-s1-resume
kayg:wip/local/index-position-startup-scan
kayg:port/notes-float-flat
kayg:port/notes-float-promote
kayg:wip/handover/mail1011-candidate
kayg:wip/handover/files-s1-candidate
kayg:port/notes-float-shell-only
kayg:port/notes-float-perf
kayg:feat/whiteboard-s1
kayg:feat/tiering-v5
kayg:fix/app-switch-hitch
kayg:wip/local/files-s1-dev-v4-final
kayg:feat/files-s1-dev-v4
kayg:fix/c2-glass-shared
kayg:feat/flat-lists
kayg:wip/handover/whiteboard-s1-resume
kayg:wip/att-lazy-861
kayg:feat/switcher-browse
kayg:wip/att-lazy-860
kayg:feat/tasks-float
kayg:recovered/flat-backup-candidate
kayg:perf/stalls-1054-kc
kayg:land/ai-toolbar
kayg:feat/collections-db
kayg:feat/collections-db-fixes
kayg:codex/mail-1011-redesign-20261111
kayg:fix/ai-toolbar
kayg:backup/macos-vm/st3-head
kayg:perf/trim-candidate-phonestack
kayg:feat/switcher-three
kayg:fix/1051-index-idle-checkpoint
kayg:perf/stalls-1054-kb
kayg:perf/stalls-1054-k
kayg:perf/stalls-1054-r3
kayg:fix/c2-contrast-tail
kayg:perf/stalls-1054-r3-preview
kayg:feat/collections-before
kayg:feat/tiering-v4
kayg:fix/timelog-caret
kayg:wip/local/tasks-actions
kayg:docs/tasks-writes-v2-plan
kayg:st3-r3
kayg:feat/pass8
kayg:review/calendar-2-before-1111
kayg:wip/tiering-v3-cold4
kayg:perf/stalls-1054-r2
kayg:fix/suite-A4
kayg:fix/suite-A5-probe
kayg:fix/suite-A6
kayg:fix/suite-A3
kayg:fix/suite-A2
kayg:fix/suite-A5
kayg:fix/suite-A1
kayg:wip/local/attachments-861-fix
kayg:feat/contrast
kayg:wip/local/ports-861
kayg:storage/wal-checkpoint-off-save-1051
kayg:wip/local/mail-1011-reconcile-20261110
kayg:feat/style-sheet-fixes
kayg:feat/money-round
kayg:perf/stalls-1054
kayg:wip/tiering-v3-cold5
kayg:t3/mail-1011-liveness
kayg:feat/iphone-fixes
kayg:feat/notes-approve
kayg:wip/local/shrow-work
kayg:feat/files-s1-identity
kayg:feat/quickfix
kayg:wip/tiering-v3-cold
kayg:wip/local/shared-row-swipes
kayg:backup/macos-vm/pfx-B
kayg:backup/macos-vm/pfx-C
kayg:backup/macos-vm/pfx-D
kayg:feat/contrast-r1
kayg:feat/tiering-v3-s2-tags
kayg:feat/folder-drop
kayg:t3/photos-s1
kayg:feat/tiering-v3-s1-namespace
kayg:wip/local/photos-s1
kayg:t3/photos-plan-slice-one
kayg:recovered/backup/p1b-61505
kayg:t3/paged-search-reconcile
kayg:t3/smooth-pane-transitions
kayg:t3/index-position-startup-scan
kayg:fix/private-staging-759b-r2
kayg:backup/macos-vm/hk/hk1009/pr877
kayg:backup/macos-vm/hk/hk1009/pr878
kayg:docs/undo-block-ids-plan
kayg:fix/undo-768
kayg:backup/macos-vm/hk/hk1009/pr875
kayg:backup/macos-vm/hk/hk1009/pr904
kayg:proto/block-identity-v7d
kayg:backup/macos-vm/hk/hk1009/pr846
kayg:backup/macos-vm/hk/hk1009/pr860
kayg:backup/macos-vm/hk/hk1009/pr861
kayg:backup/macos-vm/hk/hk1009/pr849
kayg:backup/macos-vm/hk/hk1009/pr848
kayg:backup/macos-vm/hk/hk1009/pr853
kayg:backup/macos-vm/hk/hk1009/pr957
kayg:backup/macos-vm/hk/hk1009/pr893
kayg:backup/macos-vm/hk/hk1009/pr889
kayg:backup/macos-vm/hk/hk1009/pr902
kayg:docs/imap-notes-plan
kayg:docs/quota-plan-2
kayg:fix/parallel-test-flakes
kayg:docs/calendar-backend-v2-plan
kayg:feat/calendar-ical-converter
kayg:backup/macos-vm/hk/hk1009/pr808
kayg:docs/contacts-import-v2-plan
kayg:issue/610-pm-midnight
kayg:feat/calendar-v2-s1-containment
kayg:backup/macos-vm/hk/hk1009/pr854
kayg:backup/macos-vm/hk/hk1009/pr845
kayg:backup/macos-vm/hk/hk1009/pr917
kayg:docs/dav-recorder-v2-plan
kayg:plan/previews-865
kayg:plan/save-log-durable-entry
kayg:backup/macos-vm/hk/hk1009/pr934
kayg:fix/e2e-data-on-ram
kayg:backup/macos-vm/hk/hk1009/pr888
kayg:feat/appwindow3
kayg:feat/appwindow2
kayg:feat/appwindow
kayg:feat/money-p1
kayg:feat/keys-sheet
kayg:review/calendar-2-themes
kayg:feat/smooth-cursor
kayg:fix/float-style
kayg:review/calendar-2-float
kayg:release/2026-11-06-hotfix
kayg:archive/port/rows-drop-code
kayg:archive/port/rows-actions
kayg:archive/port/rows
kayg:scratch/tasks-894-ui-gates
kayg:review/calendar-2-night-wip
kayg:recovered/flaky/toast-reduced
kayg:release/2026-11-05
kayg:archive/flaky/rows-drop-fixed
kayg:archive/flaky/rows-actions
kayg:archive/flaky/rows
kayg:sim/bm15-final
kayg:sim/bm15-bis-932
kayg:sim/bm15-bis-909
kayg:sim/bm15
kayg:sim/bm15-bis-887
kayg:perf/tiering-option-b
kayg:fix/sw-lazy-precache
kayg:archive/plan/save-log-durable-entry
kayg:mock/money-fix2
kayg:archive/fix/e2e-data-on-ram
kayg:mock/appearance-all
kayg:mock/pill-press
kayg:mock/pill-press-mac
kayg:backup/macos-vm/appearance-after
kayg:mock/auto-swipes
kayg:mock/mail-actions
kayg:backup/macos-vm/mock/mail-actions
kayg:mock/money-static
kayg:archive/review/standards-917
kayg:perf/tiering-761-fix
kayg:mock/type-audit
kayg:mock/third-pane
kayg:feat/contacts-import-v2-s1
kayg:perf/executor-hot-path
kayg:archive/port/hidden-blocks
kayg:archive/port/devices
kayg:scratch/executor-on-894
kayg:scratch/executor-spans2
kayg:scratch/executor-spans
kayg:archive/port/rows-drop
kayg:feat/tiering-761-d-scale
kayg:feat/tiering-761-c-index
kayg:feat/tiering-761-b-reader
kayg:archive/review/sharing-pr3-review-9fec3d1f
kayg:perf/ports-lazy-budgets
kayg:feat/tiering-761-a-migration
kayg:archive/review/sharing-pr3-review
kayg:archive/review/sharing-pr3-review-code
kayg:archive/plan/previews-865
kayg:archive/port/port-attachments-3
kayg:archive/port/contacts-merge
kayg:fix/motion-audit-859
kayg:fix/motion-audit-859-mac
kayg:archive/port/port-pickers
kayg:archive/port/port-tables-2
kayg:archive/port/port-tables
kayg:recovered/local/sharing-s1-pr2-room-snapshot-candidate
kayg:archive/fix/parallel-test-flakes-code-minipc01
kayg:docs/imap-766-readonly-slice
kayg:feat/dav-recorder-v3
kayg:research/788-diagnosis
kayg:archive/fix/parallel-test-flakes
kayg:archive/perf/pr792-cold-index-edit
kayg:docs/sharing-slice-1
kayg:recovered/feat/dav-recorder-v2
kayg:recovered/feat/dav-recorder-v2-edd7bbb
kayg:spike/imap-766-s0-cases
kayg:archive/fix/undo-768
kayg:recovered/feat/dav-recorder
kayg:recovered/feat/dav-recorder-901acd4
kayg:feat/contacts-import
kayg:perf/cold-growth-on-764
kayg:perf/cold-growth-on-tiering
kayg:recovered/feat/tasks-set-status
kayg:feat/tasks-move-reorder
kayg:feat/tasks-delete-promote-duplicate
kayg:feat/carddav-writes
kayg:perf/quota-on-tiering
kayg:perf/quota-simple
kayg:perf/cold-growth-on-quota-stack
kayg:recovered/perf/cold-growth-on-tiering
kayg:feat/calendar-identity
kayg:feat/calendar-event-parser
kayg:feat/calendar-props-maps
kayg:port/glass-when-ring
kayg:recovered/feat/tiering-761-s1-wip-8132a84
kayg:recovered/feat/tiering-761-s1-wip-9da4094
kayg:recovered/feat/tiering-761-s1-wip-724512c
kayg:recovered/feat/tiering-761-s1-wip-66e667e
kayg:recovered/feat/tiering-761-s1
kayg:wip/6by32-01-tier-761-s1-pause-20261030
kayg:spike/imap-766-s0
kayg:wip/6by32-02-calternal-pause-20261030
kayg:wip/8by64-01-review-688-pause-20261030
kayg:wip/6by32-01-verify-744-pause-20261030
kayg:wip/6by32-01-verify-742-pause-20261030
kayg:fix/private-staging-759b
kayg:wip/6by32-01-review-748-pause-20261030
kayg:wip/6by32-01-review-733c-pause-20261030
kayg:wip/6by32-01-review-733b-pause-20261030
kayg:review/calendar-month
kayg:wip/local/bm15-trash
kayg:plan/759b-staging
kayg:review/767b-tests
kayg:review/preview-2026-10-29
kayg:docs/tiering-731-plan
kayg:wip/c6b02-review-733d
kayg:wip/c6b02-bm1-full-a
kayg:docs/deploy-plan
kayg:fix/storage-owner-liveness-642
kayg:fix/storage-fix-7
kayg:feat/tiering-731
kayg:wip/tiering-731-first-attempt
kayg:perf/idle-honest-2
kayg:fix/storage-private-tmp-642-dev
kayg:fix/storage-exact-file-quarantine-642
kayg:perf/one-flush-save
kayg:review/calendar-static
kayg:review/indexing-ring
kayg:review/when-field-2
kayg:proto/block-identity-2-review
kayg:proto/block-identity-review
kayg:review/when-field
kayg:issue/tasks-create-ids
kayg:issue/tasks-create
kayg:review/combined
kayg:review/task-polish
kayg:review/top-buttons
kayg:review/q1-q5
kayg:archive/integ325-293
kayg:archive/integ325-ci
kayg:issue/calendar-adr
kayg:archive/old/train/2026-10-23bk2
kayg:archive/old/train/2026-10-23bk
kayg:issue/469-mockup-9a
kayg:issue/smart-tasks-mockup
kayg:issue/469-menus
kayg:issue/652-signout-flake
kayg:issue/652-history-fix7
kayg:issue/652-history-fix6
kayg:archive/old/issue/spring-check-perf
kayg:issue/spring-check-perf
kayg:issue/659-rename-fast
kayg:archive/old/train/2026-10-21ar
kayg:issue/search-hardening-3
kayg:issue/652-history-fix5
kayg:issue/660-port-sheets-glass
kayg:issue/652-history-fix4
kayg:issue/652-history-fix3
kayg:issue/652-history-fix2
kayg:issue/652-history-flake
kayg:train/2026-10-21an
kayg:issue/settings-admin-port
kayg:issue/search-port
kayg:train/2026-10-20am
kayg:issue/storage-split-fix2
kayg:issue/storage-split
kayg:archive/old/issue/folder-ids-fix
kayg:train/2026-10-20al
kayg:archive/old/issue/folder-ids
kayg:train/2026-10-20ak
kayg:issue/tables-mockup
kayg:train/2026-10-19aj
kayg:train/2026-10-19ai
kayg:issue/469-merge-fixes
kayg:issue/sidebar-band
kayg:archive/old/issue/608-settings-spec
kayg:train/2026-10-19ah
kayg:issue/swipe-offscreen
kayg:train/2026-10-19ag
kayg:archive/old/issue/590-nlp-adr
kayg:archive/old/issue/587-event-after-write-2
kayg:train/2026-10-19af
kayg:archive/old/issue/587-event-after-write
kayg:issue/469-pill-room-c
kayg:issue/469-pill-room
kayg:train/2026-10-19ae
kayg:issue/469-narrow-handle
kayg:issue/397-ios-swipe-2
kayg:issue/469-desk-fixes
kayg:archive/old/issue/auto-update-adr
kayg:issue/469-filter-gap
kayg:issue/469-port-1b
kayg:issue/442-opacity-flake
kayg:issue/327-web-fast-3
kayg:archive/old/issue/469-port-1
kayg:issue/469-port-1
kayg:issue/327-web-fast-2
kayg:archive/old/issue/327-web-fast
kayg:archive/old/issue/425-stt-bench-vq1
kayg:archive/old/issue/445-no-bleed
kayg:archive/old/issue/400-swipe-mockup-2
kayg:issue/426-client-review
kayg:issue/426-client-2
kayg:issue/426-client
kayg:archive/old/issue/476-safe-area-lab
kayg:archive/old/issue/445-top-light
kayg:issue/471-blocks-mockup
kayg:archive/old/issue/448-links-app-2
kayg:archive/old/issue/448-links-app
kayg:archive/old/issue/398-cold-links
kayg:issue/434-442-small-2
kayg:issue/434-442-small
kayg:archive/old/issue/398-unload
kayg:archive/old/issue/445-bottom-band
kayg:issue/445-bottom-band
kayg:issue/351-rem-3
kayg:issue/351-rem-2
kayg:issue/351-rem
kayg:archive/old/issue/327-first-note
kayg:issue/395-width-phone
kayg:archive/old/issue/327-typing
kayg:issue/396-ios-edges
kayg:issue/397-ios-swipe
kayg:archive/old/issue/327-notes-index
kayg:issue/345-347-contrast-empty-2
kayg:archive/old/issue/44-arenas
kayg:issue/44-arenas
kayg:archive/integ325
kayg:archive/old/issue/327-perf-harness
kayg:archive/old/issue/44-thp
kayg:issue/44-thp
kayg:archive/old/issue/285-sticky-pills
kayg:archive/old/issue/44-trim-3
kayg:issue/44-trim-3
kayg:archive/old/issue/165-cards
kayg:archive/old/issue/165-picker-2
kayg:archive/old/issue/212-multi-select
No reviewers
Labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
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!902
Loading…
Reference in a new issue
No description provided.
Delete branch "port/devices"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ports the approved Settings › Devices from
apps/mockup(review/calendar-2, #867) intoapps/web. Today's Settings layout is kept; only the Devices page content changes. The 3-pane Settings layout and the sidebar-foot change are not in here (not yet reviewed by kayg).What is ported
AppCard), Signed in, Apple devices, Add a device row.lib/leave-row.ts,devices/ConfirmRemove.svelte): the button grows into [Cancel · Confirm] with a clip reveal, laid out once. The row leaves one frame after the confirm (a copy layer slides out; the rows below glide up with a transform-only FLIP).chrome/SheetShell.svelte+lib/morph-glass.ts, the one glass, clip-path reveal on desktop, rise from the bottom on a phone) with its three choices (iPhone or iPad, Mac, Something else). Own lazy chunk (devices).Wired to what the server has (nothing invented)
account.installations,account.revoke.account.app-passwords,account.app-password-revoke.POST /api/v1/auth/app-passwords {name, scopes}. The server wants a recent passkey check; on a 403 the sheet runsreverifyPasskey()once and repeats.Missing server actions (left out of this PR)
.mobileconfig) and its URL: the iPhone QR and the Mac "Download profile" in the mockup need it. Every kind therefore ends on the by-hand details (server, port 443, user, password shown once).contacts: the server grantscontactsandnotes.*; Calendar/Tasks (CalDAV) and Mail (IMAP) have no scope that anything serves yet, and Notes over IMAPS is still in #873–#882. So the sheet offers Contacts only, and the mockup's "What should it sync?" step is skipped (one app).DeviceDetail): no rename or scope-edit action exists (account.app-passwordsis list + revoke only). Not part of the approved list here.Decisions
lib/device-kinds.tsand passed toIconthrough a new optionaldprop, so the shared icon set (first paint) did not grow.dimPage(body/theme-color tint) port: the sheet dims with its own scrim fade only. Rows on the sheet's glass have no grey fill (kayg 11-02 memo); the mockup's rule for that was dead CSS, the product applies it..presstint washed out Done / Install / the confirm).flow.spec.tsandpwa.spec.tsfollowed the new markup (two-step Sign out; the "Apple devices" heading made the substring query for "Devices" ambiguous).ShareSheet,contacts/SheetShell);chrome/SheetShellhere is the mockup's current glass version. Whoever lands second should fold the other onto it.Gates (details in the comment below)
e2e/review4-signout.spec.ts(same on dev). Web unit tests 96/96.e2e/devices.spec.ts--repeat-each=5CI=1 --retries=0: Chromium 1440+390 60/60 (dev-01), WebKit 1440+390 60/60 (dev-02). Neighbours (pwa, flow, admin, settings-fit/links, lazy-ui/offline, passkeys-ui) pass.perf/web.sh --bundle-only --gate): first JS 233.200 → 233.463 KB (+0.26 KB: the manifest lines for the new chunk and theIconprop; budget 240), first CSS unchanged 18.799.deviceschunk 2.879 KB (own line, 3.05), idle-screens 39.188 → 41.815 (50.5), total 353.255 → 359.036.🤖 Generated with Claude Code
Budget (kayg approved, 2026-11-08 08:20 IST): kayg approved raising the lazy budget total, up to 543.9 KiB.
perf/budgets.jsonin this PR sets each named lazy line to the largest size measured over the 17 approved ports after trimming (rounded up to 0.01 KiB) and the total to the sum of the lines (543.25 KiB). The same file is in the first PR of every stack, so whichever merges first carries it. First paint is judged separately and has not been raised.Gate evidence (head
58c423d4)Functional
e2e/devices.spec.ts --repeat-each=5 CI=1 --retries=0 --workers=1: chromium-1440 + chromium-390 60/60 (dev-01); webkit-1440 + webkit-390 60/60 (dev-02).Bundle (brotli KB, base = origin/dev
41f2efa3→ head): first JS 233.200 → 233.463 (budget 240); first CSS 18.799 → 18.799; idle-screens 39.188 → 41.815 (50.5); newdeviceschunk 2.879 (budget line 3.05); total JS 353.255 → 359.036 (budget 407.25 = sum of lines).Frames, Mac VM (macos-01, rAF deltas, lock held with EXIT trap, Chromium excluded: its idle row is p50 50 ms / p95 133 ms on this VM, so it is not an instrument). WebKit, ms, run 3 of 3 (runs 1–2 look the same):
The gate (p95 ≤ 20, 0 frames > 25 ms) is NOT shown as met. The idle control fails it itself (p95 27, 22 frames > 25 ms), so the VM was noisy during all three runs (earlier today the mockup's idle row was p95 20 / max 20). Phone gestures are no worse than idle; at 1440 add open/close and the confirm glide are above the idle row and need a re-run on a quiet Mac before this merges. The probe is a throwaway spec (not committed).
Shots (product vs mockup, 1440 and 390, light and dark; list, asking, Add kinds, Add details): code:~/Developer/Worktrees/shots/port-devices/ (
product-*/mockup-*).Follow-up: first paint and Mac frames (head
49d8c000)First-paint JS (brotli KB,
perf/web.sh --bundle-only --gate) — dev41f2efa3: 233.200. This PR: 233.724 → (sharedIconreverted, device icons drawn incomponents/devices/DeviceIcon.svelte) 233.427 → (devices.svelte.ts no longer importsApiError) 233.337 now (+0.137 KB; raw index +36 B). First CSS 18.799 = dev. Not ≤ dev yet. What I found:lazy()in a module only Settings loads, so the entry is not in the first-screen module). The remaining first-screen cost is vite's__vite__mapDepsfile list, which names every lazy file in index, plus the symbol renumbering that follows: the same sources shift the brotli size by ±0.1 KB (an equivalent if/else rewrite of the sheet made it 233.436, so I reverted it). Raw index is +36 B over dev; the brotli swing is renaming noise on an 845 KB file.idle-screens(no new manifest names; costs the "own budget line").Mac frames (macos-01 WebKit, rAF deltas, lock held, no other job on the VM:
psshowed nothing but system daemons).(Run B's 1440 sign-out/remove rows did not finish: the test timed out on the VM.)
kayg referenced this pull request2026-11-05 23:21:11 +00:00
housekeeping #1009: rebased+failing, left open for review.
rebased Devices onto dev; kept current icon registry and picker groups. retained the original explicitly budgeted 3.05 KB devices chunk addition; first-paint caps unchanged.
head:
1064f17245ee57972f0e0d8c65ae04797d985eec; based on devcd7f84432febfc63b788fbb9b9f9950452982d74, pushed with the original exact force-with-lease.frontend frozen install, check, lint, build and unit tests passed. bundle gate failed. first-paint brotli vs dev: JS 230774 B (-3 B), CSS 18386 B (+0 B).
targeted Chromium and WebKit specs at 1440 and 390 never started. the audit waited more than three hours behind the live daily-train-1107 locks (first queue at 23:45 IST, 7 November; final queue cleanup after 02:46 IST, 8 November). browser validation and UI captures are unrun. only this audit’s exact queued units were stopped; the train locks and owners were left intact. hot-path perf qualification is unrun.
all executed gates used the VM Nix environment, shared Mac lock and slot. exact commands, source heads, logs and dev baseline. frontend inputs are identical to the tested frontend tree when a Rust-only repair changed the head.
original-head cherry/patch inventory,
pr-902.md; unmatched entries are missing-patch candidates, with semantic overlap/replacements noted above.final queue, cleanup and source-verification evidence.
Final-port test pass (issue #1009), READY: no: specs pass; bundle gate fails.
head
1064f17245ee57972f0e0d8c65ae04797d985eecTargeted specs,
CI=1 --retries=0 --workers=1, dev-01 Chromium and dev-02 WebKit (through~/bin/slot), against a dev-head backend (cd7f84432).flowandpwa(own projects) not run.Bundle gate:
perf/web.sh --bundle-only --gate(the 17 failures from the housekeeping audit). Per the gate's own rule (total_js_brotlibudget must equal the sum of the named chunk budgets) a cap can only move between named chunks; there is no donor chunk inside this PR, so a fix is a code cut or a decision by kayg. I raised nothing and moved nothing.idle-screens53.69 vs 51.8 (+1.9 KB). First paint JS -3 B, CSS +0 B vs dev. The PR's own 3.05 KB devices chunk is not what is over: the Devices code lands inidle-screens. Moving it into its own lazy chunk (with its own budget) is the likely fix.Not done: Not run yet: Mac VM Safari blur/frame check and perf ABAB x5 on the perf VMs (they need a ready PR first); light/dark 2x screenshots against the mockup are only done for #888 (see its comment).
Not marked READY FOR MERGE.
Screenshots and state (issue #1009),
026e6d4055Settings, Devices (#902). READY FOR MERGE apart from one item: the perf ABAB x5 run is queued behind Mail (the perf-02 session was cancelled when Mail went first; this page is a lazy Settings chunk, off the typing and open-note paths).
perf/web.sh --bundle-only --gateDev itself fails five phone specs at 390 (
glass:76,lazy-ui:70,preload:89x3); not this PR.Product (Chromium, 2x; the list is faked with
page.routeasdevices.spec.tsdoes) next to the approved mockup, light and dark.Differences from the mockup: the mockup has an Install Calternal card and a longer fixture list (iPad, Claude Code, named Apple devices); the product shows only the faked list; the mockup's settings sidebar and warm backdrop differ from the product's shorter sidebar. The structure (This device, Signed in, Apple devices, Add a device, the Cancel / Sign out confirm) is the same.
Screenshots (2x; light and dark; 1440x900 and 390x844). Left: the approved mockup (review/calendar-2). Right: this PR.
devices
revoke
Real Safari (Mac VM, 1x; the same fake answers
account.installationsandaccount.app-passwords, injected by a script in a copy of the dist because the page loads its lists once on mount)devices
revoke
Restacked on dev
d4b32af94, head1432d20ef: READY apart from one perf run (queued behind Mail).perf/web.sh --bundle-only --gateDev
d4b32af94itself fails 9 specs (palettepreload:118at 1440 and 390,glass:76,lazy-ui:70,preload:89x3 at 390), on Chromium and WebKit; the same ones fail on this head and none is new.Restacked on dev
661123e94, headcb251674d4ad7df041e8a0ddb4858e150f9da3c0. Not READY: first paint is +124 B over dev (plain 227125 B; normalised +79 B). CSS +0. Specs: devices 12 passed, both engines; gate passes (budget total 515.3 KiB). The overage islazybecoming an export of lazy-ui.svelte.ts (the Devices loaders sit in their own module) and the relettering that follows; the #853 credit came off the baseline, so the -78 B of the last round is gone. Perf ABAB x5 is queued behind Mail. Dev661123e94itself fails the same nine specs as before (palettepreload:118at 1440 and 390,glass:76,lazy-ui:70,preload:89x3), on both engines; none is new on this head.READY FOR MERGE: Devices (head
36181444b)Rebased on dev
9438918f3(#848/#849 in), budgets regenerated from a fresh build of this head, bundle gate clean, specs on dev-02 (idle host) withcalternal-h861, chromium and webkit at 1440 and 390 (preload, lazy-ui, lazy-offline, glass, shortcuts and this PR's own specs): 0 failed.148 passed, 44 skipped.
READY FOR MERGE: Devices (head
852fac80b)Merged dev
fe2efbf11(#1044) into the branch (it also merges cleanly with4274dafb4,git merge-tree), budgets regenerated from a fresh build, bundle gate clean, specs on dev-02 withcalternal-h861, chromium and webkit at 1440 and 390. Dev baseline onfe2efbf11: 228023 B plain / 227378 B normalised / CSS 18236.Specs (preload, lazy-ui, lazy-offline, glass, shortcuts, devices): 136 passed, 36 skipped, 0 failed. Pixel and contrast specs (x86, dev-01): the same 6
phone-barsphoto-dark specs fail on dev itself (9438918f3) and on this PR; nothing else.Handoff: head
852fac80bis pushed and READY as postedHandoff (usage limit): the x86 pixel and contrast run on dev-01 (4 projects, 15 specs) was stopped before finishing this head; I released its job. Done: dev
fe2efbf11and the earlier heads (#902, #854, rows tip, #878 base) ran there with the same 6phone-barsphoto-dark failures on dev itself and nothing new. Next step: re-runpx-d1b.sh-style pixel set on this head on dev-01 (about 1 h per head) if you want it before merging.implementation resumed for the approved ports lane, starting with #902, then #845 → #854, then #846 → #860 → #861. rebased Devices onto current dev
31972329b; new head56802800e0d72ddad0a847b56e56f2260e50bb0d, pushed with exact force-with-lease. fresh dev-01 check, web/editor vitest and bundle measurement are running. prior screenshots and readiness comments are historical evidence only; this pass requires current gates, real Safari and iPhone 18 Pro Simulator light/dark captures. no merge will be performed.BLOCKED: fresh dev-01 bundle gate exceeds approved lines
Resumed in the requested order (#902, then #845 → #854, then #846 → #860 → #861). Devices is rebased on current dev
31972329band pushed with exact force-with-lease; final head231044f07076f5806041e64e9c0869ab0683eecc. No merge performed.The rebase replayed the feature cleanly; old budget commits conflicted. The final budget-only follow-up preserves dev's ContactsScreen cap and approval text, and reduces the summed total by the same 0.01 KiB. No budget was raised beyond the PR's existing approved lines. The product and test source trees are byte-identical between the measured
56802800eand final231044f07; the bundle gate was run again with the final budget file and the same measured dist.All checks ran on dev-01, through
~/bin/slot, in the worktree's Nix environment.bun install --frozen-lockfilebun run --cwd apps/web checkbun run --cwd apps/web testbun run --cwd packages/editor testPERF_WORK=<scratch>/work PERF_OUT=<scratch>/bundle bash perf/web.sh --bundle-only --gate31972329bFresh same-host, same-session build sizes (Brotli; 1 KiB = 1024 B):
Exact final failures:
web.bundle.chunk.index: 222.730 > 222.71 KiB.web.bundle.chunk.ContactsScreen: 14.201 > 14.17 KiB.The latest earlier PR evidence (#89507) reported first-paint JS −88 B, CSS unchanged, on
fe2efbf11. This run is +313 B on current dev. The port growth approval does not cover extra growth beyond the PR's recorded result or authorize raising unrelated index/ContactsScreen budget lines; both unchanged caps fail on this head. Stopping and reporting it as instructed. The later stacks have not been rebased or tested in this pass and are not newly qualified READY.evidence archive: complete check/unit/bundle logs, status codes, both bundle JSONs and gate script
Checked infraternal#260 before considering std timing work; no timing measurement was run. All owned gate jobs have exited, no Mac/perf/simulator lock is held, and no screenshot or report artifact was committed to the repository.
Parked for kayg: lazy-pane attempt did not make Devices flat
Tried the requested lazy loading in
99d87857c: one DevicesPane boundary owns the page, data refresh and Add sheet; Settings requests it only when visible. This replaced three imports of the same chunk with one and removed eager list fetching from Settings. No budget was raised.On dev-01, through the Nix environment and
~/bin/slot, svelte-check passed anddevices.spec.tspassed all four main projects: 24/24. The bundle result remained above dev31972329b:The attempt's Devices chunk was 8.452 KiB vs its 8.31 cap, and index 222.763 KiB vs 222.71. It failed the requested flat result. The remaining eager entry source was the same raw size as before the attempt (802693 B, +196 vs dev); dependency-map names and shared export/hash changes still affect Brotli bytes.
Reverted the experiment in
ba5773da7, pushed. Its source tree is identical to231044f07: the prior +313 B first-paint JS and index/ContactsScreen failures remain. BLOCKED / parked for kayg's morning answer. No screenshots, frame qualification or READY claim for this parked PR. Tables and attachments will proceed separately, with only their recorded growth authorized.complete attempt logs, statuses, bundle JSON and exact gate script
resumed with kayg's 11-11 approval. latest fetched origin/dev remains
31972329b0691183dbda982d6f0c765139ad3368; #902 was already based on it, so rebase is a no-op.fresh dev-01 bundle measurement reproduces 222.730 KiB index and 14.201 KiB ContactsScreen. pushed
adfb66267: only those two caps move to measured +0.03 KiB (rounded to 0.01): 222.76 and 14.23; total = sum of all named caps = 540.15 KiB._approval_902contains the exact requested approval note. no product/test source changed.fresh dev-01 check and web/editor vitest have passed; targeted four-project e2e, flow, contrast and final bundle gate are in progress through Nix and slot. real Safari / iPhone Simulator product-versus-approved-mockup captures are being prepared while the Mac is occupied by the style lane. no merge will be performed.
current simulator blocker on
lume@calternal-macos-01-std(11-11):xcrun simctl list devices availablefails withunable to find utility "simctl", not a developer tool or in PATH;xcode-select -pis/Library/Developer/CommandLineTools./Applicationscontains no Xcode, and a search of/through depth 5 found neitherXcode.appnorsimctl.~/Library/Developer/CoreSimulator/Devicesis absent. the brief's older simulator-ready note does not match this host's current state. real iPhone 18 Pro light/dark 390 captures cannot be claimed. desktop real Safari remains queued behind the active Mac capture lane; dev-01 contrast is still running. this is a correctness/capture pass; no frame or wall-clock performance claim is made.current dev-01 gates: PASS, head
adfb6626732029870da924f09ded9fe868cac3e5base is latest fetched
origin/dev31972329b0691183dbda982d6f0c765139ad3368. the rebase was already current. the only new commit changes the two affected budget lines, the total and_approval_902. index 222.730 → cap 222.76 KiB; ContactsScreen 14.201 → cap 14.23 KiB (measured +0.03, rounded to 0.01). named caps sum exactly to 540.15 KiB; no other caps were raised in this follow-up.all commands below ran on dev-01 under the worktree's Nix shell through
~/bin/slot,CI=1 --retries=0 --workers=1for Playwright. the backend is a release build of dev31972329b, SHA-2566622fc93dc8c0a70f50b479559c438c1424faa21e9a85fc76893a8b564cfec26. this PR changes no backend code. the measured/browsed app was freshly built from this PR's source; itsapps/webandpackagesgit trees are byte-identical before and after the budget-only commit.bun install --frozen-lockfilebun run --cwd apps/web checkbun run --cwd apps/web testbun run --cwd packages/editor testbunx playwright test e2e/devices.spec.ts e2e/pwa.spec.ts --project=chromium-1440 --project=chromium-390 --project=webkit-1440 --project=webkit-390 --workers=1 --retries=0bunx playwright test e2e/flow.spec.ts --project=flow --workers=1 --retries=0bunx playwright test --project=contrast --workers=1 --retries=0PERF_DIST=<fresh dist> PERF_WORK=<scratch>/work PERF_OUT=<scratch>/final-bundle bash perf/web.sh --bundle-only --gatebundle: first JS 228076 B / 222.730 KiB, CSS 18859 B, total including opt-in chunks 540361 B / 527.696 KiB. the first-JS growth remains the approved +313 B / +0.306 KiB. total cap = 540.15 KiB.
full logs, status codes, exact gate script and bundle JSONs
screenshots are still in progress. not READY: the required iPhone 18 Pro Simulator is absent on current macos-01, as recorded above. no merge and no frame-performance qualification claimed.
BLOCKED: iPhone 18 Pro Simulator unavailable
head
adfb6626732029870da924f09ded9fe868cac3e5, based onorigin/dev31972329b0691183dbda982d6f0c765139ad3368. no merge performed.all required dev-01 gates passed: svelte-check 0 errors (19 warnings), web vitest 238/238, editor vitest 562/562, Devices 24/24 across Chromium/WebKit at 1440/390, PWA neighbours (main matrix 30 passed / 10 expected skips), flow 1/1, entire contrast project 10/10, bundle gate exit 0. exact commands, backend provenance and gate evidence.
only the affected index and ContactsScreen budget lines were raised in this follow-up, to 222.76 and 14.23 KiB (fresh measurement +0.03, rounded to 0.01). total = named-line sum = 540.15 KiB.
_approval_902contains the requested approval text. web/package source trees are unchanged by this budget-only commit.real Safari, macos-01, 1440 × 900, light and dark
approved mockup is pinned to
review/calendar-21c79507b6bca5a36bc5dbe286d020fabb22fda02. product is this PR's freshly built app. product account lists and mint response use throwaway sample fixtures matching the e2e approach; no real account credentials are shown. scripts and fixture changes exist only in scratch capture copies, never in the repository.verified capture metadata: Safari 26.5.2, device pixel ratio 1, all 20 PNGs are 1440 × 900.
visible comparison notes:
required iPhone 18 Pro, 390, light/dark: UNRUN
current macos-01 has no Xcode or simctl:
xcrun simctl list devices availablereturnsunable to find utility "simctl", not a developer tool or in PATH;xcode-select -pis/Library/Developer/CommandLineTools./Applicationsand the checked shared locations contain no Xcode, and the user's CoreSimulator Devices directory is absent. the brief's simulator-ready note does not match this machine. restore Xcode and the iOS Simulator runtime on macos-01, then take the required phone product/mockup pairs before marking READY.no frame-performance qualification was run in this correctness/capture pass. all owned gate/capture jobs have exited, the fixture servers and exact capture-helper PIDs are stopped, owned Nix scratch was cleaned where identified, and no Mac/perf/simulator lock is held by this lane. other lanes were left untouched. no artifact was committed and no merge was performed.
all 20 Safari images plus viewport/browser metadata
control-host copy:
code:~/Developer/Worktrees/shots/settings-devices-902-1111/(the 20 image names listed inmetadata.json).READY for orchestrator review: iphone evidence complete
head
adfb6626732029870da924f09ded9fe868cac3e5. this supersedes the simulator blocker in the previous report. the iphone simulator is on the mac studio host, not macos-01.created a dedicated iPhone 18 Pro, iOS 27.0 on
std, ran Safari understd-lock.sh, and captured Settings › Devices in light and dark at 390 CSS px. all 24 records report layout width = visual viewport width = 390, height 693, and horizontal overflow 0. the scratch response sets the viewport to 390 because this device's native screen is wider; screenshots retain the original 1206 × 2622 pixels, status area and Safari bars. this is real simulator Safari, not Playwright WebKit.product uses the same #902 frontend build and sample account fixtures as the desktop evidence. approved mockup:
review/calendar-21c79507b6bca5a36bc5dbe286d020fabb22fda02. both are served through scratch-only HTTP proxies; no source or budget changes in this capture pass. dev-01's slots were full, so capture hosting used dev-02 through its slot, with its existing arm64 backend (22bbaf3347daef532ecbc39bbe25fd531c4ee5e0worktree; binary SHA-25651d1659b16b35a04d138d7a82cc74d66197a01a4acd2b670343b8c70178577ca). the required test gates remain the dev-01 runs.all required gates passed on this head: svelte-check, web/editor vitest, targeted e2e on all four main projects, contrast project, bundle gate. exact commands and results. real desktop Safari 1440 light/dark comparisons.
comparison notes: product keeps its existing settings frame and bottom navigation; mockup has its own header. fixture lists differ. product setup is contacts-only, uses manual setup instead of the mockup QR/profile options, and Add rows are unfilled. these existing scope/style differences are visible below for the orchestrator's screenshot review; exact parity is not claimed. the password shown in product details is an inert fixture string; mockup details are its static sample values.
iphone Safari, light
iphone Safari, dark
all 24 native PNGs + metadata · viewport and browser metadata
cleanup verified: dedicated simulator
DD806D36-CE69-47A8-9A6E-E2CC2BBDB5F4shut down, deleted, and absent from simctl's device list. own proxy/tunnel processes exited, simulator lock released, and capture-server units stopped on dev-01/dev-02. no merge performed.pre-existing, issue #1073: #1073
current origin/dev
31972329b0691183dbda982d6f0c765139ad3368shows the same bright blue Safari bottom toolbar area as #902adfb6626732029870da924f09ded9fe868cac3e5. fresh dev/PR light and dark screenshots and runtime page chrome metadata are attached in the issue. both builds use identical capture settings in the same iPhone 18 Pro / iOS 27.0 simulator session. theme-color and root/body backgrounds match between builds.simulator deleted, capture processes stopped and temporary remote files cleaned. PR head unchanged.
Merged into dev. Gates green, Safari + iPhone sim reviewed by orchestrator; blue Safari toolbar is pre-existing (#1073). Closing.
Pull request closed