mirror of
https://github.com/runbear-io/beardrive.git
synced 2026-08-25 08:08:08 +02:00
A history row was already an address for the version it describes — BEA-7 made clicking one open that version, and the pinned file page has had "Download this version" since. But the row is a bare `div role="button"` with no visible affordance, so a reviewer who dumps every <button> and <a> on the page finds neither, and concludes recovery from a bad edit is impossible. Undiscoverable is close enough to absent. Every content-bearing row now carries "Open this version" and "Download", sitting on the same line as "show changes". No API work — /blob?sha= has always served the bytes. `apiBase` becomes HistoryRow's own prop rather than riding inside the optional `diff`, which is per-file-only: without that the two feeds that pass no diff (project/subtree, and the folder's Recent changes) could not build a download URL at all. Neither control claims aria-expanded — only the note and the diff really expand anything — and both stop click and keydown from reaching the row so acting on a version never doubles as navigating it. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>