You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Tibor Meller (JIRA)" <ji...@apache.org> on 2019/07/24 11:36:00 UTC

[jira] [Updated] (METRON-2190) [UI] Alerts UI: Indicating loading and preventing parallel requests

     [ https://issues.apache.org/jira/browse/METRON-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tibor Meller updated METRON-2190:
---------------------------------
    Description: 
h2. Loading indicator for alert list screen

Loading indicator will be applied for both manual and automatic queries but in a different way (manual blocking, auto nonblocking).
 Loading state of a manual query might better to block the UI (grouping, filtering, querying, time range change, turning automatic querying on/of, changing show/hide toggles).
The automatic query should be canceled if the user triggers a manual query.
h2. Introducing blocking loading state

Improvement could block the query button and automatic querying while UI waiting for the response of a manual query.
 This could fix having multiple requests at the same time.
h2. A) Issue: Lack of loading indicator (spinner)

There is no indicator such as a "spinner" that a query is pending/executing, so if the screen does not change, you have no idea (or if you were not watching as it changed). This is a problem when queries do not return immediately, considering the issue where there are multiple pending queries (described later).
h2. B) Issue: allowing Multiple pending Query Requests

For Solr queries that are not sub-second, as they are submitted and responses are still pending, requests queue up and results start updating the UI in order as they come in. If queries are really slow, this can become very confusing as 3-4 changes may happen in the UI.

 

  was:
Issues caused by having no loading indicator and allowing multiple requests at the same time reported by both Telstra and Raytheon
h2. Loading indicator for alert list screen

Loading indicator will be applied for both manual and automatic queries but in a different way (manual blocking, auto nonblocking).
Loading state of a manual query might better to block the UI (grouping, filtering, querying, time range change, turning automatic querying on/of, changing show/hide toggles).
Automatic query should be cancelled if the user trigger a manual query, changing filtering, time range or show/hide setup.
h2. Introducing blocking loading state

Improvement could block the query button and automatic querying while UI waiting for the response of a manual query.
This could fix having multiple requests at the same time.
h2. A) Issue: Lack of loading indicator (spinner)

There is no indicator such as a "spinner" that a query is pending/executing, so if the screen does not change, you have no idea (or if you were not watching as it changed). This is a problem when queries do not return immediately, considering the issue where there are multiple pending queries (described later).
h2. B) Issue: allowing Multiple pending Query Requests

For Solr queries that are not sub-second, as they are submitted and responses are still pending, requests queue up and results start updating the UI in order as they come in. If queries are really slow, this can become very confusing as 3-4 changes may happen in the UI.

 


> [UI] Alerts UI: Indicating loading and preventing parallel requests
> -------------------------------------------------------------------
>
>                 Key: METRON-2190
>                 URL: https://issues.apache.org/jira/browse/METRON-2190
>             Project: Metron
>          Issue Type: Bug
>            Reporter: Tibor Meller
>            Assignee: Tibor Meller
>            Priority: Major
>
> h2. Loading indicator for alert list screen
> Loading indicator will be applied for both manual and automatic queries but in a different way (manual blocking, auto nonblocking).
>  Loading state of a manual query might better to block the UI (grouping, filtering, querying, time range change, turning automatic querying on/of, changing show/hide toggles).
> The automatic query should be canceled if the user triggers a manual query.
> h2. Introducing blocking loading state
> Improvement could block the query button and automatic querying while UI waiting for the response of a manual query.
>  This could fix having multiple requests at the same time.
> h2. A) Issue: Lack of loading indicator (spinner)
> There is no indicator such as a "spinner" that a query is pending/executing, so if the screen does not change, you have no idea (or if you were not watching as it changed). This is a problem when queries do not return immediately, considering the issue where there are multiple pending queries (described later).
> h2. B) Issue: allowing Multiple pending Query Requests
> For Solr queries that are not sub-second, as they are submitted and responses are still pending, requests queue up and results start updating the UI in order as they come in. If queries are really slow, this can become very confusing as 3-4 changes may happen in the UI.
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)