Search surface: results left with a preview right, filters at the bottom (mockup first) #275

Open
opened 2026-10-14 12:52:23 +00:00 by kayg · 5 comments
Owner

kayg, 2026-10-14: production search is very basic. Build a proper search surface, mockup first (nothing reaches production without a mockup). Copy v0's rough layout, not its UI.

Layout:

  • Input field across the top.
  • Left column: results.
    • A progressive blur at its top, under the input, as results scroll beneath it.
    • Setting buttons at its bottom-left, sitting on a progressive blur too.
  • Right column: preview of the selected result, by kind:
    • note: the note around the match, terms highlighted;
    • photo: the photo;
    • document: its first page or text;
    • day: that day's log.

Built the plugin way:

  • Search is a plugin, and each result kind is a provider plugin (#10's provider trait): notes, journal, tags, photos, documents.
  • Each provider brings its own row and preview renderer.
  • The preview reuses the #271 preview layer.

Perf: results in the same frame as a keystroke on 10k notes (budget); arrowing through results shows previews instantly (the #150 cache).

Grill (Claude's recommended answers, pending kayg):

  • S1: ⌘K opens it as a large centred glass panel over the app. On a phone it's a full-screen sheet.
  • S2: one ranked list, each row with its kind's icon. Filter chips sit under the input: All, Notes, Journal, Photos, Files, Tags.
  • S3: a note's preview is the note itself, scrolled to the match, with every hit highlighted and ↑/↓ to step through the hits.
  • S4: the setting buttons are the filters: date range, tag, sort (best match or newest), and include Trash.
  • S5: Enter opens the result; ⌘Enter inserts a link to it into the current note; Esc closes.
  • S6: on a phone, results only. A tap opens; a long press shows the preview popover (#271).
kayg, 2026-10-14: production search is very basic. Build a proper search surface, **mockup first** (nothing reaches production without a mockup). Copy v0's rough **layout**, not its UI. **Layout:** - **Input field** across the top. - **Left column: results.** - A progressive blur at its top, under the input, as results scroll beneath it. - **Setting buttons** at its bottom-left, sitting on a progressive blur too. - **Right column: preview** of the selected result, by kind: - **note:** the note around the match, terms highlighted; - **photo:** the photo; - **document:** its first page or text; - **day:** that day's log. **Built the plugin way:** - Search is a plugin, and each result kind is a provider plugin (#10's provider trait): notes, journal, tags, photos, documents. - Each provider brings its own row and preview renderer. - The preview reuses the #271 preview layer. **Perf:** results in the same frame as a keystroke on 10k notes (budget); arrowing through results shows previews instantly (the #150 cache). **Grill (Claude's recommended answers, pending kayg):** - **S1:** ⌘K opens it as a large centred glass panel over the app. On a phone it's a full-screen sheet. - **S2:** one ranked list, each row with its kind's icon. Filter chips sit under the input: All, Notes, Journal, Photos, Files, Tags. - **S3:** a note's preview is the note itself, scrolled to the match, with every hit highlighted and ↑/↓ to step through the hits. - **S4:** the setting buttons are the filters: date range, tag, sort (best match or newest), and include Trash. - **S5:** Enter opens the result; ⌘Enter inserts a link to it into the current note; Esc closes. - **S6:** on a phone, results only. A tap opens; a long press shows the preview popover (#271).
Author
Owner

The search mockup is on preview

Try it: https://preview.calternal.cloud/search.html#/note/2026-10-13?list=journal&find=1&q=canal

It's a separate page, so the attachment and tree-line mockups on preview stay as they were. The app behind it is the usual mockup. Press ⌘K (Ctrl+K), or click the new search button beside "Calternal". The "Mockup" pill also has two story links. Branch issue/275-search-mockup, PR #301. It's mockup only; nothing changes in production.

More links to try:

  • S1: ⌘K opens a large centred glass panel over the app, dimmed lightly behind. On a phone it's a full-screen sheet.
  • S2: one ranked list, each row with its kind's icon. Photos show their own thumbnail instead. Chips under the input: All, Notes, Journal, Photos, Files, Tags. They use the shared selector capsule, so it stretches to the new chip.
  • S3: a note's preview is the note itself, scrolled to the match, with every hit in the accent's soft tint and the current one in solid accent. ⌘G / ⇧⌘G or the ↑ ↓ pill (top-right of the paper) step through the hits. A day shows its log as a timeline plus the photos taken that day. A photo fills the space, with its caption laid on its lower edge over a soft fading blur. A PDF shows its first page standing on the glass, with "Also on page 2" when the words appear further in. A tag lists everything that carries it.
  • S4: the setting buttons at the bottom-left: Date (Any time, Today, Past week, Past month, This year), Tag, Sort (Best match, Newest first) and Trash (include it). A filter that's set wears the accent tint and names its value, and Clear resets them all. On a 320 px phone, filters that aren't set show only their icon so the row fits.
  • S5: Enter opens. ⌘Enter puts a link to the result under your line in the open note, with an Undo toast. Esc closes.
  • S6: the phone shows results only. A tap opens; a long press shows the preview in a popover.
  • Progressive blur: results slide under a soft blur at the top of their column, right under the input. They also pass beneath the filter buttons at the bottom-left on a second, deeper blur.
  • Motion: opening with a click springs the panel in, scaling from 0.96 on the sheet spring. The glass frosts over in 70 ms so the app never shows through sharp, and the words follow a beat later. Opening from the keyboard just appears. Arrowing, ⌘G, chips and typing never animate. The one exception is the shared selector capsule, which fades in over 120 ms the first time it shows. Closing with a click is a quick 150 ms fade; Esc is instant.
  • Plugin way: search is a set of providers (notes, journal, photos, files, tags), one file each. Each finds its own results and brings its own preview, so a new kind is one more file.
  • Fixtures: older life-log days with #area/health, #area/homelab and #area/travel (a June trip over Kunzum La), a long "Homelab ZFS migration" note, seven photos and five PDFs (permit, blood test, ZFS cheatsheet, train tickets, lease).

Checked

  • Walk-through, scripted in Chromium and WebKit: Ctrl+K opens with focus in the input. Typing filters. Chips filter. ↓ swaps the preview. Ctrl+G steps 1 of 3 → 2 of 3. The Date filter works and lands in the URL. The Trash toggle finds a trashed note (0 → 1). Ctrl+Enter inserts the link and closes. Enter opens. Esc closes. A click springs it in. No page errors in either engine.
  • Work per key, measured as handler plus update plus layout, before paint (Chromium, 1440):
Home Arrow, median Arrow, p90 Keystroke, median Keystroke, p90
Demo Home 0.5 ms 3.6 ms 7.7 ms 18.8 ms
?data=huge, about 1,000 notes 3–4 ms 23–38 ms

The machine is shared and loaded, so these numbers move. The mockup matches everything in the browser; the real one asks the FTS5 index (#10), and I capped the list at 60 rows. Arrowing stays within a frame either way.

Open points

  • Ghost text on the phone: on the full-screen sheet in headless Chromium at 2× scale, the note behind faintly shows through on the right even with a 72 px blur. Please check it on the iPhone. If it shows there too, the phone sheet should get a more solid material.
  • WebKit screenshots: this headless WebKit draws no backdrop-filter at all; a bare test page shows the same. The WebKit shots below check layout only.

Frame strips

Opening with a click (1440, frames at 0, 40, 80, 120, 160, 220, 280, 360, 556 ms; from ⌘K it simply appears):
strip-open-1440.png

Opening on a phone (390, the sheet rises on the sheet spring):
strip-open-390.png

Arrowing through results (the frame right after each ↓: the preview has already swapped, nothing animates):
strip-arrow-1440.png

Desktop, Chromium

1440 light: note (scrolled to the hit) · day · photo · PDF

2-note-chromium-1440-light.png 3-day-chromium-1440-light.png 4-photo-chromium-1440-light.png 5-pdf-chromium-1440-light.png

1440 dark: note (scrolled to the hit) · day · photo · PDF

2-note-chromium-1440-dark.png 3-day-chromium-1440-dark.png 4-photo-chromium-1440-dark.png 5-pdf-chromium-1440-dark.png

900 light: note (scrolled to the hit) · day · photo · PDF

2-note-chromium-900-light.png 3-day-chromium-900-light.png 4-photo-chromium-900-light.png 5-pdf-chromium-900-light.png

900 dark: note (scrolled to the hit) · day · photo · PDF

2-note-chromium-900-dark.png 3-day-chromium-900-dark.png 4-photo-chromium-900-dark.png 5-pdf-chromium-900-dark.png

1440 light: recent (nothing typed) · tags · filtered (past month, newest) · nothing found with a tag filter

1-recent-chromium-1440-light.png 6-tags-chromium-1440-light.png 7-filtered-chromium-1440-light.png 8-empty-chromium-1440-light.png

Phone (full-screen sheet, results only)

390 light: recent · run · #area with the travel tag set

1-recent-chromium-390-light.png 2-run-chromium-390-light.png 6-tags-chromium-390-light.png

390 dark: recent · run · #area with the travel tag set

1-recent-chromium-390-dark.png 2-run-chromium-390-dark.png 6-tags-chromium-390-dark.png

320 light: recent · run · #area with the travel tag set

1-recent-chromium-320-light.png 2-run-chromium-320-light.png 6-tags-chromium-320-light.png

320 dark: recent · run · #area with the travel tag set

1-recent-chromium-320-dark.png 2-run-chromium-320-dark.png 6-tags-chromium-320-dark.png

WebKit

Layout is the same; this headless WebKit build draws no backdrop-filter at all (a plain test page with a blurred box shows sharp text too), so the glass reads flat here. Please glance at it on the iPhone.

2-note-webkit-1440-light.png 4-photo-webkit-1440-dark.png 2-run-webkit-390-light.png

## The search mockup is on preview **Try it:** https://preview.calternal.cloud/search.html#/note/2026-10-13?list=journal&find=1&q=canal It's a separate page, so the attachment and tree-line mockups on preview stay as they were. The app behind it is the usual mockup. Press ⌘K (Ctrl+K), or click the new search button beside "Calternal". The "Mockup" pill also has two story links. Branch `issue/275-search-mockup`, PR #301. It's mockup only; nothing changes in production. More links to try: - [a photo](https://preview.calternal.cloud/search.html#/note/2026-10-13?list=journal&find=1&q=kunzum) - [a PDF](https://preview.calternal.cloud/search.html#/note/2026-10-13?list=journal&find=1&q=vitamin) - [a long note scrolled to the hit](https://preview.calternal.cloud/search.html#/note/2026-10-13?list=journal&find=1&q=backups) - [tags](https://preview.calternal.cloud/search.html#/note/2026-10-13?list=journal&find=1&q=%23area) - [filtered](https://preview.calternal.cloud/search.html#/note/2026-10-13?list=journal&find=1&q=run&when=month&sort=newest) ### What I built (S1–S6 as recommended; easy to change when you answer) - **S1:** ⌘K opens a large centred glass panel over the app, dimmed lightly behind. On a phone it's a full-screen sheet. - **S2:** one ranked list, each row with its kind's icon. Photos show their own thumbnail instead. Chips under the input: All, Notes, Journal, Photos, Files, Tags. They use the shared selector capsule, so it stretches to the new chip. - **S3:** a note's preview is the note itself, scrolled to the match, with every hit in the accent's soft tint and the current one in solid accent. ⌘G / ⇧⌘G or the ↑ ↓ pill (top-right of the paper) step through the hits. A **day** shows its log as a timeline plus the photos taken that day. A **photo** fills the space, with its caption laid on its lower edge over a soft fading blur. A **PDF** shows its first page standing on the glass, with "Also on page 2" when the words appear further in. A **tag** lists everything that carries it. - **S4:** the setting buttons at the bottom-left: **Date** (Any time, Today, Past week, Past month, This year), **Tag**, **Sort** (Best match, Newest first) and **Trash** (include it). A filter that's set wears the accent tint and names its value, and **Clear** resets them all. On a 320 px phone, filters that aren't set show only their icon so the row fits. - **S5:** Enter opens. ⌘Enter puts a link to the result under your line in the open note, with an Undo toast. Esc closes. - **S6:** the phone shows results only. A tap opens; a long press shows the preview in a popover. - **Progressive blur:** results slide under a soft blur at the top of their column, right under the input. They also pass beneath the filter buttons at the bottom-left on a second, deeper blur. - **Motion:** opening with a click springs the panel in, scaling from 0.96 on the sheet spring. The glass frosts over in 70 ms so the app never shows through sharp, and the words follow a beat later. Opening from the keyboard just appears. Arrowing, ⌘G, chips and typing never animate. The one exception is the shared selector capsule, which fades in over 120 ms the first time it shows. Closing with a click is a quick 150 ms fade; Esc is instant. - **Plugin way:** search is a set of providers (notes, journal, photos, files, tags), one file each. Each finds its own results and brings its own preview, so a new kind is one more file. - **Fixtures:** older life-log days with `#area/health`, `#area/homelab` and `#area/travel` (a June trip over Kunzum La), a long "Homelab ZFS migration" note, seven photos and five PDFs (permit, blood test, ZFS cheatsheet, train tickets, lease). ### Checked - **Walk-through, scripted in Chromium and WebKit:** Ctrl+K opens with focus in the input. Typing filters. Chips filter. ↓ swaps the preview. Ctrl+G steps 1 of 3 → 2 of 3. The Date filter works and lands in the URL. The Trash toggle finds a trashed note (0 → 1). Ctrl+Enter inserts the link and closes. Enter opens. Esc closes. A click springs it in. No page errors in either engine. - **Work per key**, measured as handler plus update plus layout, before paint (Chromium, 1440): | Home | Arrow, median | Arrow, p90 | Keystroke, median | Keystroke, p90 | |---|---|---|---|---| | Demo Home | 0.5 ms | 3.6 ms | 7.7 ms | 18.8 ms | | `?data=huge`, about 1,000 notes | 3–4 ms | | 23–38 ms | | The machine is shared and loaded, so these numbers move. The mockup matches everything in the browser; the real one asks the FTS5 index (#10), and I capped the list at 60 rows. Arrowing stays within a frame either way. ### Open points - **Ghost text on the phone:** on the full-screen sheet in headless Chromium at 2× scale, the note behind faintly shows through on the right even with a 72 px blur. Please check it on the iPhone. If it shows there too, the phone sheet should get a more solid material. - **WebKit screenshots:** this headless WebKit draws no backdrop-filter at all; a bare test page shows the same. The WebKit shots below check layout only. ### Frame strips **Opening with a click** (1440, frames at 0, 40, 80, 120, 160, 220, 280, 360, 556 ms; from ⌘K it simply appears): ![strip-open-1440.png](https://git.kayg.org/attachments/f79508fc-829b-49f6-8671-3c49d86ec63e) **Opening on a phone** (390, the sheet rises on the sheet spring): ![strip-open-390.png](https://git.kayg.org/attachments/25677a84-c5bb-40e5-931b-b245863511d9) **Arrowing through results** (the frame right after each ↓: the preview has already swapped, nothing animates): ![strip-arrow-1440.png](https://git.kayg.org/attachments/5c6394dc-9f16-4490-8a32-806496565205) ### Desktop, Chromium **1440 light:** note (scrolled to the hit) · day · photo · PDF ![2-note-chromium-1440-light.png](https://git.kayg.org/attachments/54ebf614-913e-44ed-9fc5-6a0dab16ce05) ![3-day-chromium-1440-light.png](https://git.kayg.org/attachments/e09715b7-8f86-48c1-96be-68cfc4de200e) ![4-photo-chromium-1440-light.png](https://git.kayg.org/attachments/02c9dd79-df7b-46ff-8272-81f2dd6fe5ea) ![5-pdf-chromium-1440-light.png](https://git.kayg.org/attachments/3a64a21f-41bd-4cf3-a654-c02bdce23e5c) **1440 dark:** note (scrolled to the hit) · day · photo · PDF ![2-note-chromium-1440-dark.png](https://git.kayg.org/attachments/476221c6-f95b-4424-a7aa-0617045d850c) ![3-day-chromium-1440-dark.png](https://git.kayg.org/attachments/1db41c64-c4c7-4986-9e83-a1317db841d0) ![4-photo-chromium-1440-dark.png](https://git.kayg.org/attachments/fe2b4f47-e50c-4848-907c-f6170e05a98b) ![5-pdf-chromium-1440-dark.png](https://git.kayg.org/attachments/ea10af06-9968-483f-b835-12a60d4bfa7f) **900 light:** note (scrolled to the hit) · day · photo · PDF ![2-note-chromium-900-light.png](https://git.kayg.org/attachments/73a734d1-a40c-48d4-b0e4-55bd14e6251d) ![3-day-chromium-900-light.png](https://git.kayg.org/attachments/583d5653-54dd-4a16-afc8-0ebb068a08c0) ![4-photo-chromium-900-light.png](https://git.kayg.org/attachments/fd9867ed-79d7-4b02-ba00-d8fc9eda1bab) ![5-pdf-chromium-900-light.png](https://git.kayg.org/attachments/4d48356c-9b6d-47b5-98ba-7752badf4426) **900 dark:** note (scrolled to the hit) · day · photo · PDF ![2-note-chromium-900-dark.png](https://git.kayg.org/attachments/c0b0f3dd-8455-4426-99d5-d062b2b1482c) ![3-day-chromium-900-dark.png](https://git.kayg.org/attachments/ba3c1f61-509c-4c25-bed1-266675683141) ![4-photo-chromium-900-dark.png](https://git.kayg.org/attachments/47bf0935-2cfd-47dd-82ba-68443a998e2b) ![5-pdf-chromium-900-dark.png](https://git.kayg.org/attachments/9cdbf7a9-46a6-4947-a0d9-1673e3435294) **1440 light:** recent (nothing typed) · tags · filtered (past month, newest) · nothing found with a tag filter ![1-recent-chromium-1440-light.png](https://git.kayg.org/attachments/4106e87a-c4f4-475e-97d8-96e78d496932) ![6-tags-chromium-1440-light.png](https://git.kayg.org/attachments/2b9e9992-05ac-4682-aebc-b25bd26d15a8) ![7-filtered-chromium-1440-light.png](https://git.kayg.org/attachments/851a7e8a-1b57-4f45-baab-f5b3297b49b6) ![8-empty-chromium-1440-light.png](https://git.kayg.org/attachments/830e77ce-f8dc-4d01-b08d-9ae72105380f) ### Phone (full-screen sheet, results only) **390 light:** recent · run · #area with the travel tag set ![1-recent-chromium-390-light.png](https://git.kayg.org/attachments/6bceb43f-c905-4c3b-8cdd-c24d3feec983) ![2-run-chromium-390-light.png](https://git.kayg.org/attachments/5c689c98-6e88-4f0c-a9dc-38bd8f9eb528) ![6-tags-chromium-390-light.png](https://git.kayg.org/attachments/9cbee733-4b0d-4173-a0df-cd73ba5cfc23) **390 dark:** recent · run · #area with the travel tag set ![1-recent-chromium-390-dark.png](https://git.kayg.org/attachments/9fda04fd-b26a-41e3-b656-dcc5000929a6) ![2-run-chromium-390-dark.png](https://git.kayg.org/attachments/259b84d9-4850-4ca6-93d8-36a8ab558e67) ![6-tags-chromium-390-dark.png](https://git.kayg.org/attachments/5b7324e0-e6d0-47ee-95f5-67bf5154af3e) **320 light:** recent · run · #area with the travel tag set ![1-recent-chromium-320-light.png](https://git.kayg.org/attachments/a749f73e-647d-46fe-aaf6-860d874fe8d5) ![2-run-chromium-320-light.png](https://git.kayg.org/attachments/ab7d006b-20c9-420a-b079-20ca9ca32420) ![6-tags-chromium-320-light.png](https://git.kayg.org/attachments/47c21cef-3acc-4ec2-82ac-608e7069bad5) **320 dark:** recent · run · #area with the travel tag set ![1-recent-chromium-320-dark.png](https://git.kayg.org/attachments/bf96b206-0584-48f3-8972-989041cf8815) ![2-run-chromium-320-dark.png](https://git.kayg.org/attachments/febe720c-9541-4122-aaf6-fdcf31df97df) ![6-tags-chromium-320-dark.png](https://git.kayg.org/attachments/86e6d30b-d805-4e70-aa0c-c53b7004718a) ### WebKit Layout is the same; this headless WebKit build draws no backdrop-filter at all (a plain test page with a blurred box shows sharp text too), so the glass reads flat here. Please glance at it on the iPhone. ![2-note-webkit-1440-light.png](https://git.kayg.org/attachments/eece37e9-a679-4baf-8946-416be909cc95) ![4-photo-webkit-1440-dark.png](https://git.kayg.org/attachments/e638d76b-7d45-4ca9-b58f-17bba1eeba09) ![2-run-webkit-390-light.png](https://git.kayg.org/attachments/3c7e6ee1-46dc-4ae6-9fab-f9de79aae37f)
Author
Owner

kayg accepted S1–S6 (2026-10-14) as built in the mockup: ⌘K opens one panel; results on the left, preview on the right; kind chips under the input; filters bottom-left; Enter opens, ⌘Enter inserts a link; on a phone, results only with a long press for the preview.

**kayg accepted S1–S6 (2026-10-14)** as built in the mockup: ⌘K opens one panel; results on the left, preview on the right; kind chips under the input; filters bottom-left; Enter opens, ⌘Enter inserts a link; on a phone, results only with a long press for the preview.
Author
Owner

Round 2: more than a page of results

Long list: https://preview.calternal.cloud/search.html#/note/2026-10-13?list=journal&find=1&q=canal (76 results). Also run (77) and #area/health (84). Same page as before; I backed up the site directory first (site.bak-275b-202610141828) and the other mockups are untouched. PR #318 is stacked on #301.

What changed

  • Fixtures: three months of made-up days (July to early October) with runs along the canal, #area/health, #area/homelab, #area/reading and #area/journal lines, plus 12 notes (canal routes, half marathon plan, homelab backups, reading notes, weekly reviews), 18 more photos and 8 more PDFs (race registration, coach's plan, NAS and UPS manuals and more). Per query, all kinds together: canal 76, run 77, #area/health 84, read 38, homelab 34. They're generated from a fixed seed, so every load matches.
  • A real bug the long list exposed: the results column grew with its list instead of scrolling. On desktop the filter buttons were pushed off the bottom, and on the phone the sheet didn't scroll at all, so round 1 never actually showed rows passing under the filters. Now the list scrolls inside the panel: rows soften under the blur below the chips, and the filter buttons float over the list on their own blur, on desktop and on the phone.
  • Cap: the list cap rose from 60 to 100 rows. Windowing wasn't needed at this size; numbers below.
  • Links: opening a link while search is open now updates its words. Before, it kept the old ones.

Frame strips: scrolling under both blurs

Each strip is the list at 0, 18, 36, 60, 120, 240 and 600 px scrolled, then at the end.

1440 light (Chromium):
strip-scroll-chromium-1440-light.png

1440 dark:
strip-scroll-chromium-1440-dark.png

390 light (phone sheet, filters floating over the list):
strip-scroll-chromium-390-light.png

390 dark:
strip-scroll-chromium-390-dark.png

Close-up, 36 px in: the top row is going soft under the chips, and the last row is passing under the filter buttons.
scroll-chromium-1440-light-2-36px.png

Mid-list, full window: mid-chromium-1440-light.png mid-chromium-1440-dark.png mid-chromium-390-dark.png

WebKit (layout only; this headless WebKit draws no blur): strip-scroll-webkit-1440-light.png strip-scroll-webkit-390-light.png

Cost

Each keystroke (handler, update and layout, before paint), on "canal", "run" and "#area/health" with 76–100 rows, all in Chromium:

Median p90
Keystroke at 1440 16–22 ms 30–45 ms
Keystroke at 390 16–22 ms 24–45 ms

Scrolling, measured as time from a scroll step to the next frame:

Search list The app's own note list (?data=huge), no search
1440 about 170–230 ms 127 ms
390 about 83–94 ms 46 ms

This machine renders in software without a GPU, so every frame with glass is slow here. Switching off the panel's blurs takes the 1440 search list down to 127 ms, the same as the plain app. On a real GPU these are compositor work. I'd judge the scroll on your Mac and iPhone; if it stutters there, the bottom blur goes from three layers to two first.

## Round 2: more than a page of results **Long list:** https://preview.calternal.cloud/search.html#/note/2026-10-13?list=journal&find=1&q=canal (76 results). Also [run](https://preview.calternal.cloud/search.html#/note/2026-10-13?list=journal&find=1&q=run) (77) and [#area/health](https://preview.calternal.cloud/search.html#/note/2026-10-13?list=journal&find=1&q=%23area/health) (84). Same page as before; I backed up the site directory first (`site.bak-275b-202610141828`) and the other mockups are untouched. PR #318 is stacked on #301. **What changed** - **Fixtures:** three months of made-up days (July to early October) with runs along the canal, `#area/health`, `#area/homelab`, `#area/reading` and `#area/journal` lines, plus 12 notes (canal routes, half marathon plan, homelab backups, reading notes, weekly reviews), 18 more photos and 8 more PDFs (race registration, coach's plan, NAS and UPS manuals and more). Per query, all kinds together: canal 76, run 77, #area/health 84, read 38, homelab 34. They're generated from a fixed seed, so every load matches. - **A real bug the long list exposed:** the results column grew with its list instead of scrolling. On desktop the filter buttons were pushed off the bottom, and on the phone the sheet didn't scroll at all, so round 1 never actually showed rows passing under the filters. Now the list scrolls inside the panel: rows soften under the blur below the chips, and the filter buttons float over the list on their own blur, on desktop and on the phone. - **Cap:** the list cap rose from 60 to 100 rows. Windowing wasn't needed at this size; numbers below. - **Links:** opening a link while search is open now updates its words. Before, it kept the old ones. ### Frame strips: scrolling under both blurs Each strip is the list at 0, 18, 36, 60, 120, 240 and 600 px scrolled, then at the end. **1440 light (Chromium):** ![strip-scroll-chromium-1440-light.png](https://git.kayg.org/attachments/df38eaf3-f67f-4013-af89-bf84baf2317c) **1440 dark:** ![strip-scroll-chromium-1440-dark.png](https://git.kayg.org/attachments/d59c2f06-458d-4fe5-aa4b-483c062964da) **390 light (phone sheet, filters floating over the list):** ![strip-scroll-chromium-390-light.png](https://git.kayg.org/attachments/6397dcb6-40a6-4360-b08a-1b615f5aa8e1) **390 dark:** ![strip-scroll-chromium-390-dark.png](https://git.kayg.org/attachments/75a1e89b-98aa-4ef1-8ab9-ff413fef9e9a) **Close-up, 36 px in:** the top row is going soft under the chips, and the last row is passing under the filter buttons. ![scroll-chromium-1440-light-2-36px.png](https://git.kayg.org/attachments/18c6bb36-925f-40bd-9669-b1e23695ccff) **Mid-list, full window:** ![mid-chromium-1440-light.png](https://git.kayg.org/attachments/e259ff4f-0a8b-4d12-a51b-bf236c9e50d4) ![mid-chromium-1440-dark.png](https://git.kayg.org/attachments/1db5f5ce-9f0d-439b-bc78-a11e51fa33bd) ![mid-chromium-390-dark.png](https://git.kayg.org/attachments/a2e03351-fa49-4bf1-9afb-6a208dad35eb) **WebKit** (layout only; this headless WebKit draws no blur): ![strip-scroll-webkit-1440-light.png](https://git.kayg.org/attachments/af81c49e-8917-4dd9-b80e-efcbc7fdf72d) ![strip-scroll-webkit-390-light.png](https://git.kayg.org/attachments/9c12f8c7-3ac5-445b-8509-a286f8cf8a42) ### Cost Each keystroke (handler, update and layout, before paint), on "canal", "run" and "#area/health" with 76–100 rows, all in Chromium: | | Median | p90 | |---|---|---| | Keystroke at 1440 | 16–22 ms | 30–45 ms | | Keystroke at 390 | 16–22 ms | 24–45 ms | Scrolling, measured as time from a scroll step to the next frame: | | Search list | The app's own note list (`?data=huge`), no search | |---|---|---| | 1440 | about 170–230 ms | 127 ms | | 390 | about 83–94 ms | 46 ms | This machine renders in software without a GPU, so every frame with glass is slow here. Switching off the panel's blurs takes the 1440 search list down to 127 ms, the same as the plain app. On a real GPU these are compositor work. I'd judge the scroll on your Mac and iPhone; if it stutters there, the bottom blur goes from three layers to two first.
Author
Owner

Round 3: glass pills, a lighter panel, pull to search (#321, #320)

Try it: https://preview.calternal.cloud/search.html#/note/2026-10-13?list=journal&find=1&q=canal. On a phone, open https://preview.calternal.cloud/search.html#/list/journal and pull down from the top third of the screen. PR #330 (stacked on #318). I backed up the site first (site.bak-275c-202610141943), and the other mockups are untouched.

#321, the band is gone: the Date, Tag, Sort and Trash buttons (and Clear, now an ✕ pill) float straight over the list as glass pills. They all use one pill style on the shared floating tokens (--glass-float, --glass-float-filter, --glass-float-edge, --shadow-float); a set filter adds the accent's soft tint. On a phone, filters that aren't set show just their icon, with a tooltip and a spoken name like "Sort: newest first", so the row fits at 320–390.

#321, more transparent and less blurry, on one material (#319): the panel and the phone sheet now use only the floating tokens; the phone's own 72 px blur is gone. To make them lighter without a one-off, I changed the shared floating tokens themselves, in the mockup only: tint 0.30 / 0.36 (light / dark), blur 20 px, down from 0.40 / 0.42 and 44 px. On preview that changes the bar, sheets, menus and search together. I've proposed it for tokens.css on #319; production is untouched. The top blur under the input stays, because it still reads well.

#320, pull to search: it's a small gesture plugin (search/pull.svelte.ts) with a glass hint pill.

  • Feel: the hint comes down with your finger, with resistance. At 72 px it turns into "Let go to search" with an accent icon. Let go there and the sheet comes down from the top, the way you pulled. Let go earlier and the hint springs back up on the house spring.
  • When it won't start: it only starts when what's under your finger is scrolled to its top, or when you pull on a header. It never starts from the left edge (that's swipe back), or with words selected, or inside text you're editing. A mostly sideways move lets go at once.
  • iOS overscroll: it cancels touch moves only once the pull is clearly its own, so iOS's rubber band and pull-to-refresh never run under it. Before that point, nothing is cancelled.
  • Every screen: search now floats over Settings too, so the pull works there as well.
  • Checked with real touch events in Chromium. All of these pass:
    • a short pull springs back without opening;
    • a long pull opens search with the input focused;
    • a pull starting lower down does nothing;
    • a pull from the left edge does nothing;
    • a pull on a scrolled-down list scrolls it instead;
    • a pull on that list's header opens search;
    • pulls on a note and on Settings open search;
    • a pull with words selected does nothing.

Frame strips

Pull to search, while pulling (the hint arms at the 4th frame): strip-pull-long.png

Let go past the threshold: the sheet comes down from the top (0, 40, 80, 140, 220, 320, 500 ms): strip-pull-open.png

Let go early: it peeks, then springs back (pulling, then 0, 60, 140, 260 ms after letting go): strip-pull-short.png

Scrolling under the pills (1440 and 390): strip-scroll-1440.png strip-scroll-390.png

Screenshots (canal, a photo, filtered by #area/health and newest first)

1440 light: 1-canal-chromium-1440-light.png 2-photo-chromium-1440-light.png 3-filtered-chromium-1440-light.png

1440 dark: 1-canal-chromium-1440-dark.png 2-photo-chromium-1440-dark.png 3-filtered-chromium-1440-dark.png

900 light: 1-canal-chromium-900-light.png 2-photo-chromium-900-light.png 3-filtered-chromium-900-light.png

900 dark: 1-canal-chromium-900-dark.png 2-photo-chromium-900-dark.png 3-filtered-chromium-900-dark.png

390 light: 1-canal-chromium-390-light.png 2-photo-chromium-390-light.png 3-filtered-chromium-390-light.png

390 dark: 1-canal-chromium-390-dark.png 2-photo-chromium-390-dark.png 3-filtered-chromium-390-dark.png

320 light: 1-canal-chromium-320-light.png 2-photo-chromium-320-light.png 3-filtered-chromium-320-light.png

320 dark: 1-canal-chromium-320-dark.png 2-photo-chromium-320-dark.png 3-filtered-chromium-320-dark.png

Phone pill blur, close-up: the top two strips are 1× and 2× in an ordinary browser window, the bottom one is Chromium's phone emulation. The pills blur the list properly in the first two. In the phone emulation, text behind them reads through; that is the same headless artefact as the faint text on the phone sheet before. Please judge it on the iPhone. dpr-all.png

Cost, measured as the work per keystroke before paint in Chromium (this machine renders in software, so scroll numbers are relative):

Width Keystroke, median Scroll step to next frame
1440 24–40 ms about 200–230 ms
390 about 30 ms about 115 ms

The extra cost per pill is negligible next to the rest of the page here.

## Round 3: glass pills, a lighter panel, pull to search (#321, #320) **Try it:** https://preview.calternal.cloud/search.html#/note/2026-10-13?list=journal&find=1&q=canal. On a phone, open https://preview.calternal.cloud/search.html#/list/journal and pull down from the top third of the screen. PR #330 (stacked on #318). I backed up the site first (`site.bak-275c-202610141943`), and the other mockups are untouched. **#321, the band is gone:** the Date, Tag, Sort and Trash buttons (and Clear, now an ✕ pill) float straight over the list as glass pills. They all use one pill style on the shared floating tokens (`--glass-float`, `--glass-float-filter`, `--glass-float-edge`, `--shadow-float`); a set filter adds the accent's soft tint. On a phone, filters that aren't set show just their icon, with a tooltip and a spoken name like "Sort: newest first", so the row fits at 320–390. **#321, more transparent and less blurry, on one material (#319):** the panel and the phone sheet now use only the floating tokens; the phone's own 72 px blur is gone. To make them lighter without a one-off, I changed the shared floating tokens themselves, in the mockup only: tint 0.30 / 0.36 (light / dark), blur 20 px, down from 0.40 / 0.42 and 44 px. On preview that changes the bar, sheets, menus and search together. I've proposed it for tokens.css on #319; production is untouched. The top blur under the input stays, because it still reads well. **#320, pull to search:** it's a small gesture plugin (`search/pull.svelte.ts`) with a glass hint pill. - **Feel:** the hint comes down with your finger, with resistance. At 72 px it turns into "Let go to search" with an accent icon. Let go there and the sheet comes down from the top, the way you pulled. Let go earlier and the hint springs back up on the house spring. - **When it won't start:** it only starts when what's under your finger is scrolled to its top, or when you pull on a header. It never starts from the left edge (that's swipe back), or with words selected, or inside text you're editing. A mostly sideways move lets go at once. - **iOS overscroll:** it cancels touch moves only once the pull is clearly its own, so iOS's rubber band and pull-to-refresh never run under it. Before that point, nothing is cancelled. - **Every screen:** search now floats over Settings too, so the pull works there as well. - **Checked** with real touch events in Chromium. All of these pass: - a short pull springs back without opening; - a long pull opens search with the input focused; - a pull starting lower down does nothing; - a pull from the left edge does nothing; - a pull on a scrolled-down list scrolls it instead; - a pull on that list's header opens search; - pulls on a note and on Settings open search; - a pull with words selected does nothing. ### Frame strips **Pull to search, while pulling** (the hint arms at the 4th frame): ![strip-pull-long.png](https://git.kayg.org/attachments/8589f188-e889-44f3-a3ab-34d172ff2498) **Let go past the threshold:** the sheet comes down from the top (0, 40, 80, 140, 220, 320, 500 ms): ![strip-pull-open.png](https://git.kayg.org/attachments/56a548b1-b1d3-47ad-ae87-8f5691699b7e) **Let go early:** it peeks, then springs back (pulling, then 0, 60, 140, 260 ms after letting go): ![strip-pull-short.png](https://git.kayg.org/attachments/3a06db1b-806b-469c-94a6-22afe9bde7dd) **Scrolling under the pills** (1440 and 390): ![strip-scroll-1440.png](https://git.kayg.org/attachments/f4dc36cb-5a6b-40d4-ad16-0d371221c4a0) ![strip-scroll-390.png](https://git.kayg.org/attachments/87cb58b7-0ce0-424c-80f6-c16ddf98827e) ### Screenshots (canal, a photo, filtered by #area/health and newest first) **1440 light:** ![1-canal-chromium-1440-light.png](https://git.kayg.org/attachments/b37549f5-91c5-4ea5-aac8-a5ec98f2c740) ![2-photo-chromium-1440-light.png](https://git.kayg.org/attachments/a5d1fe62-c559-48b0-af17-9fc277e8d7f6) ![3-filtered-chromium-1440-light.png](https://git.kayg.org/attachments/b4697d17-93e9-44b8-a274-c0e988968d5b) **1440 dark:** ![1-canal-chromium-1440-dark.png](https://git.kayg.org/attachments/47d0ccf9-4042-48a4-b414-face3e09af2b) ![2-photo-chromium-1440-dark.png](https://git.kayg.org/attachments/3fa32ae4-19bb-4c00-9982-d502ff7575d6) ![3-filtered-chromium-1440-dark.png](https://git.kayg.org/attachments/66005dec-a3c2-4c9e-8c3d-a22341c26d69) **900 light:** ![1-canal-chromium-900-light.png](https://git.kayg.org/attachments/cf72e2a7-33eb-4930-9fe2-78c3b31bc624) ![2-photo-chromium-900-light.png](https://git.kayg.org/attachments/91b5bd7f-ae4d-4593-8ba8-d7fdc084d910) ![3-filtered-chromium-900-light.png](https://git.kayg.org/attachments/e2ff885f-4241-4c85-8fe9-dc38f0576ff0) **900 dark:** ![1-canal-chromium-900-dark.png](https://git.kayg.org/attachments/b2a0d5f8-1a61-40f6-8c26-7519d7845540) ![2-photo-chromium-900-dark.png](https://git.kayg.org/attachments/1472eb79-c0c4-41ab-8366-80787121bbbf) ![3-filtered-chromium-900-dark.png](https://git.kayg.org/attachments/1b849b11-dd01-4f9e-8005-8ce25f7ae239) **390 light:** ![1-canal-chromium-390-light.png](https://git.kayg.org/attachments/69039f8f-6bf7-4d23-b737-a345bb7097fb) ![2-photo-chromium-390-light.png](https://git.kayg.org/attachments/7031eccc-9f53-4944-9fac-96becd193b75) ![3-filtered-chromium-390-light.png](https://git.kayg.org/attachments/b172d61f-4edb-4b45-9bfc-abfed11602d1) **390 dark:** ![1-canal-chromium-390-dark.png](https://git.kayg.org/attachments/f7d58d19-5d8d-4edd-9a36-b0549061b3af) ![2-photo-chromium-390-dark.png](https://git.kayg.org/attachments/ef96441e-c414-4f73-8fed-041a62c5fb7a) ![3-filtered-chromium-390-dark.png](https://git.kayg.org/attachments/14786647-d77e-4a6b-a20a-ba0cd6382792) **320 light:** ![1-canal-chromium-320-light.png](https://git.kayg.org/attachments/fa517f26-90ed-4fd2-b866-f6f3abd2aa6d) ![2-photo-chromium-320-light.png](https://git.kayg.org/attachments/0653319f-8895-4d02-8849-f7c034014cf3) ![3-filtered-chromium-320-light.png](https://git.kayg.org/attachments/f12a3422-e0b7-48fd-9b0b-b8b42bd23558) **320 dark:** ![1-canal-chromium-320-dark.png](https://git.kayg.org/attachments/5e455d6d-7d7c-40ed-9330-b016a7c37cea) ![2-photo-chromium-320-dark.png](https://git.kayg.org/attachments/b1912196-11e8-4d36-87f8-518a34a66f73) ![3-filtered-chromium-320-dark.png](https://git.kayg.org/attachments/556d94e9-1663-49ac-a54d-196bfba3743c) **Phone pill blur, close-up:** the top two strips are 1× and 2× in an ordinary browser window, the bottom one is Chromium's phone emulation. The pills blur the list properly in the first two. In the phone emulation, text behind them reads through; that is the same headless artefact as the faint text on the phone sheet before. Please judge it on the iPhone. ![dpr-all.png](https://git.kayg.org/attachments/6c3467d1-b683-401e-ac44-fa683f9c97a6) **Cost**, measured as the work per keystroke before paint in Chromium (this machine renders in software, so scroll numbers are relative): | Width | Keystroke, median | Scroll step to next frame | |---|---|---| | 1440 | 24–40 ms | about 200–230 ms | | 390 | about 30 ms | about 115 ms | The extra cost per pill is negligible next to the rest of the page here.
Author
Owner

Polish: the list clears the pills; no keyboard motion in the chips

PR #331, stacked on #330. Deployed to https://preview.calternal.cloud/search.html#/note/2026-10-13?list=journal&find=1&q=canal (backup site.bak-275d-202610142000).

  • The list clears the pills: scrolled to the end, the last result now sits 24 px above the filter pills, so no text shows between them. I checked this at 1440, at 390, and at 390 with a 34 px home indicator, in Chromium and WebKit.
  • No motion from ⌘K: the chip capsule no longer fades in when search opens from ⌘K. In the shared selector, keyboard and outside changes now jump; only a pointer's click glides or fades. I added e2e checks for both.

End of the list: 1440 · 390 · 390 with a home indicator
end-chromium-1440.png end-chromium-390.png end-chromium-390-safe34.png

## Polish: the list clears the pills; no keyboard motion in the chips PR #331, stacked on #330. Deployed to https://preview.calternal.cloud/search.html#/note/2026-10-13?list=journal&find=1&q=canal (backup `site.bak-275d-202610142000`). - **The list clears the pills:** scrolled to the end, the last result now sits 24 px above the filter pills, so no text shows between them. I checked this at 1440, at 390, and at 390 with a 34 px home indicator, in Chromium and WebKit. - **No motion from ⌘K:** the chip capsule no longer fades in when search opens from ⌘K. In the shared selector, keyboard and outside changes now jump; only a pointer's click glides or fades. I added e2e checks for both. **End of the list:** 1440 · 390 · 390 with a home indicator ![end-chromium-1440.png](https://git.kayg.org/attachments/d79b925c-9d56-4d8e-a9fc-0b0c88182e5d) ![end-chromium-390.png](https://git.kayg.org/attachments/119e38ce-df92-48be-883e-639865ca6810) ![end-chromium-390-safe34.png](https://git.kayg.org/attachments/e1b04811-9c3f-4e66-89d3-0e1c04150ec0)
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#275
No description provided.