Mockup search, round 2: a summer of fixtures, long lists scroll under both blurs (#275) #318

Closed
kayg wants to merge 0 commits from issue/275-search-more into dev
Owner

Round 2 of the #275 search mockup, stacked on #301 (it includes that commit). Mockup only.

kayg: "add more results please. I'd love to see how the search results look when there are more than one page's worth, particularly the progressive blur on the floating buttons and actions."

  • More fixtures (src/search/corpus-more.ts, fixed seed): three months of made-up life-log days (runs along the canal, #area/ tags, homelab, reading), 12 notes, 18 more photos, 8 more PDFs. Results per query: canal 76, run 77, #area/health 84, read 38, homelab 34.
  • Layout fix: the results column grew with its list instead of scrolling. On desktop the filter buttons fell off the bottom; on the phone the sheet didn't scroll. The body is now one row the panel's height, and the phone sheet is the screen's height. The list now scrolls under the top blur, and the filters float over it on theirs.
  • Cap: the list cap goes from 60 to 100 rows. Windowing isn't needed: per-keystroke work is about 20 ms median at 1440 in Chromium.
  • Links: opening a link while search is open now updates its words.

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

Evidence (scroll strips under both blurs, costs) is on #275.

🤖 Generated with Claude Code

https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T

Round 2 of the #275 search mockup, stacked on #301 (it includes that commit). Mockup only. kayg: "add more results please. I'd love to see how the search results look when there are more than one page's worth, particularly the progressive blur on the floating buttons and actions." - **More fixtures** (`src/search/corpus-more.ts`, fixed seed): three months of made-up life-log days (runs along the canal, `#area/` tags, homelab, reading), 12 notes, 18 more photos, 8 more PDFs. Results per query: canal 76, run 77, #area/health 84, read 38, homelab 34. - **Layout fix:** the results column grew with its list instead of scrolling. On desktop the filter buttons fell off the bottom; on the phone the sheet didn't scroll. The body is now one row the panel's height, and the phone sheet is the screen's height. The list now scrolls under the top blur, and the filters float over it on theirs. - **Cap:** the list cap goes from 60 to 100 rows. Windowing isn't needed: per-keystroke work is about 20 ms median at 1440 in Chromium. - **Links:** opening a link while search is open now updates its words. **Long list:** https://preview.calternal.cloud/search.html#/note/2026-10-13?list=journal&find=1&q=canal Evidence (scroll strips under both blurs, costs) is on #275. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T
Mockup: search surface, results left, preview right, filters bottom-left (#275)
Some checks failed
CI / web (pull_request) Failing after 23s
CI / server (pull_request) Successful in 23s
CI / rust (pull_request) Successful in 1m39s
5d24fc66b9
⌘K (or the search button by "Calternal") opens a large glass panel over the app: the input
across the top, kind chips under it, one ranked list on the left with a progressive blur under
the input and another under the filter buttons, and the selected result's preview on the right.
On a phone it is a full-screen sheet with results only; a long press shows the preview popover.

Search is built the plugin way: each kind (notes, journal, photos, files, tags) is a provider
that finds its results and brings its own preview. Previews: a note scrolled to the match with
every hit marked and ⌘G / ⇧⌘G to step through them, a day's log with that day's photos, a photo
with its caption on a soft blur, a PDF's first page, a tag's items.

Enter opens, ⌘Enter puts a link into the open note, Esc closes. Arrowing swaps the preview at
once and nothing the keyboard does animates; a click springs the panel in. Every state is a
link (?find=1&q=…&in=…&when=…&tag=…&sort=…&trash=1). Search-only fixtures (older #area/ days,
long project notes, seven photos, five PDFs) live in src/search/corpus.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T
Mockup search: a summer of fixtures, long lists scroll under both blurs (#275)
Some checks failed
CI / server (pull_request) Successful in 24s
CI / rust (pull_request) Successful in 1m34s
CI / web (pull_request) Failing after 17s
c0c75c4fd1
kayg wanted to see more than a page of results. Search's fixtures gain three months of made-up
life-log days (runs along the canal, #area/ tags, homelab, reading), a shelf of notes, eighteen
more photos and eight more PDFs, from a fixed seed. Common words now find 40-80 results: canal 76,
run 77, #area/health 84.

That exposed a layout bug: the results column grew with its list instead of scrolling, so the
filter buttons fell off the bottom (desktop) and the phone sheet never scrolled. The body is now
one row the panel's height, and the phone sheet is the screen's height, so the list scrolls under
the top blur and the filters float over it on theirs. The list cap rises to 100 rows. A link followed while
search is open (a story link) now updates its words too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T
Author
Owner

Landed in merge train #332.

Landed in merge train #332.
kayg closed this pull request 2026-10-14 18:04:34 +00:00
Some checks failed
CI / server (pull_request) Successful in 24s
CI / rust (pull_request) Successful in 1m34s
CI / web (pull_request) Failing after 17s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal!318
No description provided.