Sign in

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

vole
Clone

Read only, no credentials:

https://rodent.software/git/vole.git

Write over SSH with a registered key:

git clone ssh://git@0.0.0.0:2222/vole.git

A free and open-source forge that lives in your Git repo.

Tighten up the issue and change review pages

564acd4b6de233740f3c19e297c4655e8952d40c · Keenan Nemetz · 15d ago · parent a464f892

Tighten up the issue and change review pages

- Move contributor-branch CI approval from the Runs tab to the change
  request header, and return the allow form to that request.
- Put issue and change actions in the page header, right aligned with the
  title, instead of duplicating them in the sidebar.
- Drop sidebar details that repeated the header: state, author, age and
  reference. Keep labels, assignees, review base/head, approvals and checks.
- Consolidate approval status into one section and remove the empty-state
  line now covered by the count.
- Fix diff row spacing: keep pre-wrap on the code column only, so template
  whitespace in the gutter cells no longer creates blank lines.

Update the contributor CI test, the HTMX fragment expectations and the
documentation that named the Runs tab as the approval location.

server/web/static/vole.css +6−4

@@ -452,8 +452,6 @@ pre code { background: none; border: 0; padding: 0; font-size: inherit; }
452 452 .diff td {
453 453 border: 0;
454 454 padding: 1px 10px;
455 white-space: pre-wrap;
456 word-break: break-word;
457 455 vertical-align: top;
458 456 line-height: 19px;
459 457 }
@@ -465,8 +463,12 @@ pre code { background: none; border: 0; padding: 0; font-size: inherit; }
465 463 user-select: none;
466 464 border-right: 1px solid var(--border);
467 465 padding: 1px 8px;
466 white-space: nowrap;
468 467 }
469 .diff td.code { padding-left: 12px; }
468 /* Only the code column keeps spaces and wraps. The gutter cells hold the
469 template's own newlines and indentation; with pre-wrap those became blank
470 line boxes and every diff row looked padded. */
471 .diff td.code { padding-left: 12px; white-space: pre-wrap; word-break: break-word; }
470 472 .diff tr.add { background: var(--good-soft); }
471 473 .diff tr.add td.ln { color: var(--good); }
472 474 .diff tr.del { background: var(--bad-soft); }
@@ -1215,7 +1217,7 @@ h2 .icon { width: 13px; height: 13px; margin-right: 4px; vertical-align: -2px; c
1215 1217 form.htmx-request .label-tokens { opacity: 0.6; }
1216 1218
1217 1219 /* Line-anchored review comments: a small plus on each line opens the composer. */
1218 .diff td.comment { width: 1.7rem; padding: 0 3px; text-align: center; }
1220 .diff td.comment { width: 1.7rem; padding: 0 3px; text-align: center; white-space: nowrap; }
1219 1221 .diff td.comment a {
1220 1222 display: inline-flex;
1221 1223 align-items: center;