From 703f643f91e8becd2495f1f102346a0b7fa63867 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Mon, 24 Apr 2023 19:52:41 +0200 Subject: dashboard: support bug labels Let bug labels come in three flavours: 1) Bug labels with multiple values (e.g. `subsystems`). 2) Bug labels with only one value (e.g. `prio`). 3) Flags. Let users configure bug labels via email by issuing the following commands: #syz set subsystems: abc, def #syz set no-reminders #syz unset no-reminders Also let users set tags for invididual bugs in reported bug lists: #syz set <1> some-tag --- dashboard/app/bug.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'dashboard/app/bug.html') diff --git a/dashboard/app/bug.html b/dashboard/app/bug.html index 141059358..fedcb0ff1 100644 --- a/dashboard/app/bug.html +++ b/dashboard/app/bug.html @@ -16,11 +16,11 @@ Page with details about a single bug. {{.Bug.Title}}

Status: {{if .Bug.ExternalLink}}{{.Bug.Status}}{{else}}{{.Bug.Status}}{{end}}
- {{if .Subsystems}} - Subsystems: {{range .Subsystems}} - {{link .Link .Name}} + {{if .Labels}} + Labels: {{range .Labels}} + {{link .Link .Name}} {{- end}} - (incorrect?)
+ (incorrect?)
{{- end}} {{if .Bug.CreditEmail}} Reported-by: {{.Bug.CreditEmail}}
-- cgit mrf-deployment