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.

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/templates/components.html +2−3

@@ -28,7 +28,7 @@
28 28 </tbody>
29 29 </table>
30 30 {{else}}
31 <p class="muted">No commits yet.</p>
31 <div class="empty-state"><p>No commits yet.</p></div>
32 32 {{end}}
33 33 {{end}}
34 34
@@ -144,8 +144,7 @@
144 144 </details>
145 145 {{end}}
146 146 {{else}}
147 <p class="muted">{{.EmptyText}} From a clone of this repository:
148 <code>{{.Hint}}</code></p>
147 <div class="empty-state"><p>{{.EmptyText}}</p></div>
149 148 {{end}}
150 149
151 150 {{if .CanDiscuss}}