Move garden-o-matic progress feedback from non-modal dialogs to a status console...
authorojan@chromium.org <ojan@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Mar 2012 00:36:24 +0000 (00:36 +0000)
committerojan@chromium.org <ojan@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Mar 2012 00:36:24 +0000 (00:36 +0000)
commit66c605469bfbfca9578ab8706cc5016ec5822242
tree984f00da0aee72e0d307aa2f3a8a984607374a84
parent80ab0fbd4f87bd2a948c85bb96d251512a394161
Move garden-o-matic progress feedback from non-modal dialogs to a status console anchored to the bottom of the page
https://bugs.webkit.org/show_bug.cgi?id=81983

Reviewed by Adam Barth.

The dialogs get in the way if you are doing multiple rebaselines. Also,
a number of people didn't realize that you could do multiple rebaselines
in parallel. A non-modal dialog is just confusing.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
If we're only rebaselining 1 test, show the test name in the initial message. Otherwise,
show the number of tests being rebaselined.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
Turn MessageBox into StatusArea. StatusArea is a singleton and messages in the StatusArea are grouped
by ID. That way, the results of each UI action (e.g. clicking rebaseline) are grouped together
into a single area.

Once addFinalMessage has been called for all IDs, we show the close button. Clicking close
also serves to clear all teh content in the StatusArea.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/results.css:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@111793 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/onebar.css
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/results.css
Tools/ChangeLog