#311 Provider User Feedback during long Ajax requests
Closed: Fixed None Opened 13 years ago by admiyo.

If the user clicks a search that doesn't return immediately, the user might get ants and move on. We need to provide some visual cue that the search is progressing.


This isn't the final appraoch, but it shows the current thinking. I requests an opt out method as well.

Going to suggest a simple fix for now. We specify a location on the page that contains the "network call underway" indicator. If an AJAX call is outstanding, it is shown, once there is none, it is hidden.

Since multiple calls can be outstanding at once, we'll keep a count, show the indicator if the count is > 0, and hide it if it is 0. I'm not sure how threadsafe Javascript is, so it is possible that we will end up with a perpetually spinning indicator. We'll have to keep an eye out for it.

I realize that UXD wanted the indicator to go whereever the load was happening, but oftentimes there is no obvious place to put it, and the logic to make that happen is more complex than the benefit gained. We can make the logic more complex down the road if this proves unsatisfactory.

Metadata Update from @admiyo:
- Issue assigned to admiyo
- Issue set to the milestone: FreeIPA 2.0 - 2011/01 (cleanup)

7 years ago

Login to comment on this ticket.

Metadata
Attachments 1