Land the change that was supposed to be the part of r196463.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 Feb 2016 05:21:29 +0000 (05:21 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 Feb 2016 05:21:29 +0000 (05:21 +0000)
* public/v3/pages/analysis-task-page.js:
(AnalysisTaskPage.prototype._didFetchTestGroups): Select the latest test group by default.

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

Websites/perf.webkit.org/ChangeLog
Websites/perf.webkit.org/public/v3/pages/analysis-task-page.js

index 4014cae..f80dd2e 100644 (file)
@@ -1,5 +1,12 @@
 2016-02-11  Ryosuke Niwa  <rniwa@webkit.org>
 
+        Land the change that was supposed to be the part of r196463.
+
+        * public/v3/pages/analysis-task-page.js:
+        (AnalysisTaskPage.prototype._didFetchTestGroups): Select the latest test group by default.
+
+2016-02-11  Ryosuke Niwa  <rniwa@webkit.org>
+
         Refine v3 UI's analysis task page
         https://bugs.webkit.org/show_bug.cgi?id=154152
 
index 3eae727..b18eed4 100644 (file)
@@ -107,7 +107,7 @@ class AnalysisTaskPage extends PageWithHeading {
     _didFetchTestGroups(testGroups)
     {
         this._testGroups = testGroups.sort(function (a, b) { return +a.createdAt() - b.createdAt(); });
-        this._currentTestGroup = testGroups.length ? testGroups[0] : null;
+        this._currentTestGroup = testGroups.length ? testGroups[testGroups.length - 1] : null;
 
         this._analysisResultsViewer.setTestGroups(testGroups);
         this._testGroupResultsTable.setTestGroup(this._currentTestGroup);