tiborm commented on a change in pull request #1514: METRON-2190: [UI] Alerts
UI: Indicating loading and preventing parallel requests
URL: https://github.com/apache/metron/pull/1514#discussion_r326996827
##########
File path:
metron-interface/metron-alerts/src/app/alerts/alerts-list/alerts-list.component.ts
##########
@@ -62,10 +63,7 @@ export class AlertsListComponent implements OnInit,
OnDestroy {
alerts: Alert[] = [];
searchResponse: SearchResponse = new SearchResponse();
colNumberTimerId: number;
- refreshInterval = RefreshInterval.TEN_MIN;
- refreshTimer: Subscription;
- isRefreshPaused = POLLING_DEFAULT_STATE;
- lastIsRefreshPausedValue = false;
Review comment:
Auto polling related this moved to auto-polling.component or
auto-polling.service to keep this functionality encapsulated and shrink the
size of alerts-list.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services