]> git.evergreen-ils.org Git - working/Evergreen.git/commit - Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.ts
lp1857911 angularized stat cat admin interfaces
authorJason Etheridge <jason@EquinoxOLI.org>
Wed, 14 Dec 2022 05:57:25 +0000 (00:57 -0500)
committerJane Sandberg <js7389@princeton.edu>
Tue, 2 May 2023 21:12:26 +0000 (14:12 -0700)
commit61c12e1487d39330dff0cbfd9770ee486a3e3bc3
tree0804e7443737f1bb31e620743ddaf95fab2823f8
parent001e95fbb019182e0099f3301cf7b2b596c6bb58
lp1857911 angularized stat cat admin interfaces

* for stat cats and stat cat entries in the IDL, make sure we have pcrud controller enabled and pcrud permissions set.  Also set config_field for "entries" so that the AdminPage component can link them out to their own admin pages
* item and patron stat cat admin pages
* lp1857911 release notes

Leverages the BasicAdminPage component, with some tweaks.

Changes to the BasicAdminPage and AdminPage components all default to off, so should not affect existing interfaces:

* add an option to hide the Clear Filters action from subordinate admin pages (when you follow config fields)
* add an option to propagate recordLabel to the fmEditor component, and also use said label within the admin page
* add an option to propagate orgDefaultAllowed to the fmEditor component

For the stat cat and entry admin pages specifically, we leverage these to:

* hide Clear Filters so that we don't let the user get into a situation where they try to create a new stat cat entry but have a blank and unsettable stat cat field (because we mark that field as read-only in the fmEditor)
* default the Owner field for new stat cats and entries to the workstation library
* use Item and Patron instead of Asset and Actor in various labels (at least until we're ready to make that change wholesale in the IDL)

Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/eg2/src/app/staff/admin/basic-admin-page.component.spec.ts
Open-ILS/src/eg2/src/app/staff/admin/basic-admin-page.component.ts
Open-ILS/src/eg2/src/app/staff/admin/local/admin-local-splash.component.html
Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts
Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.html
Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.ts
docs/RELEASE_NOTES_NEXT/miscellaneous.adoc