stevenyvr987 / overdrive-evergreen-opac

Automatically exported from code.google.com/p/overdrive-evergreen-opac
0 stars 0 forks source link

Show items in hold list or checkout list in a consistent order #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Each e-title requires this pair of API calls to occur before a row in a list 
(hold, checkout, or search result) can be shown. Currently, the API calls are 
handled synchronously, which can result in a delay to the user.

Original issue reported on code.google.com by steven3...@gmail.com on 10 Jun 2014 at 10:03

GoogleCodeExporter commented 9 years ago
The inconsistent order is due to making API calls for each row and having to 
wait until they complete before rendering the responses into content. The fix 
would be to show the incomplete version of a list and then populate with 
content as they arrived. The API calls could be done synchronously, as is 
currently done, or done asynchronously, which would result in further improving 
response times.

Original comment by steven3...@gmail.com on 11 Jun 2014 at 5:10

GoogleCodeExporter commented 9 years ago

Original comment by steven3...@gmail.com on 12 Jun 2014 at 7:57

GoogleCodeExporter commented 9 years ago
All places in the software where API calls to get metadata and availability 
data are now made separately and the result values are rendered on the screen 
as they become available.

1. Results list
2. Record page
3. Place hold form
4. Holds list, sorted by expiration date
5. Checkouts list, sorted by hold position and placed date

Original comment by steven3...@gmail.com on 30 Jul 2014 at 7:24