Mockup search, round 3: glass pills, one lighter material, pull to search (#275, #320, #321) #330

Closed
kayg wants to merge 1 commit from issue/275-search-round3 into dev
Owner

Round 3 of the search mockup (#275), for kayg's feedback in #321 and #320. Mockup only; production is unchanged. Stacked on #318 and #301.

  • #321, no band: the bottom progressive-blur band is gone. Date, Tag, Sort, Trash and Clear are glass pills on the shared floating tokens (--glass-float, --glass-float-filter, --glass-float-edge), floating straight over the list, all in one pill style. On a phone, filters that aren't set show only their icon so the row fits at 320–390.
  • #321 / #319, one lighter material: the panel and the phone sheet use only the floating tokens; the one-off 72 px phone blur is gone. apps/mockup/src/styles/glass.css tries the lighter material on those shared tokens, mockup-wide: tint 0.30 light / 0.36 dark and blur 20 px, down from 0.40 / 0.42 and 44 px. This is proposed for tokens.css on #319, not a one-off. The top blur under the input stays; it still reads well.
  • #320, pull to search: a small gesture plugin (search/pull.svelte.ts) and its hint pill (PullHint.svelte), on every phone screen.

Preview: https://preview.calternal.cloud/search.html#/note/2026-10-13?list=journal&find=1&q=canal. For pull to search, open https://preview.calternal.cloud/search.html#/list/journal on a phone and pull down from the top third.

🤖 Generated with Claude Code

https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T

Round 3 of the search mockup (#275), for kayg's feedback in #321 and #320. Mockup only; production is unchanged. Stacked on #318 and #301. - **#321, no band:** the bottom progressive-blur band is gone. Date, Tag, Sort, Trash and Clear are glass pills on the shared floating tokens (`--glass-float`, `--glass-float-filter`, `--glass-float-edge`), floating straight over the list, all in one pill style. On a phone, filters that aren't set show only their icon so the row fits at 320–390. - **#321 / #319, one lighter material:** the panel and the phone sheet use only the floating tokens; the one-off 72 px phone blur is gone. `apps/mockup/src/styles/glass.css` tries the lighter material on those shared tokens, mockup-wide: tint 0.30 light / 0.36 dark and blur 20 px, down from 0.40 / 0.42 and 44 px. This is proposed for `tokens.css` on #319, not a one-off. The top blur under the input stays; it still reads well. - **#320, pull to search:** a small gesture plugin (`search/pull.svelte.ts`) and its hint pill (`PullHint.svelte`), on every phone screen. Preview: https://preview.calternal.cloud/search.html#/note/2026-10-13?list=journal&find=1&q=canal. For pull to search, open https://preview.calternal.cloud/search.html#/list/journal on a phone and pull down from the top third. 🤖 Generated with [Claude Code](https://claude.com/claude-code) 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
Mockup search, round 3: glass pills, one lighter material, pull to search (#275, #320, #321)
Some checks failed
CI / server (pull_request) Successful in 23s
CI / web (pull_request) Failing after 25s
CI / rust (pull_request) Successful in 1m57s
e8233d6db9
kayg on round 2: the band behind the filter buttons "looks bad", and search should be "more
transparent and less blurry so more content can be seen", on one material shared with the bar,
sheets and menus (#319).

- The bottom progressive-blur band is gone. Date, Tag, Sort, Trash and Clear are glass pills on
  the shared floating tokens (--glass-float, --glass-float-filter, --glass-float-edge), floating
  straight over the list. On a phone, unset filters show just their icon (with a tooltip and a
  name that says the setting) so the row fits; Clear becomes an icon pill.
- The panel and the phone sheet use only the floating tokens (no more one-off 72 px blur).
- styles/glass.css tries the lighter material on those shared tokens, mockup-wide: tint 0.30 /
  0.36 (light / dark) and blur 20 px, down from 0.40 / 0.42 and 44 px. Proposed for tokens.css
  on #319; production is unchanged.
- Pull to search (#320): a small gesture plugin (search/pull.svelte.ts) plus its hint pill.
  A downward pull from the top third of any phone screen follows the finger with resistance,
  arms at 72 px ("Let go to search"), opens the sheet coming down from the top, and springs back
  if let go early. It starts only when what's under the finger is at its top (or on a header),
  never from the left edge, never with words selected or inside text being edited, and cancels
  touch moves only once the pull is its own, so iOS overscroll can't fight it.
- Search now floats over Settings too, so the pull works on every screen.

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

Closing: folded into search round 4 (#416, branch issue/399-search-r4, which merges this branch) and round 5 after it. Branch cleanup, 2026-10-15.

Closing: folded into search round 4 (#416, branch issue/399-search-r4, which merges this branch) and round 5 after it. Branch cleanup, 2026-10-15.
kayg closed this pull request 2026-10-15 08:36:07 +00:00
Some checks failed
CI / server (pull_request) Successful in 23s
CI / web (pull_request) Failing after 25s
CI / rust (pull_request) Successful in 1m57s

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!330
No description provided.