LP1839341 YAOUS editor batch operation improvements
authorBill Erickson <berickxx@gmail.com>
Mon, 28 Mar 2022 20:31:01 +0000 (16:31 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 19 Aug 2022 17:41:25 +0000 (13:41 -0400)
commitff0ba2b001a40deb0cb7f0075d032a7e1e7be735
treeae1623ed734db9f9c9cfb653e26eeb790bb5447e
parentd2989142ab8aa3b647e443310154af019ce210a7
LP1839341 YAOUS editor batch operation improvements

* Apply batch updates serially to avoid large parallel batches.
* Replace manual JSON string compilation with JSON.stringify()
* Show progress dialog during batch updates / hide toasts since they
  occur too fast to read.
* Batch update avoids applying the value "0" for numerics when the value
  is null or undefined.
* Minor linting

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/eg2/src/app/staff/admin/local/org-unit-settings/org-unit-settings.component.html
Open-ILS/src/eg2/src/app/staff/admin/local/org-unit-settings/org-unit-settings.component.ts