vole
Site
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software/vole.git
Self-hosted forge that lives in your Git repo.
Make releases and channels peer H1 sections
0bc4bc33836b89429fdbdb969083ad899407e927 · Keenan Nemetz · 15d ago · parent 1999687c
Make releases and channels peer H1 sections Both lists now have their own H1 header, subtitle, and action. Releases comes first with the New release button; Channels follows with the New channel button. The two are separated by a rule, and each keeps the compact header scale a repository page uses so neither reads as a subheading of the other. The count line is gone. "1 tag(s)" said nothing about what a release or a channel is, so the subtitles explain that instead: annotated tags with notes, files, and source archives; channels as a stable name for a release. The empty states stay region-level, and the test now pins the section order, both H1s, both subtitles, and which header owns which action. Closes 01M7QSTRTDSAAH7MW0YC1G1TD3.
server/web/static/vole.css +24
| @@ -1876,6 +1876,30 @@ details[open] > summary .tree-chevron { transform: rotate(90deg); } | |||
| 1876 | 1876 | .page-head h1 { font-size: calc(24.2px * var(--font-scale)); } | |
| 1877 | 1877 | } | |
| 1878 | 1878 | ||
| 1879 | /* The releases page is two H1 sections: the releases themselves and the | ||
| 1880 | channels naming them. Each keeps the compact header scale a repository page | ||
| 1881 | uses, so the two read as peers rather than as a page and a subheading. */ | ||
| 1882 | .release-head { | ||
| 1883 | align-items: flex-start; | ||
| 1884 | gap: 16px; | ||
| 1885 | padding: 0; | ||
| 1886 | margin-bottom: 12px; | ||
| 1887 | border-bottom: 0; | ||
| 1888 | } | ||
| 1889 | .release-head h1 { | ||
| 1890 | font-size: calc(19.8px * var(--font-scale)); | ||
| 1891 | line-height: 1.35; | ||
| 1892 | letter-spacing: -0.005em; | ||
| 1893 | margin: 0 0 3px; | ||
| 1894 | } | ||
| 1895 | .release-head h1:last-child { margin-bottom: 0; } | ||
| 1896 | .release-head .page-sub { font-size: calc(13.75px * var(--font-scale)); } | ||
| 1897 | .release-section + .release-section { | ||
| 1898 | margin-top: 28px; | ||
| 1899 | padding-top: 22px; | ||
| 1900 | border-top: 1px solid var(--border); | ||
| 1901 | } | ||
| 1902 | |||
| 1879 | 1903 | /* Secondary navigation inside a change: conversation and the review files. It is | |
| 1880 | 1904 | the same `.tabrow` and `.tabs` as every other row, pulled up against the | |
| 1881 | 1905 | request header. */ | |