Links in new flakiness dashboard could benefit from tooltips
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 26 Oct 2013 05:50:03 +0000 (05:50 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 26 Oct 2013 05:50:03 +0000 (05:50 +0000)
https://bugs.webkit.org/show_bug.cgi?id=123381

Reviewed by Alexey Proskuryakov.

Add title content attribute on each hyperlink in the builder pane.

* public/index.html:
(TestResultsView._populateBuilderPane):

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

Websites/test-results/ChangeLog
Websites/test-results/public/index.html

index 69994c6..afaf21d 100644 (file)
@@ -1,5 +1,17 @@
 2013-10-25  Ryosuke Niwa  <rniwa@webkit.org>
 
+        Links in new flakiness dashboard could benefit from tooltips
+        https://bugs.webkit.org/show_bug.cgi?id=123381
+
+        Reviewed by Alexey Proskuryakov.
+
+        Add title content attribute on each hyperlink in the builder pane.
+
+        * public/index.html:
+        (TestResultsView._populateBuilderPane):
+
+2013-10-25  Ryosuke Niwa  <rniwa@webkit.org>
+
         Commit the right change.
 
         * public/index.html:
index b149b5c..fa6b99e 100644 (file)
@@ -392,8 +392,11 @@ TestResultsView._populateBuilderPane = function(builderName, failureType, result
         if (!results.length)
             return;
         self._createBuildsAndComputeSlownessOfResults(builderId, results);
-        var externalTestLink = element('a', {'class': 'externalTestLink', 'href': self._urlFromTest(test)});
-        var testName = element('a', {'href':'#'}, [test.name]);
+        var externalTestLink = element('a', {'class': 'externalTestLink',
+            'href': self._urlFromTest(test),
+            'title': 'View the source code of ' + test.name});
+        var testName = element('a', {'href':'#',
+            'title': 'Show results of ' + test.name + ' on all platforms'}, [test.name]);
         testName.onclick = function (event) {
             self.fetchTests([this.textContent]);
             event.preventDefault();