Add try-bot button on perf analysis status page.
authordewei_zhu@apple.com <dewei_zhu@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Oct 2017 19:54:51 +0000 (19:54 +0000)
committerdewei_zhu@apple.com <dewei_zhu@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Oct 2017 19:54:51 +0000 (19:54 +0000)
https://bugs.webkit.org/show_bug.cgi?id=177995

Reviewed by Ryosuke Niwa.

Add 'Create' button on analysis status top-left corner to create trybot analysis task.

* public/v3/pages/analysis-category-toolbar.js:
(AnalysisCategoryToolbar.cssTemplate):

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

Websites/perf.webkit.org/ChangeLog
Websites/perf.webkit.org/public/v3/pages/analysis-category-toolbar.js

index 4bea1fd..1d757c3 100644 (file)
@@ -1,3 +1,15 @@
+2017-10-05  Dewei Zhu  <dewei_zhu@apple.com>
+
+        Add try-bot button on perf analysis status page.
+        https://bugs.webkit.org/show_bug.cgi?id=177995
+
+        Reviewed by Ryosuke Niwa.
+
+        Add 'Create' button on analysis status top-left corner to create trybot analysis task.
+
+        * public/v3/pages/analysis-category-toolbar.js:
+        (AnalysisCategoryToolbar.cssTemplate):
+
 2017-09-28  Dewei Zhu  <dewei_zhu@apple.com>
 
         Update syncing script to be able to build binary for commit set with owned commits.
index 7be4419..096d358 100644 (file)
@@ -71,12 +71,19 @@ class AnalysisCategoryToolbar extends ComponentBase {
                 position: absolute;
                 right: 1rem;
             }
+            .trybot-button {
+                position: absolute;
+                left: 1rem;
+            }
         `
     }
 
     static htmlTemplate()
     {
         return `
+            <ul class="buttoned-toolbar trybot-button">
+                <li><a href="#/analysis/task/create">Create</a></li>
+            </ul>
             <ul class="analysis-task-category-toolbar buttoned-toolbar"></ul>
             <input type="text">
             <ul class="buttoned-toolbar queue-toolbar">