Skip to content
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

Scc 4417/format filters #483

Merged
merged 11 commits into from
Mar 5, 2025
Merged

Scc 4417/format filters #483

merged 11 commits into from
Mar 5, 2025

Conversation

charmingduchess
Copy link
Contributor

@charmingduchess charmingduchess commented Mar 3, 2025

Ticket:

This PR does the following:

  • Replaces materialType with format in all cases across the repo. This is because we are now using a newly indexed format value instead of the more broadly defined materialTypes for format.

How has this been tested?

Running searches and using available formats to filter results.

Accessibility concerns or updates

Checklist:

  • I updated the CHANGELOG with the appropriate information and JIRA ticket number (if applicable).
  • I have added relevant accessibility documentation for this pull request.
  • All new and existing tests passed.

Copy link

vercel bot commented Mar 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
research-catalog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 4, 2025 8:09pm

@charmingduchess charmingduchess requested a review from dgcohen March 3, 2025 18:00
@@ -8,11 +8,11 @@ type SubjectLiteral = string
type ContributorLiteral = string
type CreatorLiteral = string
type Issuance = string
type MaterialTypeFilter = string
type formatFilter = string
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be capitalized since it's a type?

@@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Updated

- Send new searches back to home, not /search [SCC-4487](https://newyorkpubliclibrary.atlassian.net/browse/SCC-4487)
- Removed legacy barcode hotfix (SCC-4474)
Copy link
Contributor

Choose a reason for hiding this comment

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

This line doesn't need to be removed

Copy link
Contributor

@dgcohen dgcohen left a comment

Choose a reason for hiding this comment

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

Looks like a straightforward change despite the massive diff. A couple of small comments but otherwise looks good!

@charmingduchess charmingduchess merged commit 9d3543a into main Mar 5, 2025
3 checks passed
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.

2 participants