Sort EWS bots in popovers
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Nov 2015 00:10:21 +0000 (00:10 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Nov 2015 00:10:21 +0000 (00:10 +0000)
https://bugs.webkit.org/show_bug.cgi?id=150782

Reviewed by Darin Adler.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueView.js:
(BubbleQueueView.prototype._popoverContentForBubbleQueue):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@191866 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueView.js
Tools/ChangeLog

index 5a5ce83..e1d44e4 100644 (file)
@@ -179,7 +179,7 @@ BubbleQueueView.prototype = {
         this._addBotsHeadingToPopover(queue, content);
         this._addDividerToPopover(content);
 
-        var bots = queue.bots;
+        var bots = queue.bots.slice(0).sort(function(a, b) { return (a.id < b.id) ? -1 : 1; });
         for (var i = 0, end = bots.length; i < end; ++i) {
             var bot = bots[i];
 
index dcb3688..879c009 100644 (file)
@@ -1,3 +1,13 @@
+2015-11-01  Alexey Proskuryakov  <ap@apple.com>
+
+        Sort EWS bots in popovers
+        https://bugs.webkit.org/show_bug.cgi?id=150782
+
+        Reviewed by Darin Adler.
+
+        * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueView.js:
+        (BubbleQueueView.prototype._popoverContentForBubbleQueue):
+
 2015-10-31  Filip Pizlo  <fpizlo@apple.com>
 
         B3::reduceStrength's DCE should be more agro and less wrong