diff options
| author | Zubin Mithra <zsm@chromium.org> | 2019-08-01 15:19:59 -0700 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-08-08 15:58:57 +0200 |
| commit | a02b5bcae215e4be280b1dac121948eaac1023e9 (patch) | |
| tree | 14c138adcb9a14b4f5cbdb949699f26f70733aab /pkg/html/generated.go | |
| parent | 657092bddfc75ab7a9eadb6947e13a83a539f3e5 (diff) | |
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
Diffstat (limited to 'pkg/html/generated.go')
| -rw-r--r-- | pkg/html/generated.go | 5 |
1 files changed, 2 insertions, 3 deletions
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); } |
