You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Label display improvements for scopes and consistency
* Show scoped label as "Scope > Name", with scope prefix slightly dimmed
* Show label with background color also in assignment and filter menus for
consistency, in particular for scoped label rendering.
* Tweak light/dark color text detection slight, to make it white on some
background colors that I found otherwise hard to read.
* Don't use exactly black/white text colors to look a bit nicer
* Show label in labels editing list the same size as elsewhere, and without
tag icon. To give a better preview of how it will actually look.
* Increase height of menus to show more labels (and projects, milestones, ..).
Showing only 3-4 labels as before leads to a lot of scrolling.
* Refactor code so label rendering is done in a single helper function.
class="ui label item {{if not .label.IsChecked}}hide{{end}}"
2
+
class="item {{if not .label.IsChecked}}hide{{end}}"
3
3
id="label_{{.label.ID}}"
4
4
href="{{.root.RepoLink}}/{{if or .root.IsPull .root.Issue.IsPull}}pulls{{else}}issues{{end}}?labels={{.label.ID}}"{{/* FIXME: use .root.Issue.Link or create .root.Link */}}
0 commit comments