From a02b5bcae215e4be280b1dac121948eaac1023e9 Mon Sep 17 00:00:00 2001 From: Zubin Mithra Date: Thu, 1 Aug 2019 15:19:59 -0700 Subject: dashboard/app: allow main UI to show bisect results * Modify uiBug type. Rename BisectCause to BisectCauseDone. Introduce BisectFixDone. * Modify createUIBug() and MergeUIBug() to set the above fields appropriately. * Modify bug_list to display the bisection status; remove yesSort() as it is not used anymore. Adjust ".list_table .stat" to appropriate width. * Add TestBugBisectionStatus() to check bisection status on main page. * Add file from running "make generate": pkg/html/generated.go --- pkg/html/generated.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'pkg/html/generated.go') diff --git a/pkg/html/generated.go b/pkg/html/generated.go index 3b11f3b83..6826b4124 100644 --- a/pkg/html/generated.go +++ b/pkg/html/generated.go @@ -130,8 +130,8 @@ table td, table th { } .list_table .stat { - width: 50pt; - max-width: 50pt; + width: 55pt; + max-width: 55pt; font-family: monospace; text-align: right; } @@ -221,7 +221,6 @@ function isSorted(values) { function textSort(v) { return v.toLowerCase(); } function numSort(v) { return -parseInt(v); } function floatSort(v) { return -parseFloat(v); } -function yesSort(v) { return v == "yes" ? 0 : 1; } function reproSort(v) { return v == "C" ? 0 : v == "syz" ? 1 : 2; } function patchedSort(v) { return v == "" ? -1 : parseInt(v); } -- cgit mrf-deployment