5

It's a desktop environment and there's one slow query with lots of joins. It currently executes when the user clicks a specific tab - instead of having to open the tab, and then click a button.

But if the user only wants to check an already inserted info, it will do the search again.

Three possibilities:

  1. Confirm dialog: "Do you wish to update the search?" Options: Yes or No

  2. Build a Search button again and execute the query only on click (our default approach)

  3. Execute the query after n minutes

  • Why do you need to trigger the slow query when you click the tab? Shouldn't you be lazy loading the all the tabs when the tab collection initially displays? – SteveD Dec 20 '16 at 11:58
  • Not every user needs that feature. – rsb2097 Dec 20 '16 at 13:09
4

Place an "Update results" button, on top of the result list, so the user is aware that there might be newer results and he is the one who decides to update them.

About your options:

  • Confirm dialog. This can be "disturbing" if the user just wanted to check the old result list.
  • Search again. I'm not sure if this is meant as the update button I was commenting or the result list will be emptied and the user has to search again. If the second, then it doesn't seem correct to me to take out the old results. About the first one, it might be better to call it update as the search query is the same.
  • Autoupdate. Even if this was implemented the user wouldn't be sure the query was updated automatically for him. Either placing a "Results updated 3 minutes ago" or giving him the chance to do the action gives the user full information (combined with automatic updates, this depends on the case).
|improve this answer|||||
  • What I'm doing right now is loading the data at the first time the user clicks the tab. Then, the other times, the user needs to press the button, which now I'll call "Update" as it always runs a pre-defined query. – rsb2097 Dec 20 '16 at 13:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.