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.

Remove the avatars and read people by name again

28b19c7433fa6f6fe1ce826c443870385d856eb8 · Keenan Nemetz · 7d ago · parent 0fbeca85

Remove the avatars and read people by name again

The marks were harder to read than the names they replaced, so they are
gone: the account menu is back to the user icon, and the issue and
change tables, the profile, the directory and the contributor list all
say the account name.

This takes out everything that existed to draw a mark: the DiceBear
bundle and its licence file, the entry source that built it, the
Landscape style, avatar.go and its tests, the avatar template and its
three helper functions, the avatar palette in everforest.css and the
illustration rules in vole.css, and the app.js block that rendered and
re-rendered them on a theme change.

The tables keep the layout from the previous change — an author column
and an assignee column — because that part reads better with names too.
The assignee cells are the @name chips that already linked to the
filtered list.

`vole workflow run verify` passes, and the licence inventory is back to
one entry fewer.

server/web/templatefuncs.go +7−11

@@ -45,18 +45,14 @@ func (w *Web) templateFuncs() template.FuncMap {
45 45 "urlquery": url.QueryEscape,
46 46
47 47 // Chrome. `who` renders an account name and `user` the same name with the
48 // profile it belongs to. `avatar` is the face a name gets and `useravatar`
49 // that face linked to the profile; `nav` is the repository header's data,
48 // profile it belongs to; `nav` is the repository header's data,
50 49 // `icon`/`fileicon`/`fileclass` choose inline SVG and its colour.
51 "who": w.who,
52 "user": w.userRef,
53 "avatar": w.avatar,
54 "useravatar": w.avatarUser,
55 "avataronly": w.avatarOnly,
56 "nav": w.repoNav,
57 "icon": icon,
58 "fileicon": fileIcon,
59 "fileclass": lang.Class,
50 "who": w.who,
51 "user": w.userRef,
52 "nav": w.repoNav,
53 "icon": icon,
54 "fileicon": fileIcon,
55 "fileclass": lang.Class,
60 56
61 57 // People. The two pickers are the only widgets a page builds from data
62 58 // rather than a fragment.