This is an automated email from the ASF dual-hosted git repository.
sardell pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/metron.git
The following commit(s) were added to refs/heads/master by this push:
new d0d64d4 METRON-2291 [UI] Fixing and rephrasing warning messages on
Alerts UI (tiborm via sardell) closes apache/metron#1535
d0d64d4 is described below
commit d0d64d4ad227711b3cf842bca2965087ed191f59
Author: tiborm <[email protected]>
AuthorDate: Thu Oct 31 08:59:15 2019 -0500
METRON-2291 [UI] Fixing and rephrasing warning messages on Alerts UI
(tiborm via sardell) closes apache/metron#1535
---
.../src/app/alerts/alerts-list/alerts-list.component.ts | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
a/metron-interface/metron-alerts/src/app/alerts/alerts-list/alerts-list.component.ts
b/metron-interface/metron-alerts/src/app/alerts/alerts-list/alerts-list.component.ts
index a644b76..1e329a5 100755
---
a/metron-interface/metron-alerts/src/app/alerts/alerts-list/alerts-list.component.ts
+++
b/metron-interface/metron-alerts/src/app/alerts/alerts-list/alerts-list.component.ts
@@ -525,18 +525,18 @@ export class AlertsListComponent implements OnInit,
OnDestroy {
getStaleDataWarning() {
if (this.autoPollingSvc.getIsPollingActive()) {
return `<i class="fa fa-warning" aria-hidden="true"></i> Data is in a
stale state!
+ Automatic refresh is turned on. Your filter and/or time-range changes
will apply automatically on next refresh.`;
+ } else {
+ return `<i class="fa fa-warning" aria-hidden="true"></i> Data is in a
stale state!
Click <i class="fa fa-search" aria-hidden="true"></i> to update your
view based
on your current filter and time-range configuration!`;
- } else {
- return `<i class="fa fa-warning" aria-hidden="true"></i> Data is in a
stale state!
- Automatic refresh is turned on. Your filter and/or time-range changes
will apply automatically on next refresh.`;
}
}
getPollingCongestionWarning() {
return `<i class="fa fa-warning" aria-hidden="true"></i> Refresh interval
is shorter than the response time.
Please increase the refresh interval in the <i class="fa fa-sliders"
aria-hidden="true"></i> menu above,
- or try to simplify your query filter.`;
+ or try to optimize your query filter.`;
}
private updatePollingInterval(refreshInterval: number): void {