search palette empty state: no recents, two search fields on results#619

opened1d agobyMMalek Gara-Hellal

the search palette opens to a mix of one "add to library" row and a list of app actions, with no recent searches, no recent plays and no hint of what to type.

where: apps/player/src/components/search-palette.tsx (ctrl/cmd+k, or the top bar search), 1440 px. the first thing a person sees is "add a song from a link or a name" then undo, redo, keyboard shortcuts, go to home. the placeholder is one long line of filter syntax ("artist: year:1990..1999 is:liked lyrics:") that gets cut on phone. results page /search shows a second search field right under the top bar search, two inputs for the same thing.

what good looks like: empty state shows recent searches and recently played first, actions below under a quieter heading; the placeholder is "search songs, albums, artists" with the filter syntax in a "tips" row you can open; one search input visible on the results page (the top bar one) or the page one reuses it.

not done yet (the palette slice in #644 only covers #628): recents ahead of the page actions, a quieter actions heading, the long placeholder line, and the second search field on the /search results page.