datajoint/datajoint-labbook

Optimize filter card query logic

guzman-raphael opened this issue · 0 comments

Should revisit the filter card query logic to send less requests to prevent from overloading backend server. However, user experience should not sacrifice as a result.

3 options have been considered:

  • Query only when user has deselected a card with a pause of longer than 1 second.
  • Add a refresh button that will show gray if any card has been modified (to indicate that results are stale and retriggering a refresh is advised). Otherwise, will display green that results have not changed and no refresh is needed. Clicking button when advised (gray) will issue request.
  • Query only when user clicks out of card selection (includes any of the input fields within).