Skip to content

Commit

Permalink
Land the change that was supposed to be the part of r196463.
Browse files Browse the repository at this point in the history
* public/v3/pages/analysis-task-page.js:
(AnalysisTaskPage.prototype._didFetchTestGroups): Select the latest test group by default.



Canonical link: https://commits.webkit.org/172254@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@196465 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
rniwa committed Feb 12, 2016
1 parent d9aaf26 commit 1e4bb9a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Websites/perf.webkit.org/ChangeLog
@@ -1,3 +1,10 @@
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
Expand Down
Expand Up @@ -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);
Expand Down

0 comments on commit 1e4bb9a

Please sign in to comment.