Skip to content

Conversation

@JPrevost
Copy link
Member

@JPrevost JPrevost commented Dec 17, 2025

Why are these changes being introduced:

  • CDI was the only source that used a single string with multiple subjects
  • Normalizing these to individual subjects improves consistency across sources

Relevant ticket(s):

How does this address that need:

  • Updates the primo normaliztion to split subjects on ' ; ' delimiter
    • This should have no affect on Primo Alma data that does not use this format but should clean up the Primo CDI data

Document any side effects to this change:

  • Our full record fixture was update to reflect the typical CDI data. The test was not changed as our new code modifies the data to match the previous expected result.

Developer

Accessibility
  • ANDI or WAVE has been run in accordance to our guide.
  • This PR contains no changes to the view layer.
  • New issues flagged by ANDI or WAVE have been resolved.
  • New issues flagged by ANDI or WAVE have been ticketed (link in the Pull Request details above).
  • No new accessibility issues have been flagged.
New ENV
  • All new ENV is documented in README.
  • All new ENV has been added to Heroku Pipeline, Staging and Prod.
  • ENV has not changed.
Approval beyond code review
  • UXWS/stakeholder approval has been confirmed.
  • UXWS/stakeholder review will be completed retroactively.
  • UXWS/stakeholder review is not needed.
Additional context needed to review

E.g., if the PR includes updated dependencies and/or data
migration, or how to confirm the feature is working.

Code Reviewer

Code
  • I have confirmed that the code works as intended.
  • Any CodeClimate issues have been fixed or confirmed as
    added technical debt.
Documentation
  • The commit message is clear and follows our guidelines
    (not just this pull request message).
  • The documentation has been updated or is unnecessary.
  • New dependencies are appropriate or there were no changes.
Testing
  • There are appropriate tests covering any new functionality.
  • No additional test coverage is required.

@coveralls
Copy link

coveralls commented Dec 17, 2025

Pull Request Test Coverage Report for Build 20344065907

Details

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.002%) to 97.906%

Totals Coverage Status
Change from base Build 20343071979: 0.002%
Covered Lines: 1169
Relevant Lines: 1194

💛 - Coveralls

@mitlib mitlib temporarily deployed to timdex-ui-pi-use-303-no-jmy90u December 17, 2025 20:27 Inactive
Copy link
Member

@matt-bernhardt matt-bernhardt left a comment

Choose a reason for hiding this comment

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

Oh, nice - I had noticed this the other day.

:shipit:

@matt-bernhardt matt-bernhardt self-assigned this Dec 18, 2025
Why are these changes being introduced:

* CDI was the only source that used a single string with multiple subjects
* Normalizing these to individual subjects improves consistency across sources

Relevant ticket(s):

* https://mitlibraries.atlassian.net/browse/USE-303

How does this address that need:

* Updates the primo normaliztion to split subjects on ' ;  ' delimiter
  * This should have no affect on Primo Alma data that does not use this
    format but should clean up the Primo CDI data

Document any side effects to this change:

* Our full record fixture was update to reflect the typical CDI data.
  The test was not changed as our new code modifies the data to match
  the previous expected result.
@JPrevost JPrevost force-pushed the use-303-normalize-cdi-subjects branch from 7ff6b5d to 6b18d78 Compare December 18, 2025 16:36
@JPrevost JPrevost temporarily deployed to timdex-ui-pi-use-303-no-jmy90u December 18, 2025 16:36 Inactive
@JPrevost JPrevost merged commit 8cd82e3 into main Dec 18, 2025
5 checks passed
@JPrevost JPrevost deleted the use-303-normalize-cdi-subjects branch December 18, 2025 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants