diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-08-25 14:37:41 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2023-08-25 14:18:46 +0000 |
| commit | b76bd413e84767248dd3b352c3f81f35389ae19a (patch) | |
| tree | 4129f971b441c8ba899be01acdbca95f92d6977c /dashboard/app/bug.html | |
| parent | 30e7d9a7611bac37a253e608f3cac37bbcefb8a1 (diff) | |
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.
Diffstat (limited to 'dashboard/app/bug.html')
| -rw-r--r-- | dashboard/app/bug.html | 13 |
1 files changed, 8 insertions, 5 deletions
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. <b>{{.Bug.Title}}</b><br><br> Status: {{if .Bug.ExternalLink}}<a href="{{.Bug.ExternalLink}}">{{.Bug.Status}}</a>{{else}}{{.Bug.Status}}{{end}}<br> - {{if .Labels}} - Labels: {{range .Labels}} - <span class="bug-label">{{link .Link .Name}}</span> - {{- end}} - <a href="https://github.com/google/syzkaller/blob/master/docs/syzbot.md#labels">(incorrect?)</a><br> + {{if .LabelGroups}} + {{range $group := .LabelGroups}} + {{$group.Name}}: {{range $group.Labels}} + <span class="bug-label">{{link .Link .Name}}</span> + {{- end}} + <br> + {{end}} + <a href="https://github.com/google/syzkaller/blob/master/docs/syzbot.md#labels">[Documentation on labels]</a><br> {{- end}} {{if .DebugSubsystems}} {{link .DebugSubsystems "[Debug subsystem assignment]"}}<br> |
