Skip to content

Pixel-style drawer search: instant results, pill stays visible, calculator on - #32

Merged
denson9874 merged 3 commits into
mainfrom
claude/project-thread-r30ys7
Sep 29, 2026
Merged

denson9874 merged 3 commits into
mainfrom
claude/project-thread-r30ys7

Conversation

@denson9874

@denson9874 denson9874 commented Sep 29, 2026 •

Copy link
Copy Markdown
Owner

Requested by Daryl Denson · project thread

Before:

  • Typing in the app drawer search showed nothing until every result source had answered, including web suggestions, which go over the network.
  • Tapping the drawer search pill made its background fade away, so the bar seemed to disappear.
  • The calculator was off by default.
  • The search bar option "Pixel Search" opened the third-party app rk.android.app.pixelsearch, not Google's new Pixel Search.

After:

  • Apps, shortcuts and calculator results appear as you type. The other results fill in below as they arrive.
  • The pill stays visible while focused and while typing, as on Pixel.
  • The calculator is on by default.
  • The option reads "Pixel Search (third-party)". Expressive can't use Google's Pixel Search (com.google.android.apps.pixel.launcherconnector), because it only accepts Google-signed launchers.

How:

  • LawnchairLocalSearchAlgorithm seeds each provider flow with an empty result, so combine() emits right away. It computes the calculator and action rows once per query, and uses collectLatest.
  • AllAppsSearchInput keeps the pill background at full opacity and drops the focus tracking that only drove the fade.
  • The calculator preference default is flipped, and the provider label string is updated.

🤖 Generated with Claude Code

https://claude.ai/code/session_0165eR1KvBjhULmeV7mqDjbP

Google now ships its own Pixel Search app, which Expressive cannot use
because it only accepts Google-signed launchers. The existing provider
opens rk.android.app.pixelsearch, so name it accordingly.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0165eR1KvBjhULmeV7mqDjbP
@denson9874 denson9874 self-assigned this Sep 29, 2026
combine() waited for every provider, including network web suggestions,
before rendering anything, so typing in the drawer showed nothing until
suggestions arrived or timed out. Seed each provider with an empty result
so apps, shortcuts and calculations render immediately and the other
sections fill in as they arrive, like Pixel search. Also compute the
calculator and action rows once per query instead of per emission, and
turn the calculator on by default.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0165eR1KvBjhULmeV7mqDjbP
@denson9874 denson9874 changed the title Label the third-party Pixel Search provider as third-party Pixel-style drawer search: instant results, calculator on, clearer Pixel Search label Sep 29, 2026
The pill background faded to transparent as soon as the field gained focus
or had text, so the search bar seemed to disappear when tapped. Keep it
at full opacity, as Pixel does, and drop the focus tracking that only
drove that fade.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0165eR1KvBjhULmeV7mqDjbP
@denson9874 denson9874 changed the title Pixel-style drawer search: instant results, calculator on, clearer Pixel Search label Pixel-style drawer search: instant results, pill stays visible, calculator on Sep 29, 2026
@denson9874
denson9874 merged commit aa25011 into main Sep 29, 2026
8 checks passed
denson9874 added a commit that referenced this pull request Sep 30, 2026
Fix language reload, jumping search rows, Enter and calculator after #30/#32
denson9874 added a commit that referenced this pull request Sep 30, 2026
… fixes from public main (#29-#33)

Ports the android/ part of public main 938e9c6..73b6592 (PRs #29-#33):
- #29 BaseDepthController: skip redundant workspace blur clears and per-frame logging
- #30 stop reloading the whole model on every recreate (always-reload-icons default off)
- #31 stop re-binding prediction containers on every resume and state change
- #32 Pixel-style drawer search: instant results, calculator on by default, opaque
  focused pill, "Pixel Search (third-party)" label
- #33 locale change reloads the model; seeded provider results with session guard;
  Enter never opens a Play Store search while web suggestions load; calculator only
  answers real calculations (sqrt added)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants