-
Notifications
You must be signed in to change notification settings - Fork 1
UILD-688: Hub search - LoC source behavior #287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…complex lookup capabilities
…ty and configuration
…l check functionality
…ts with local data
…brary of Congress sources
…nd update source labels
…Config width, and update HubSourceFormatter for localization
…lity enricher, and hub formatters
…d tests; modify searchUIRegistry tests to check for limit property instead of searchableIndices
…into feat/UILD-688-hubs-search-loc
|
|
|
||
| const enrichedData = hubData.map(hub => ({ | ||
| ...hub, | ||
| isLocal: localHubIds.has(hub.token), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For this ticket, it is enough to have the isLocal boolean field in this object. However, for the next tickets, we will need the localHubId in this object.
For instance, if localHubId is truthy, then open the Edit screen for that hubId. Else, show the preview screen for the Hub to be imported from id.loc.gov.



Add Hubs search using LoC source and with local-availability support, and separate Hubs configuration for Search page and complex lookups.
https://folio-org.atlassian.net/browse/UILD-688
Technical details:
isLocal).HubActionFormatter,HubSourceFormatter, andHubsLookupResultList, with unit tests.useHubsTableFormatterand updates touseFormattedResultsto support lookup formatting.HubsResultListand related components to simplify formatting and loading handling and to use the new source/local labels.