Repository navigation
Add settings to consortial record for shared index ILLDEV-611 - #111
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The “Populate from SI” button remains enabled when the discovery search URL is unset, causing requests to invalid undefined/null endpoints instead of disabling the discovery action.
1 open issue
What changed in this PR
Moves shared-index search and record-link configuration from platform settings into directory discovery settings, with an editor for consortium-level configuration.
Changes:
- Adds a Discovery section with search URL and item-link template fields.
- Exposes shared directory hooks and uses institution discovery settings in request workflows.
- Updates tests and documentation, and removes static shared-index settings.
| File | Description |
|---|---|
ui-update/src/routes/ScanRoute.test.js |
Tests discovery-backed item links. |
ui-rsdir/translations/ui-rsdir/en.json |
Adds Discovery labels and messages. |
ui-rsdir/src/routes/DiscoveryConfigRoute.js |
Adds the discovery settings editor and cache invalidation. |
ui-rsdir/src/index.test.js |
Tests editing a consortium’s item-link template. |
ui-rsdir/src/index.js |
Registers the Discovery route. |
ui-rsdir/src/config/configSections.js |
Defines discovery fields and section metadata. |
ui-rsdir/src/components/EntrySections.js |
Adds Discovery navigation. |
ui-rs/src/util/useTenantReasons.js |
Uses the shared owned-entry hook. |
ui-rs/src/test/stripesCore.js |
Removes the static shared-index test setting. |
ui-rs/src/routes/FlowRoute.test.js |
Updates mocks and verifies discovery-backed links. |
ui-rs/src/components/ViewPatronRequest/sections/RequestInfo.js |
Uses the shared owned-entry hook. |
ui-rs/src/components/PatronRequests/PatronRequests.js |
Uses the shared owned-entry hook. |
ui-rs/src/components/PatronRequestForm/useOptions.js |
Uses shared institution, pickup-location, and tier hooks. |
ui-rs/src/components/PatronRequestForm/PatronRequestForm.js |
Reads the search URL from institution discovery settings. |
ui-rs/src/components/Flow/moreActions/AddCondition.js |
Uses the shared institution hook. |
ui-rs/src/components/Flow/FlowViewComponents/RequestInfo.js |
Uses the shared tier hook. |
stripes-reshare/src/useOwnedEntries.js |
Uses a local query import and documents inherited configuration. |
stripes-reshare/src/useGetSIURL.js |
Reads the discovery item-link template. |
stripes-reshare/index.js |
Exports shared directory hooks. |
README.md |
Updates the description of platform-level settings. |
platform-rs-dev/stripes.config.js |
Removes static shared-index search and item URLs. |
environments/platform-resharex/stripes.config.js |
Removes the static shared-index item URL. |
Review effort: Balanced
skomorokh
marked this pull request as ready for review
November 24, 2026 16:20
skomorokh
requested review from
JanisSaldabols,
adamdickmeiss,
ihardy,
jakub-id and
kurtnordstrom
as code owners
November 24, 2026 16:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.