From b76bd413e84767248dd3b352c3f81f35389ae19a Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Fri, 25 Aug 2023 14:37:41 +0200 Subject: dashboard: display labels in groups Display subsystems and bug presence labels separately from other labels as these are most important. Also, displaying subsystems together with other labels confuses users over our #syz set interface. --- dashboard/app/bug.html | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'dashboard/app/bug.html') diff --git a/dashboard/app/bug.html b/dashboard/app/bug.html index d21af6548..de7957cf5 100644 --- a/dashboard/app/bug.html +++ b/dashboard/app/bug.html @@ -16,11 +16,14 @@ Page with details about a single bug. {{.Bug.Title}}

Status: {{if .Bug.ExternalLink}}{{.Bug.Status}}{{else}}{{.Bug.Status}}{{end}}
- {{if .Labels}} - Labels: {{range .Labels}} - {{link .Link .Name}} - {{- end}} - (incorrect?)
+ {{if .LabelGroups}} + {{range $group := .LabelGroups}} + {{$group.Name}}: {{range $group.Labels}} + {{link .Link .Name}} + {{- end}} +
+ {{end}} + [Documentation on labels]
{{- end}} {{if .DebugSubsystems}} {{link .DebugSubsystems "[Debug subsystem assignment]"}}
-- cgit mrf-deployment