Changeset 173008 in webkit
- Timestamp:
- Aug 27, 2014, 10:12:45 AM (11 years ago)
- Location:
- trunk/Tools
- Files:
-
- 10 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Initialization.js
r162847 r173008 27 27 var buildbots = [ new WebKitBuildbot ]; 28 28 var webkitTrac = new Trac("http://trac.webkit.org/"); 29 var bugzilla = new Bugzilla; 30 var ews = new EWS; 31 var testHistory = new TestHistory; 29 if (typeof Bugzilla !== "undefined") 30 var bugzilla = new Bugzilla; 31 if (typeof EWS !== "undefined") 32 var ews = new EWS; 33 if (typeof TestHistory !== "undefined") 34 var testHistory = new TestHistory; -
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Settings.js
r161360 r173008 80 80 toggleSettingsDisplay: function() 81 81 { 82 if (!document.body.classList.contains("settings-visible")) 83 this.fireSettingListener("enteredSettings"); 82 84 document.body.classList.toggle("settings-visible"); 83 85 }, -
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Utilities.js
r172941 r173008 167 167 }; 168 168 169 Array.prototype.average = function() 170 { 171 var sum = 0; 172 var count = this.length; 173 for (var i = 0; i < count; ++i) 174 sum += this[i]; 175 return sum / count; 176 }; 177 178 Array.prototype.median = function() 179 { 180 var array = this.slice(); // Make a copy to avoid modifying the object. 181 array.sort(function(a, b) { return a - b; }); 182 183 var half = Math.floor(array.length / 2); 184 185 if (array.length % 2) 186 return array[half]; 187 else 188 return (array[half - 1] + array[half]) / 2; 189 }; 190 169 191 String.prototype.contains = function(substring) 170 192 { -
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css
r161261 r173008 70 70 71 71 .settings { 72 position: absolute;72 position: fixed; 73 73 top: 5px; 74 74 left: 5px; -
trunk/Tools/ChangeLog
r173001 r173008 1 2014-08-27 Alexey Proskuryakov <ap@apple.com> 2 3 build.webkit.org/dashboard: Add a metrics page with overall bot performance results 4 https://bugs.webkit.org/show_bug.cgi?id=136196 5 6 Reviewed by Timothy Hatcher. 7 8 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/External: Added. 9 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/External/daterangepicker.css: Added. 10 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/External/jquery-1.11.1.min.js: Added. 11 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/External/jquery.daterangepicker.js: Added. 12 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/External/moment.min.js: Added. 13 A date range picker control with dependencies. 14 There are a few modifications from upstream at <https://github.com/longbill/jquery-date-range-picker>: 15 - Fixed a bug where selected dates were not at midnight the first time a range was chosen 16 (it didn't happen again upon re-opening the picker). 17 - Made made style tweaks to match Dashboard UI. 18 19 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Initialization.js: 20 Don't create objects that are not needed by the given app, and thus are not loaded at all. 21 22 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsAnalyzer.js: Added. 23 Math to count all the things. Only supports open source tree and trunk at the moment, 24 but written with internal tree and branches in mind. 25 26 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsMain.js: Added. 27 Like dashboard Main.js, draws the UI and creates all necessary objects. 28 29 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsView.js: Added. 30 A view for table cells. 31 32 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Settings.js: 33 (Settings.prototype.toggleSettingsDisplay): Added an event for entering settings. 34 Metrics page has individual platforms initially scrolled away form the view, so 35 it needs to scroll down to reveal what's being configured. 36 37 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Utilities.js: 38 Added Array.prototype.average and Array.prototype.median. 39 40 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css: 41 Made gear icon fixed instead of absolute, so that it's visible on metrics page when 42 in settings mode. 43 44 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Metrics.css: 45 Additional style rules. 46 47 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/metrics.html: 48 The metrics page. 49 1 50 2014-08-27 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 51
Note:
See TracChangeset
for help on using the changeset viewer.