Changeset 196787 in webkit
- Timestamp:
- Feb 18, 2016 4:51:46 PM (8 years ago)
- Location:
- trunk/Websites/perf.webkit.org
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Websites/perf.webkit.org/ChangeLog
r196768 r196787 1 2016-02-18 Ryosuke Niwa <rniwa@webkit.org> 2 3 Statistically significant A/B testing results should be color coded in details view 4 https://bugs.webkit.org/show_bug.cgi?id=154414 5 6 Reviewed by Chris Dumez. 7 8 Color code the statistically significant comparisions in TestGroupResultsTable as done in the analysis 9 results viewer. 10 11 * public/v3/components/customizable-test-group-form.js: 12 (CustomizableTestGroupForm.cssTemplate): Build fix after r196768. 13 * public/v3/components/test-group-results-table.js: 14 (TestGroupResultsTable.prototype.buildRowGroups): Add the status as a class name. 15 (TestGroupResultsTable.cssTemplate): Added styles to color-code statistically significant results. 16 1 17 2016-02-17 Ryosuke Niwa <rniwa@webkit.org> 2 18 -
trunk/Websites/perf.webkit.org/public/v3/components/customizable-test-group-form.js
r196768 r196787 130 130 static cssTemplate() 131 131 { 132 return super.cssTemplate() +`132 return ` 133 133 .customize-link { 134 134 color: #333; -
trunk/Websites/perf.webkit.org/public/v3/components/test-group-results-table.js
r196463 r196787 66 66 67 67 var row = new ResultsTableRow(`${startConfig} to ${endConfig}`, null); 68 row.setLabelForWholeRow(result.fullLabel); 68 var element = ComponentBase.createElement; 69 row.setLabelForWholeRow(element('span', {class: 'results-label ' + result.status}, result.fullLabel)); 69 70 comparisonRows.push(row); 70 71 } … … 75 76 return groups; 76 77 } 78 79 static cssTemplate() 80 { 81 return super.cssTemplate() + ` 82 .results-label { 83 padding: 0.1rem; 84 width: 100%; 85 height: 100%; 86 } 87 88 .results-label .failed { 89 color: rgb(128, 51, 128); 90 } 91 .results-label .unchanged { 92 color: rgb(128, 128, 128); 93 } 94 .results-label.worse { 95 color: rgb(255, 102, 102); 96 font-weight: bold; 97 } 98 .results-label.better { 99 color: rgb(102, 102, 255); 100 font-weight: bold; 101 } 102 `; 103 } 77 104 } 78 105
Note: See TracChangeset
for help on using the changeset viewer.