From c18d421fe714ca626b8be66d234e17b6160babb7 Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Sun, 29 Jan 2023 23:56:25 +0100 Subject: [PATCH 1/2] Remove label color from global issue filters The use of ui colors (red, green, etc) should be limited to actionable or dismissable entries. Before this commit, a green/red label was used to display issues count on each repository. This did not add any meaningful information to the list. Removing the label reduces ambiguity and makes the list easier to scan visually. --- templates/user/dashboard/issues.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl index 1a0271d8f0cc0..89301d139dd01 100644 --- a/templates/user/dashboard/issues.tmpl +++ b/templates/user/dashboard/issues.tmpl @@ -30,7 +30,7 @@
All -
{{CountFmt .TotalIssueCount}}
+ {{CountFmt .TotalIssueCount}}
{{range .Repos}} {{with $Repo := .}} @@ -49,7 +49,7 @@ {{- end -}} ]&sort={{$.SortType}}&state={{$.State}}&q={{$.Keyword}}" title="{{.FullName}}"> {{$Repo.FullName}} -
{{CountFmt (index $.Counts $Repo.ID)}}
+ {{CountFmt (index $.Counts $Repo.ID)}} {{end}} {{end}} From 7e1b4163aef6892c4501a593e52b7cdb6bf229a6 Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Mon, 30 Jan 2023 09:56:11 +0100 Subject: [PATCH 2/2] Update templates/user/dashboard/issues.tmpl Co-authored-by: delvh --- templates/user/dashboard/issues.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl index 89301d139dd01..4ff6772a72935 100644 --- a/templates/user/dashboard/issues.tmpl +++ b/templates/user/dashboard/issues.tmpl @@ -30,7 +30,7 @@
All - {{CountFmt .TotalIssueCount}} + {{CountFmt .TotalIssueCount}} {{range .Repos}} {{with $Repo := .}}