LP1983628: Add editor for item notes user/sandbergja/lp1983628-copy-notes-editable
authorJane Sandberg <js7389@princeton.edu>
Wed, 1 Mar 2023 12:58:07 +0000 (04:58 -0800)
committerJane Sandberg <js7389@princeton.edu>
Mon, 8 May 2023 14:48:34 +0000 (07:48 -0700)
commita44e1b86f644d3f4300e52c146d99f77910f651d
tree9984e9a0a4a360c0b8e01098b40c20aa18c82224
parent4c372bd55b710d690297fcea22db528092487f0b
LP1983628: Add editor for item notes

Test plan:
1. Open your favorite bib record in the staff catalog
2. On the item table tab, find a barcode and click "Edit"
3. Press the Item Notes button.
4. Add a note with a title and value.
5. Press Apply Changes
6. Press Apply All and Save
7. Press the Item Notes button again.
8. Without this commit, you will not have a way to edit
these notes.  With this commit, you will have an edit
button.
9. Confirm that you can Back out of the editor without
making changes
10. Confirm that you can make changes and they persist.

This commit also adds a test to confirm that this fm-editor
won't inadvertently fetch every single row in asset.copy
(as a linked field).

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.ts
Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.spec.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/share/holdings/copy-notes-dialog.component.html
Open-ILS/src/eg2/src/app/staff/share/holdings/copy-notes-dialog.component.ts
Open-ILS/src/eg2/src/app/staff/share/holdings/copy-notes-edit/copy-notes-edit.component.html [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/share/holdings/copy-notes-edit/copy-notes-edit.component.spec.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/share/holdings/copy-notes-edit/copy-notes-edit.component.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/share/holdings/holdings.module.ts