Declutter the Database tab
#12
by lvwerra HF Staff - opened
The tab opened with an eyebrow, a page title and a subtitle repeating the tab name, then three numbered sections each with a large serif title and its own subtitle, a stats box, a standing hint, an empty table with raw column names, a dropdown repeating that table, and a 380px empty file box.
Now:
- Two small section titles, "Find an accession" and "Coding landscape", in place of the page header and the numbered 01/02/03 sections.
- Search is a single bar with the example chips under it. No label box, and the button lines up with the input.
- The results table is hidden until a search returns rows, uses readable headers (Assembly, Record, Organism, Division, Start, End, Segment), and a click on a row loads that segment. That replaces the "Segment to explore" dropdown.
- The viewer controls sit in one toolbar with short labels. Download is a small button there: preparing the file reveals a download button instead of an empty file box.
- The caption under the plot is one line, and the mean line now has a legend entry.
- The index statistics and scope note moved into "Browse the index and its sources", next to the provenance they belong with.
- The page footer is gone; its bucket link already lives in that disclosure.
The viewer stays visible before a segment is picked, as asked.
Checked in the browser: search shows the table, clicking the JBPJTW010000308.1 row moves the region from 0โ66,123 to 0โ316,820, preparing a download reveals the download button, and the atlas "Show database results" jump still lands on a searched accession. Thirty-six tests pass.
๐ค Generated with Claude Code
lvwerra changed pull request status to merged