Comment 8 for bug 1522638

Revision history for this message
Bill Erickson (berick) wrote :

Sign-off for Victoria's code plus additional commits pushed here:

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/berick/lp1522638-progress-bar-holds-etc

1. This adds support for both determinate (value / max) and indeterminate progress bars.

From the inline docs:

+ * Open an indeterminate (100%) progress bar.
+ * egProgressModal.open();
+ *
+ * Open a determinate progress bar.
+ * 'max' can be set in open(), update(), or both.
+ * egProgressModal.open({value : 0});
+ *
+ * Update a determinate progress bar.
+ * egProgressModal.update({max : 45, value : 25});
+ * egProgressModal.update({value : 26});
+ * egProgressModal.update({value : 27});
+ * ...
+ *
+ * Close it.
+ * egProgressModal.close();

2. Progress bar implemented as an HTML5 <progress/> element. The HTML5 element renders much more accurately than the Bootstrap pseudo-progress component.

3. For determinate progress meters, the percent complete is also shown in the dialog.

4. Tip commit replaces the inline patron search progress meter with an indeterminate egProgressDialog.