Search list clears its pills; the selector capsule never animates from the keyboard (#275) #331

Closed
kayg wants to merge 2 commits from issue/275-search-polish into dev
Owner

Two polish fixes on top of #330 (stacked on it).

  1. Search's list clears the floating pills. The list ends a pill, its gap to the edge (plus the home indicator on a phone) and 24 px of air further down. The last row now scrolls fully out from under the Date / Tag / Sort / Trash pills. One measure (--clear-of-pills) sets both the bottom padding and the keyboard's scroll padding.
  2. The selector capsule never animates from the keyboard (packages/ui). There's no fade on first appearance. Keyboard changes (arrows, Enter, Space) and outside changes (a link, another control) jump, and that includes reduced motion's short slide. Only a pointer's click glides or fades. Two new e2e checks are in selector.spec.ts.

Checks

  • Clear of the pills: the last row ends 24 px above the pills at 1440, at 390, and at 390 with a 34 px home indicator, in both Chromium and WebKit.
  • Search walk-through: "no animation from keyboard" now passes.
  • Selector e2e: 44 of 46 pass in Chromium and WebKit, including both new checks. The two failures are "labels never move when they turn bold", which fails the same way with this PR's Selector change taken out, so it isn't caused by this PR.

🤖 Generated with Claude Code

https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T

Two polish fixes on top of #330 (stacked on it). 1. **Search's list clears the floating pills.** The list ends a pill, its gap to the edge (plus the home indicator on a phone) and 24 px of air further down. The last row now scrolls fully out from under the Date / Tag / Sort / Trash pills. One measure (`--clear-of-pills`) sets both the bottom padding and the keyboard's scroll padding. 2. **The selector capsule never animates from the keyboard** (packages/ui). There's no fade on first appearance. Keyboard changes (arrows, Enter, Space) and outside changes (a link, another control) jump, and that includes reduced motion's short slide. Only a pointer's click glides or fades. Two new e2e checks are in `selector.spec.ts`. **Checks** - **Clear of the pills:** the last row ends 24 px above the pills at 1440, at 390, and at 390 with a 34 px home indicator, in both Chromium and WebKit. - **Search walk-through:** "no animation from keyboard" now passes. - **Selector e2e:** 44 of 46 pass in Chromium and WebKit, including both new checks. The two failures are "labels never move when they turn bold", which fails the same way with this PR's Selector change taken out, so it isn't caused by this PR. 🤖 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
Search list clears its pills; the selector capsule never animates from the keyboard (#275)
Some checks failed
CI / server (pull_request) Successful in 24s
CI / web (pull_request) Failing after 25s
CI / rust (pull_request) Successful in 1m45s
8abd41a897
- Search: the results list ends a pill, its gap to the edge (with the home indicator on a
  phone) and 24 px of air further down, so the last row always scrolls fully out from under the
  floating filter pills. One measure (--clear-of-pills) sets both the padding and the keyboard's
  scroll padding. Checked at 1440, 390 and 390 with a 34 px home indicator, Chromium and WebKit.
- Selector (packages/ui): the capsule no longer fades in on first appearance, and changes from
  the keyboard (arrows, Enter, Space) or from outside (a link, another control) jump without
  any fade or slide, reduced motion included. Only a pointer's click glides or fades. Two new
  e2e checks: nothing runs on first appearance or after keyboard choices, and a pointer's first
  choice does fade in.

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:09 +00:00
Some checks failed
CI / server (pull_request) Successful in 24s
CI / web (pull_request) Failing after 25s
CI / rust (pull_request) Successful in 1m45s

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