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>
Tue, 29 Mar 2022 19:18:44 +0000 (15:18 -0400)
commitd4389c68507aa5f40bc0742d6c7b8cd4c4be6025
tree15e1c7c35da17982d39055db2970b7d4c9e54bcb
parent7cbd4b9043af2e06d7ed26faef77fe28a2d3d20f
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