Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

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.

Keep channels above a paginated release list

77d3fde66af0594afabd4860317dbeb95d78558f · Keenan Nemetz · 15d ago · parent ef3a07d6

Keep channels above a paginated release list

Channels are few and releases can run to hundreds, so the channel list now sits
first and stays on every page while the tag list pages underneath it at the same
25 rows the issue, change, and run lists use. The pager keeps `?page=` on the
releases URL, and the first page keeps the bare URL.

The total is the tag count, so the lightweight note still describes the whole
repository, and the editable column is decided from every tag rather than the
current page so it does not disappear between pages.

The regression test builds 31 tags and one channel, then checks both pages: the
channel section stays above the releases, page one links to page two, and page
two links back to the bare URL.

Refs 01M7QSTRTDSAAH7MW0YC1G1TD3.

docs/releases.md +6−6

@@ -107,12 +107,12 @@ vole release channel list
107 107 vole release channel clear stable
108 108 ```
109 109
110 A maintainer signed in to the browser can create or move a channel from
111 **Releases → New channel** or the **edit** link on a channel row, and clear one
112 from that card. The form chooses from the repository's annotated releases rather
113 than accepting a tag as free text. It applies the same rules as the CLI: the name
114 is lowercase letters, digits, and dashes, the target must be annotated, and the
115 move is recorded in the audit log.
110 A maintainer signed in to the browser can create or move a channel from the
111 Channels section of the **Releases** tab, or by following the **edit** link on a
112 channel row, and clear one from that section. The form chooses from the
113 repository's annotated releases rather than accepting a tag as free text. It
114 applies the same rules as the CLI: the name is lowercase letters, digits, and
115 dashes, the target must be annotated, and the move is recorded in the audit log.
116 116
117 117 `/<repo>/channels/stable` redirects to the target release page.
118 118 `/<repo>/channels/stable/<path>` serves a file attached to that release: