mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-10-05 19:28:25 +00:00
Typing `from:` or `to:` in the spotlight opened nothing — the field was constructed without `people`, `displayName` or `onPeopleQuery`, so the picker had no rows to offer and a key had to be pasted in as a raw npub. It now builds the same UserSearchEngine the full search screen does, with the same DesktopRelayUserSearchDelegate behind it: cache hits first, then whatever the account's search relays answer with. The built-in `people` list is used rather than the `peoplePicker` slot, because that path is the keyboard-walkable one — arrows walk the rows and Enter takes the highlighted one, which is what a spotlight is driven by. `displayName` also gives finished key chips a name instead of a short npub. The input row switches from centre to top alignment. The picker opens below the field inside the same column, so centring would drag the leading search icon halfway down it; with no picker up the two are the same height and the resting layout is unchanged. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017yKjw2WqwZpSzsqcYZMnkV