Search with a preview while I type #24

Merged
squid merged 1 commit from feat/search-preview into main 2026-11-16 10:43:08 +00:00
Owner

Closes #23

A search box on top of every page (not on the search page, and not on a phone, which has the Search tab) opens a list while I type: up to 3 artists, 3 albums and 5 songs, each with its picture. A click opens an artist or an album and plays a song. The arrows move through the list, Enter opens what is marked or, with nothing marked, the page with all the results, and Escape closes it. The last row, always in sight, opens all the results.

The pictures of artists are not asked for: asking makes the server look the artist up at a provider, which a list of whatever matched a few letters should not do.

Checked: 1170 web tests (17 new), tsc, oxlint, build, and the real binary in Chromium (the list, the arrows, Enter, no request for artist pictures, no box on the search page or on a phone).

Closes #23 A search box on top of every page (not on the search page, and not on a phone, which has the Search tab) opens a list while I type: up to 3 artists, 3 albums and 5 songs, each with its picture. A click opens an artist or an album and plays a song. The arrows move through the list, Enter opens what is marked or, with nothing marked, the page with all the results, and Escape closes it. The last row, always in sight, opens all the results. The pictures of artists are not asked for: asking makes the server look the artist up at a provider, which a list of whatever matched a few letters should not do. Checked: 1170 web tests (17 new), tsc, oxlint, build, and the real binary in Chromium (the list, the arrows, Enter, no request for artist pictures, no box on the search page or on a phone).
A box on top of every page except the search (on a phone the Search tab does
this) opens a list while the person types: up to 3 artists, 3 albums and 5 songs,
each with its picture. A click opens an artist or an album and plays a song; the
arrows move through the list, Enter opens what is marked, or with nothing marked
the page with all the results, and Escape closes it. The last row, always in
sight, opens all the results.

The pictures of artists are not asked for: asking makes the server look the
artist up at a provider, which a list of whatever matched a few letters should
not do.
squid merged commit e77b014437 into main 2026-11-16 10:43:08 +00:00
Sign in to join this conversation.
No reviewers
No labels
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
squid/sonda!24
No description provided.