results.webkit.org: Move legend into sidebar
authorjbedard@apple.com <jbedard@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Sep 2019 21:52:16 +0000 (21:52 +0000)
committerjbedard@apple.com <jbedard@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Sep 2019 21:52:16 +0000 (21:52 +0000)
commit371bc5cd761f3b8efa3656e53ab7dbba3776bbe9
tree7c6ece8fe9b24459a946f3b831d7f07483110757
parentfe73f355d0b04d4c200662a56ba5631cfd8f4e9e
results.webkit.org: Move legend into sidebar
https://bugs.webkit.org/show_bug.cgi?id=201258

Rubber-stamped by Aakash Jain.

* resultsdbpy/resultsdbpy/view/static/js/timeline.js:
(Legend): Make the legend vertical instead of horizontal, add ToolTip to dots in the legend.
* resultsdbpy/resultsdbpy/view/static/js/tooltip.css: Add left and right tooltip arrows.
* resultsdbpy/resultsdbpy/view/static/js/tooltip.js:
(isPointInElement): Make bound check include borders.
(_ToolTip.toString): Add left/right cases.
(_ToolTip.prototype.setByElement): Set the tooltip location given an element.
* resultsdbpy/resultsdbpy/view/templates/search.html: Put the legend into the sidebar.
* resultsdbpy/resultsdbpy/view/templates/suite_results.html: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249443 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/resultsdbpy/resultsdbpy/view/static/css/timeline.css
Tools/resultsdbpy/resultsdbpy/view/static/css/tooltip.css
Tools/resultsdbpy/resultsdbpy/view/static/js/drawer.js
Tools/resultsdbpy/resultsdbpy/view/static/js/timeline.js
Tools/resultsdbpy/resultsdbpy/view/static/js/tooltip.js
Tools/resultsdbpy/resultsdbpy/view/static/library/css/webkit.css
Tools/resultsdbpy/resultsdbpy/view/templates/search.html
Tools/resultsdbpy/resultsdbpy/view/templates/suite_results.html