From 644a6a79695f8fdc1897dce1d29a15f51fbf2b7f Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 13 Jan 2026 10:38:21 +0100 Subject: dashboard/app: make bug lists collapsible The bug lists on the main page are extremely long, it's very hard to navigate between them. Make bug lists collapsible. --- dashboard/app/templates/main.html | 8 +++++++- dashboard/app/templates/templates.html | 10 ---------- 2 files changed, 7 insertions(+), 11 deletions(-) (limited to 'dashboard') diff --git a/dashboard/app/templates/main.html b/dashboard/app/templates/main.html index 285070ba8..5425a47a4 100644 --- a/dashboard/app/templates/main.html +++ b/dashboard/app/templates/main.html @@ -19,7 +19,13 @@ Main page. {{end}} {{template "bug_filter" $.BugFilter}} {{range $group := $.Groups}} - {{template "bug_list" $group}} +
+ + {{$group.Caption}} ({{len $group.Bugs}}) + 🔗 + + {{template "bug_list" $group}} +
{{end}} diff --git a/dashboard/app/templates/templates.html b/dashboard/app/templates/templates.html index e469c18b3..a50197664 100644 --- a/dashboard/app/templates/templates.html +++ b/dashboard/app/templates/templates.html @@ -164,16 +164,6 @@ Use of this source code is governed by Apache 2 LICENSE that can be found in the {{if .}} {{if .Bugs}} - {{if $.Caption}} - {{if $.Fragment}} - - {{end}} {{if $.ShowNamespace}} -- cgit mrf-deployment
- {{else}} - - {{end}} - {{$.Caption}} ({{len $.Bugs}}): - {{if $.Fragment}}{{end}} -