Stop preselecting a search match, and make the Database jump look like a jump

#8
by lvwerra HF Staff - opened
Hugging Face Biology Research org

Two small fixes.

Search no longer preselects

Preselecting the closest match highlighted a row the chart had not moved to, which read as a stale chart. Nothing is selected now: the list follows what is typed, picking a row opens it, and Enter still takes the closest match. This also removes a dead click, since re-selecting an already-selected radio fires no event at all.

The Database jump looks like a jump

It was styled like the quiet controls around it. It is now a filled dark green button across the full width, and it names its target in quotes with a diagonal arrow โ€” Show database results for 'Scyphozoa' โ†— โ€” so it reads as leaving for the other view rather than as another control on this one. The disabled state, for a group with no annotated assemblies, stays muted.

๐Ÿค– Generated with Claude Code

lvwerra changed pull request status to merged

Sign up or log in to comment