App: phone/desktop list chrome from the approved mockup (slice 1) #511

Closed
opened 2026-10-16 18:39:21 +00:00 by kayg · 3 comments
Owner

Slice 1 of bringing the approved chrome mockup (https://preview.calternal.cloud/chrome.html, branch issue/469-chrome-mockup-3) into the real app. Parent: #469.

In scope (approved by kayg):

  • List screens (Journal, All notes, tags, Views, Pinned, Trash), phone and desktop: large title placed lower with the count as a subtitle; group headings as H2 in the title's display font, sentence case; indentation hierarchy (headings share the title's left edge, rows indented); no "Today" pill; list/gallery springy morph with glass gallery cards.
  • Phone top chrome: floating glass pills (back, header pill fading in when the title scrolls away, Share + ⋯ grouped in one pill without divider), approved icon sizes, short progressive blur ramp visible only when content is under it.
  • One shared glass material (float 0.30 light / 0.36 dark, blur 20px, sat 180%, dense step ~0.48); look-v2 tokens (contrast, cards, radii), line height 1.6, body 17px.
  • Text: PR #506 font changes (no global antialiased, light body 460, ui 440).
  • "+" new note focuses the title and opens the keyboard.

Not in scope: covers, Views storage, sharing, voice/mic, context menu, multi-select and swipes, Style inspector, embeds and /, Safari-tab document scrolling.

Rules: windowing stays, no per-scroll-frame layout work, keyboard actions never animate, accent not gradients, no machinery. Evidence (perf before/after, screenshots, test runs) goes on this issue.

Slice 1 of bringing the approved chrome mockup (https://preview.calternal.cloud/chrome.html, branch `issue/469-chrome-mockup-3`) into the real app. Parent: #469. In scope (approved by kayg): - List screens (Journal, All notes, tags, Views, Pinned, Trash), phone and desktop: large title placed lower with the count as a subtitle; group headings as H2 in the title's display font, sentence case; indentation hierarchy (headings share the title's left edge, rows indented); no "Today" pill; list/gallery springy morph with glass gallery cards. - Phone top chrome: floating glass pills (back, header pill fading in when the title scrolls away, Share + ⋯ grouped in one pill without divider), approved icon sizes, short progressive blur ramp visible only when content is under it. - One shared glass material (float 0.30 light / 0.36 dark, blur 20px, sat 180%, dense step ~0.48); look-v2 tokens (contrast, cards, radii), line height 1.6, body 17px. - Text: PR #506 font changes (no global antialiased, light body 460, ui 440). - "+" new note focuses the title and opens the keyboard. Not in scope: covers, Views storage, sharing, voice/mic, context menu, multi-select and swipes, Style inspector, embeds and `/`, Safari-tab document scrolling. Rules: windowing stays, no per-scroll-frame layout work, keyboard actions never animate, accent not gradients, no machinery. Evidence (perf before/after, screenshots, test runs) goes on this issue.
Author
Owner

Slice 1 port: PR (see the link below this comment once opened). Evidence.

Simulator (iPhone, Safari tab, iOS 27), issue/469-port-1 at 61faad6: contact sheets of Journal, Journal scrolled, All notes scrolled, Trash, #travel in light and dark; the gallery via the real ⋯ menu (tapped on the simulator); "+" with the keyboard up and the caret in the new note (tapped on the simulator).

Perf (web harness from #508's branch, same server binary, dev 312bc89 vs this branch, Chromium at 4x CPU; the host was at load 20-30, so frame times are noisy, CPU time less so):

metric dev port
10k, cold CPU p50 (3 rounds x 3) 2968 ms 2804 ms
10k, cold time to first note p50 3913 ms 3409 ms
10k, warm time to first note p50 1630 ms 1208 ms
10k, cold TBT p50 2203 ms 1865 ms
10k, All notes scroll frame p50 / p95 117 / 333 ms 117 / 317 ms
100k, scroll frame p50 (3 runs) 100 / 183 / 133 ms 125 / 150 / 167 ms
100k, janky frames (>50 ms) per fling 205 / 235 / 227 225 / 234 / 234
100k, cold CPU 6293 ms 6319 ms

No regression beyond noise; windowing is unchanged (a gallery band is one windowed row).

Slice 1 port: PR (see the link below this comment once opened). Evidence. **Simulator (iPhone, Safari tab, iOS 27), `issue/469-port-1` at 61faad6:** contact sheets of Journal, Journal scrolled, All notes scrolled, Trash, #travel in light and dark; the gallery via the real ⋯ menu (tapped on the simulator); "+" with the keyboard up and the caret in the new note (tapped on the simulator). **Perf (web harness from #508's branch, same server binary, dev `312bc89` vs this branch, Chromium at 4x CPU; the host was at load 20-30, so frame times are noisy, CPU time less so):** | metric | dev | port | |---|---:|---:| | 10k, cold CPU p50 (3 rounds x 3) | 2968 ms | 2804 ms | | 10k, cold time to first note p50 | 3913 ms | 3409 ms | | 10k, warm time to first note p50 | 1630 ms | 1208 ms | | 10k, cold TBT p50 | 2203 ms | 1865 ms | | 10k, All notes scroll frame p50 / p95 | 117 / 333 ms | 117 / 317 ms | | 100k, scroll frame p50 (3 runs) | 100 / 183 / 133 ms | 125 / 150 / 167 ms | | 100k, janky frames (>50 ms) per fling | 205 / 235 / 227 | 225 / 234 / 234 | | 100k, cold CPU | 6293 ms | 6319 ms | No regression beyond noise; windowing is unchanged (a gallery band is one windowed row).
Author
Owner

Rebased onto train v as #522 (replaces #516). Tests: list-chrome, links, missing-links, phone-bars, phone-edges, touch-select, switching on chromium-390/1440 and webkit-390/1440: 454 + 454 passed; contrast 4 passed. 100k web harness (Chromium 4x CPU, 2 interleaved rounds, busy host), train v vs port: cold TBT p50 2292/1842 vs 1287/2067 ms; cold first note 3078/3470 vs 3369/4013 ms; cold CPU 4144/7294 vs 4801/6182 ms; All notes scroll frame p50 217/167 vs 158/150 ms; janky frames 227/217 vs 209/213. #518's gains hold.

Rebased onto train v as #522 (replaces #516). Tests: list-chrome, links, missing-links, phone-bars, phone-edges, touch-select, switching on chromium-390/1440 and webkit-390/1440: 454 + 454 passed; contrast 4 passed. 100k web harness (Chromium 4x CPU, 2 interleaved rounds, busy host), train v vs port: cold TBT p50 2292/1842 vs 1287/2067 ms; cold first note 3078/3470 vs 3369/4013 ms; cold CPU 4144/7294 vs 4801/6182 ms; All notes scroll frame p50 217/167 vs 158/150 ms; janky frames 227/217 vs 209/213. #518's gains hold.
Author
Owner

Closing during the 26 Oct handover cleanup: List chrome slice 1 landed in dev (PR #522).

Closing during the 26 Oct handover cleanup: List chrome slice 1 landed in dev (PR #522).
kayg closed this issue 2026-10-26 08:46:35 +00:00
Sign in to join this conversation.
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#511
No description provided.