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.
Unify the web UI's empty states
c7b9094f5cc912efc16e337123d32d51fe99e1d6 · Keenan Nemetz · 1d ago · parent 6ce635a8
Unify the web UI's empty states Use one .empty-state shape for lists and panes that have nothing to show, and keep .muted for the compact lines inside sidebars, cards, trees, and table cells so the page does not fill with dashed boxes. Drop the CLI command from an empty discussion: the composer is on the page, so the reader does not need a clone to comment. Remove empty-state links that repeated the filter row above them, including the merged/closed change links, the closed-issue link, the clear-filter buttons, the users' "Show everyone" link, and the signed-out home page's duplicate sign-in buttons.
server/web/comments.go +3−4
| @@ -254,7 +254,7 @@ func buildCommentSnippet(g *git.Repo, a *metadata.Anchor, cache map[string][]str | |||
| 254 | 254 | // threadView is the discussion section of an issue or a change request: a | |
| 255 | 255 | // heading, the threaded comments, and one composer. Both surfaces render the same | |
| 256 | 256 | // fragment; what differs is the id of the section, the URL the composer posts to, | |
| 257 | // the heading word, and the command the empty state suggests. | ||
| 257 | // and the heading word. | ||
| 258 | 258 | type threadView struct { | |
| 259 | 259 | Page | |
| 260 | 260 | Name string | |
| @@ -269,11 +269,10 @@ type threadView struct { | |||
| 269 | 269 | PushURL string | |
| 270 | 270 | // BackURL is where a "cancel this anchor" link returns. | |
| 271 | 271 | BackURL string | |
| 272 | // Title is the heading word; EmptyText and Hint are the empty state, where Hint | ||
| 273 | // is the command that writes the same thing from a clone. | ||
| 272 | // Title is the heading word and EmptyText is what the section says before the | ||
| 273 | // first comment. | ||
| 274 | 274 | Title string | |
| 275 | 275 | EmptyText string | |
| 276 | Hint string | ||
| 277 | 276 | // Topic is the issue or change request id the comments belong to. | |
| 278 | 277 | Topic string | |
| 279 | 278 | ||