clarin-eric / VLO

Virtual Language Observatory
GNU General Public License v3.0
14 stars 6 forks source link

Availability selection performance #28

Closed davoros closed 7 years ago

davoros commented 8 years ago

Improve user interface for selecting availability values. Currently all 4 values (PUB/ACA/RES/UNSPEC) are pre-selected and deselecting one of them locks the selection until the request us processed. If user wants to select just one of them it takes lots of time

twagoo commented 7 years ago

The behaviour seems to be acceptable but could be improved for cases where multiple values need to be unselected (e.g. going from default to 'PUB' only), probably by having a short delay before selection change is applied allow for multiple unselections without refreshing the results (as discussed during VLO development meeting).

twagoo commented 7 years ago

In the current development version there is an issue with the availability filter control. This can be seen on the alpha machine at the moment of writing: unselect one of the values and subsequently only that value will be shown (unselected; see example). Check it again and all values including the selected one disappear. In other words, only unselected values are shown except for the default state which is a special case. There is a chance that this problem was introduced by (my merging/refactoring of) multi-value select (see #32).

Since this selector will be revisited in this ticket anyway, I hope this behaviour will be noticed and resolved in the process of implementing the improvements (@davoros).

twagoo commented 7 years ago

Davor concluded that the performance issue depends on the network, therefore it is not a processing issue. Perhaps we can try to minimise the traffic to improve performance. This should be covered in a separate issue though.