]> git.evergreen-ils.org Git - Evergreen.git/commit - Open-ILS/src/eg2/src/app/staff/catalog/record/record.component.html
LP1991294 Staff NoveList Select Added Content tab
authorStephanie Leary <stephanie.leary@equinoxoli.org>
Fri, 19 May 2023 14:20:37 +0000 (14:20 +0000)
committerMichele Morgan <mmorgan@noblenet.org>
Thu, 9 Nov 2023 14:16:09 +0000 (09:16 -0500)
commit0f3e0f70423508aff782f087f676c1773d1c7922
tree79cdd9c032ab3264d6b10913d604ff857e32aafd
parent62389cdc67e4fee0fa1a403348d9ca7174d6f843
LP1991294 Staff NoveList Select Added Content tab

Adds a new tab, Added Content, to the staff catalog record view to
display content from NoveList Select. If added content is available for
the current record, the tab name will include a gold star; otherwise the
tab indicates "No Added Content" with an empty star outline. This
general framework can be used to support other added content services in
the future.

Because NoveList Select depends on an external JavaScript file to load
its data, this update includes a new script loading service and a script
store containing the names and paths of scripts that may be loaded into
the Angular interfaces. In addition to the NoveList Select script
provided by EBSCO, there is a helper script to insert it into the Added
Content tab panel and adjust the progress, success, and error messages
(both visible and ARIA live regions).

New OU settings are provided for the NoveList Select staff credentials
(which are passed as URL parameters to the external script) and and a
new Library Setting that can be used to override the script store's URL
in case of future breaking changes to the service.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Open-ILS/src/eg2/src/app/share/util/script.service.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/share/util/script.store.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/catalog/content/added-content.component.css [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/catalog/content/added-content.component.html [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/catalog/content/added-content.component.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/catalog/record/record.component.css [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/catalog/record/record.component.html
Open-ILS/src/eg2/src/app/staff/catalog/record/record.component.ts
Open-ILS/src/eg2/src/app/staff/common.module.ts
Open-ILS/src/sql/Pg/upgrade/XXXX.data.staff-client-novelist-select.sql [new file with mode: 0644]
Open-ILS/src/templates/staff/ngNSelect_js.tt2 [new file with mode: 0644]