LP1839341 YAOUS editor batch operation improvements user/berick/lp1839341-ou-settings-editor-angular-signoff
authorBill Erickson <berickxx@gmail.com>
Mon, 28 Mar 2022 20:31:01 +0000 (16:31 -0400)
committerBill Erickson <berickxx@gmail.com>
Mon, 28 Mar 2022 20:35:21 +0000 (16:35 -0400)
commit2537a4642201f1fc76d8e08582e0cee829810e48
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>
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