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 --- dashboard/app/static/common.js | 1 - dashboard/app/static/style.css | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'dashboard/app/static') diff --git a/dashboard/app/static/common.js b/dashboard/app/static/common.js index f501d61da..6d03cf78d 100644 --- a/dashboard/app/static/common.js +++ b/dashboard/app/static/common.js @@ -41,7 +41,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); } diff --git a/dashboard/app/static/style.css b/dashboard/app/static/style.css index ee5ef5fe1..da32203bc 100644 --- a/dashboard/app/static/style.css +++ b/dashboard/app/static/style.css @@ -127,8 +127,8 @@ table td, table th { } .list_table .stat { - width: 50pt; - max-width: 50pt; + width: 55pt; + max-width: 55pt; font-family: monospace; text-align: right; } -- cgit mrf-deployment