| Index: dashboard/dashboard/elements/alerts-page.html
|
| diff --git a/dashboard/dashboard/elements/alerts-page.html b/dashboard/dashboard/elements/alerts-page.html
|
| index b6b1e033bdb472a4c50be405054b2c840a1562be..c9577726d9f10e9fd53451fd11ef3209136c8116 100644
|
| --- a/dashboard/dashboard/elements/alerts-page.html
|
| +++ b/dashboard/dashboard/elements/alerts-page.html
|
| @@ -53,6 +53,10 @@ found in the LICENSE file.
|
| margin-right: 4px;
|
| }
|
|
|
| + .alert-togglebutton[active] {
|
| + background-color: #EEE;
|
| + }
|
| +
|
| #auto-triage-log {
|
| padding: 15px 0 15px 0;
|
| }
|
| @@ -90,11 +94,15 @@ found in the LICENSE file.
|
| <paper-button raised noink id="improvements-toggle"
|
| class="alert-togglebutton"
|
| active$="{{showingImprovements}}"
|
| - on-click="onToggleImprovements">Show improvements</paper-button>
|
| + on-click="onToggleImprovements">
|
| + {{getLabel(showingImprovements)}} improvements
|
| + </paper-button>
|
| <paper-button raised noink id="triaged-toggle"
|
| class="alert-togglebutton"
|
| active$="{{showingTriaged}}"
|
| - on-click="onToggleTriaged">Show triaged</paper-button>
|
| + on-click="onToggleTriaged">
|
| + {{getLabel(showingTriaged)}} triaged
|
| + </paper-button>
|
| </div>
|
| <template is="dom-if" if="{{anomalies.length}}">
|
| <h2>Performance alerts</h2>
|
| @@ -201,6 +209,8 @@ found in the LICENSE file.
|
|
|
| computeIsSingular: array => array.length === 1,
|
|
|
| + getLabel: toggleState => toggleState ? 'hide' : 'show',
|
| +
|
| onSheriffChange: function(e) {
|
| var sheriff = e.detail.item.label;
|
| if (!sheriff) {
|
|
|