Notes Float slice 3c: list view in the main area, back pill #1158
Open
kayg
wants to merge 19 commits from
port/notes-float-3c into dev
pull from: port/notes-float-3c
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: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!1158
Loading…
Reference in a new issue
No description provided.
Delete branch "port/notes-float-3c"
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?
Notes Float slice 3c: a place opened from the sidebar shows its list in the window's main area (the mockup's list view), and a note opened from it has a back pill to that list. Decision 2 of #1122 ("the list stays a column beside the page; the mockup opens a list view in the main area with a back pill, which needs slice 2") is now done: slice 2's toolbar is merged. Source:
review/calendar-2(NotesListView,WindowLayout'sfback,ListToolbar), plandocs/plans/notes-float-port.md.What changes
?list=…&view=list: the list fills the area right of the sidebar, flat on the global layer (no card, no window hole, no shadow), title 22/650 under the top line, 64 px rows, the shared page toolbar (⋯) top right. The note you had stays the one the address names; the page is mounted but hidden (visibility: hidden).from=list) shows its page with the list column away, a glass back pill (sharedPill, 32 px, same icon size) on the page's left (right of the sidebar toggle when the sidebar is closed). Back returns to the same list.view) keeps the list column beside the page.NoteList(keyboard walking, multi-select with the bulk bar, swipe actions on rows, drag of rows onto tags, filter, windowing, gallery, trash/archived lists); the sidebar's tag drag/merge and keyboard nav are untouched; "New note" (the page's bottom bar is hidden in the view) is a+in the list header. Arrow keys in the view only move focus between rows (the page is not on screen, so there is nothing to open as you walk); Enter/click opens.active=false), so toasts (Undo) use the stack, as for Settings over Notes. (First attempt failedvisibility.spec: the toast was held in the hidden bar.)view=listis ignored there.Decisions I made (kayg asleep)
PageToolbarwithpageActions({page:"list"})(no ✦, as slice 2). Not drawn for Trash / Archived, as the column's own ⋯ was not.Gates (head
881301051)Evidence (shots, frames, perf) is in the comments below.
Real Safari 1440 (macos-01), product (head
881301051build) vs approved mockup, light and darkComputed values (product | mockup), Safari 1440:
Light: product
mockup 
mockup 


Dark: product
Page opened from the view, back pill (light, dark):
dev (column beside the page, same place):
iPhone Simulator (std, own iPhone 18 Pro iOS 27.0, deleted after)
Phone is unchanged by this slice (PhoneStack until slice 8): product list light
dark
; dev
; mockup
(mockup phone compares against slice 8).
Gates at head
881301051--workers=1 --retries=0, one project at a time per host, on the whole list of the earlier slices' specs plusnotes-list-view.spec.ts(5 new tests: place opens the view, note from view + back pill + Back, plain column has no pill and arrows only move focus, multi-select, toggle/flat surface; toolbar ⋯ opens):window-layout.spec(six window pieces, a seventh.flonly draws in the view);visibility.speccaught a real bug (toast held in the hidden page's bar), fixed in code, spec untouched.test-results). Both fixed.perf/web.sh --bundle-only --gate, dev-01): first_js 232.470 KB (dev 231.946, +0.52; cap 240), first_css 19.311 (dev 19.032, +0.28), total 586.674. Budget lines set to measured, total = sum of lines (note_nf_3c_1115). NoteList.svelte is 602 lines vs dev 595 (+7; its ADR 0070 ceiling 567 was already exceeded on dev); the view's CSS lives innote-list-view.css.Safari frames (real Safari, macos-01, loopback servers, 8 cycles ABAB rotating, one session)
Blank page mean 17.4 ms. rAF deltas, median of per-run worst frame (ms) / max / total frames >= 50 ms over 8 runs. Caveat: other lanes' specs on dev-02 share std's CPU; two earlier runs were contaminated (dev itself 150-450) and are discarded. This is the quietest run:
Read: opening the list view costs one frame of about 65 ms against dev's 26 (a place change in the column). I bisected it in Safari: the sync part is 5 to 10 ms; the frame after is style+layout+paint of the new state. Single DOM pieces (page hidden,
inert, flat global piece, window hidden, wide list, rows restyled) are each at baseline; combined with the wide list they add up to about 40 ms. Things I removed on the way:inerton the hidden page (about 60 ms), a width slide of the global layer, a spring on the hidden page's clip (the list view now keeps the list's place in the geometry),container-type. The remaining cost is the first paint of a wide full-height text list. I could not remove it without dropping the view; this is the one number kayg should judge (a new gesture, so no dev equivalent; typing and column list scroll below).Open-note-from-the-view equals dev's open note (64 vs 64); the max outliers are the VM's.
Perf (typing / list CPU, pooled ABAB x3 on perf-01+02): NOT RUN
The staged run (dev, dev2 control, new; harness
ops/orchestrator/harness/notes-float/perf-01, own fixture copy) queued behind 5 other lanes' tickets on perf-01 from 10:20 CEST; the first ticket died at its 2 h RuntimeMaxSec while waiting, the re-queued one was 5th in line (about 12:22). Three sessions would need several more hours, so I cancelled and cleaned up (ticket, units, staged binaries). The orchestrator should run it withperf-turn(arms: dev vs this head; the tree has no crate changes; the list column's code path is unchanged apart from aviewprop that is false there, and the hidden-page and toolbar additions are mounted only in the view). Until it runs, treat typing/list CPU as unmeasured, not as flat.3c lane (16 Nov night): branch cleanup, dev merged, first real-Safari numbers for
26622df85, three fixes so far (not yet under 50 ms)Branch
wip-dbgcommits (789ca2c36,9c1d54530,f09503986, a throwawaye2e/zz-dbg.spec.tsthat01b66cf13deleted again) are rebased out (tree identical to26622df85) and pushed with--force-with-lease.42c219afd(incl. #1159 1c,a66f8ac7c) merged in:c40b7fc6f. One conflict inperf/budgets.json(index and total lines). The lines are provisional until the bundle gate re-measures them.Real Safari frames,
26622df85+ dev (c40b7fc6f) vs dev42c219afd(macos-01, loopback servers, server binary built from deva66f8ac7c(no crate diff), 40 seeded notes; blank page 17.4 ms mean; 8 cycles ABAB rotating, one session). Each gesture is now verified: open place lands onview=list, the clicked row is a non-current note and the hash moves to it, Back lands onview=list. 0 failures out of 16 runs. std check: infraternal#260 had no window announced; dev-02 load 6-16 during this run.26622df85So the "cut" commit did not move the Safari numbers.
What I found (runtime CSS variants injected into the new build in real Safari, plus a Chromium stage trace on dev-01):
background-attachment: fixedon the global layer's pieces: placing the picture with scroll attachment instead brought open place from 56-86 to 26-44 (median 40) over 3 rounds. No picture at all gave 28-33. A pre-scaled full-size picture (no 96 px upscale) changed nothing, and promoting the layer (will-change) changed nothing.inert/aria-hiddentoggles: no measurable effect. Glass (backdrop-filter) off everywhere: back ~50 instead of ~65; being attributed now.Fixes pushed (each an atomic commit):
6e02cd2a0+91635fa0b: no piece isfixedany more. Each piece shifts the tint and picture back by its own place (--x/--y), and the shift springs withleft, so a sliding corner shows the same part as before.74f0fc728: the list column is out of the window geometry in the view, so opening a note from it and Back move no edge (entering the view moves it once, as a cut, with everything hidden or flat).f8d82d926: a page opened from the view keeps the hidden list in the view's box and row styles (wide), so neither Back nor the open re-lays anything out. Chromium trace: Back's dirty layout objects 387 → 40, open-note-from-view cheaper than dev's open note (worst task 57 vs dev 115 ms).Real Safari at
f8d82d926vs dev (8 cycles, verified, blank 17.1): open place 63.5 (dev 24), open note 67.5 (dev 59), back 70 (dev 23.5). Frames over 20 ms are now at dev's level in all three, but the single worst frame of each gesture is still about 60-70 ms. Not under 50 yet; still working. Next: attribute that last frame (picture paint vs glass layers), then fix.Perf gate (pooled ABAB ×3) has not run yet: it waits for frames < 50 ms.
3c lane, 16 Nov night, part 2: frames still ≥ 50 ms after six fix attempts; dev
df16d3a24merged; NoteList under its ceiling; all functional gates green; perf gate queuedHead
028897d95+ budgets4bd8abd72(tree =2e6bc08e3apart fromperf/budgets.json).Real Safari frames (macos-01, verified opens, blank page ≈17.2 ms mean in every run)
Every run below is one session with ABAB-rotating arms. Each open is verified: open place lands on
view=list; the clicked row is a non-current note and the hash moves to it; Back lands onview=list. 0 failures in every run. Median of per-run worst frame (ms); dev's "back" is a no-op sidebar click.26622df85+devf8d82d926(h4)df16d3a24, server rebuilt from it)Discarded as contaminated (dev itself had 80-600 ms outliers): h5, h6a, h7a. std load (dev-02) ran 2-16 through the night. infraternal#260 announced no window.
Verdict: open place (~64-68) and back (~70-87) are still ≥ 50 ms (must-fix). Open-note from the view (~62-67) is above dev (44-59), so the step-2 condition is not met. Frames over 20 ms per gesture are now at dev's level (they were 17.5 vs 4.5 on open-note): what is left is one long frame per switch.
What is in that frame (runtime CSS/JS variants injected into the built app in real Safari, 3-6 cycles each, plus a Chromium stage trace on dev-01)
opacity:0→ 1 on a layer of its own) also did it as a runtime variant (32-39 over 2 rounds), but not as a built change (h6, h8: no gain in the same session). Not explained yet.#287keeps it composited at opacity 0),inert/aria-hidden, keeping the hidden list composited, or pre-compositing the piece moves it. The page's glass being taken down when the page hides is the only lever measured (~50 instead of ~70), and keeping the page drawn under the surface (h5) or at opacity 0 made it worse.will-changeon the layer, a composited<img>for the picture.Fixes kept (all atomic, pushed)
6e02cd2a0+91635fa0b: no global-layer piece isbackground-attachment: fixed. Each piece shifts the tint and picture by its own place (--x/--y), and the shift springs withleft, so the picture lines up as before (specwindow-layout:164now checks every piece's offset). In Safari the scroll-attached variant halved open place againstfixed.74f0fc728: in the view the list column is out of the window geometry, so opening a note from the view and Back move no edge (this removed the 17 >20 ms frames of the edge spring).f8d82d926: a page opened from the view keeps the hidden list in the view's box and row styles. Chromium trace: Back's dirty layout objects 387 → 40, style 27 → 24 ms, layout 8.7 → 2.3 ms; open-note-from-view worst task 57 ms vs dev's open note 115.d9eb682f3(page drawn under the surface, inert), h689bcfbe87and h82a61b8945(pre-composited flat piece).Orchestrator's ask: dev
df16d3a24merged, NoteList under ADR 0070886630481(clean).2e6bc08e3: the row/group dates →lib/list-dates.ts(pure functions), the scroller's viewport tracking →lib/list-viewport.ts(same observers and listeners). Behaviour unchanged. NoteList 602 → 556 code lines (ceiling 567; allow-list lowered to 556). Shell 457, WindowLayout 317, GlobalLayer 135 (< 500).Gates at
2e6bc08e3(= head tree; server binaries built from devdf16d3a24, crates identical)--workers=1 --retries=0.)perf/web.sh --bundle-only --gate, dev-01, same toolchain as a devdf16d3a24build): index 233.504 vs dev 232.640 (+0.86 KB), first CSS 19.689 vs 19.032 (+0.66 KB), first JS 233.504 (< 240). Lazy chunks move by hash jitter only. Lines set to measured (_nf_3c_1116); re-check running. Flag: first-paint growth went from +0.52/+0.28 to +0.86/+0.66 tonight. I can't yet tie the extra CSS to a source change (tonight's CSS adds about 15 declarations); worth a look.Perf (typing / list CPU, pooled ABAB ×3): queued
Staged on perf-01: dev
dist-dev3(cdb9a14c), headdist-h7(6d0a0875), release server from devdf16d3a24(525e30ef), own fixturecp -a(shared fixture sha369bada6before = after = copy). Ticketnf3cis third in theperf-turnline (Mail, then Tasks Floattf1b). The perf-02 lock is held by a unit started from hd01 only while the turn runs. Results will follow here.Real Safari shots, head (h7 build on the dev-based server), 1440
List view light
dark 
dark 
dark 
Page opened from the view (back pill; the window's edge now at the sidebar) light
dev (column beside the page, same place) light
Mockup pair: unchanged, see comment 97524 (computed values there still hold: header 262,64 h 52; row 64 / r 12; title 22/650; back pill 32 at 264,31).
3c frames: the cost is the page's bar and pill glass (real Safari, head build, 6 cycles each, one session per round)
Runtime variants injected into the head build (
2e6bc08e3) on macos-01, ABAB-rotating, opens verified. Median worst frame (ms):.cm-sheet)inertRead: what makes the switch frame long is the page's bottom bar (its progressive blur stack: 3 layers at blur 2/5/9 plus the 24 px morph glass) and its top-right pills (
.float-glass.under). It costs whether that glass is taken down (page hidden) or kept alive under a cover, and it doesn't depend on the global layer's picture once the pieces are notfixed. Removing that glass is not an option (no feature or glass dropped), so the next step is to keep the bar's glass out of the switch frame some other way. Candidates for the next lane:+anyway). That's a design change; it needs kayg's OK.No code change from this round. Head stays
4bd8abd72(tree =2e6bc08e3+ budget lines).3c perf gate (typing + list CPU, pooled ABAB ×3, perf-01 + perf-02 lock): list style recalc +14.4 % → blocks
~/bin/perf-turn nf3c ~/nf3c-perf/run-gate.sh dist-h7, one ticket, 01:53-02:45 CET. Both locks held for the whole turn (perf-02 through asystemd-run --userhold unit started from hd01 when the turn began, stopped at the end). Arms: dev =dist-dev3(devdf16d3a24, tarcdb9a14c), dev2 = the same build (control), new = head2e6bc08e3(tar6d0a0875; the head tree4bd8abd72adds only budget lines). Release server built from devdf16d3a24(525e30ef, crates identical to the head). Own fixturecp -aof the shared one (sha369bada6before = copy = after). 24 samples per session, 8 per arm, rotating order. Session 1's first run died waiting for a handshake file the staged driver copy deletes; it was redone inside the same turn (s1b).Pooled (per-session dev mean = 1):
Per session, list recalc: +15.9 / +14.4 / +12.7 % (control +2.6 / +4.6 / −0.9). Typing and list script are flat against the control. List recalc (style recalc while scrolling the list column, the window layout) is a real regression, so step 2's zero-regression gate is not met.
Suspects (only the column is scrolled, so it's selectors that every column row is matched against): the view's global rules in
note-list-view.css(.list.view … .row/.title/.group, and the adjacent-sibling.band + .band). A diagnostic on dev-01 is running now (no lock; not a gate): dev vs head vs head without the view stylesheet vs head with.band + .bandreplaced by a class set in the template. The fix then goes through a new pooled turn.3c list-recalc regression: cause found and fixed (
50322d058); pooled gate re-queuedChromium trace of the perf gate's own list scroll (dev-01, deterministic counts, not a gate): elements restyled by style recalc over the scroll.
df16d3a242e6bc08e3note-list-view.css(diagnostic).band + .band→ a template class (diagnostic)50322d058(that change, committed)Cause: the view's hairline rule
.list.view:not(.gallery) .band + .band. With an adjacent-sibling rule, every row the windowed list inserts while scrolling restyles its neighbour as well, in the column too, where the rule never matches. Fix50322d058: NoteList setssepon a band whose previous row is a note (only in the view), and the rule is.list.view:not(.gallery) .band.sep. Same hairline; NoteList stays at 556 code lines.Next: a new pooled ABAB ×3 turn on
dist-h9(tar21d50d56) is queued (4th in line). Specs (chromium 1440/390 on dev-01, webkit 1440/390 on dev-02) and the bundle gate are running on50322d058.3c gates at head
48642ff50(tree =50322d058+ budget lines)--workers=1 --retries=0, server binaries from devdf16d3a24(x86 on dev-01, aarch64 on dev-02).2e6bc08e3;50322d058changes only a class and a CSS selector).perf/web.sh --bundle-only --gate(dev-01): pass. index 233.478 KB (dev 232.640, +0.84), first CSS 19.693 (dev 19.032, +0.66), first JS 233.478 (< 240), total 587.332. Lines in_nf_3c_1116.dist-h9): queued, 4th on perf-01 (Tasks Float's front ticket, dav794, Mail ahead).View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.