Skip to content

Add settings to consortial record for shared index ILLDEV-611 - #111

Merged
skomorokh merged 4 commits into
mainfrom
discoveryconfig-illdev-611
Nov 24, 2026
Merged

skomorokh merged 4 commits into
mainfrom
discoveryconfig-illdev-611

Conversation

@skomorokh

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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
skomorokh marked this pull request as ready for review November 24, 2026 16:20
@skomorokh
skomorokh merged commit 3fd46fc into main Nov 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants