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

Forward-port improvements to the facet suggest feature #3511

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

sandbergja
Copy link
Contributor

@sandbergja sandbergja commented Feb 6, 2025

While backporting #3367, @cbeer and @maxkadel identified some issues, which were addressed before merging it to release-8x. This PR "forward-ports" those corrections, so that main and 9.x also can benefit from them.

Thanks to @cbeer and @maxkadel for identifying these issues while backporting this feature to release-8.x!

  • Provide the option to opt out of this feature (in 8.x, it is opt-in). You can add suggest: false to your facet config in the catalog controller if you don't want to use it for a particular field.
  • Use text_field_tag
  • Correct typo in debounce.js
  • Run i18n-tasks translate-missing, rather than add-missing. This pulls preliminary translations from the Google Cloud Translate API.
  • Remove redundant assignment
  • Remove unnecessary assignment

Thanks to @cbeer and @maxkadel for identifying these issues while backporting this
feature to release-8.x!

* Provide the option to opt out of this feature (in 8.x, it is opt-in).  You can
  add suggest: false to your facet config in the catalog controller if you don't
  want to use it for a particular field.
* Use text_field_tag
* Correct typo in debounce.js
* Run i18n-tasks translate-missing, rather than add-missing. This pulls preliminary
  translations from the Google Cloud Translate API.
* Remove redundant assignment
* Remove unnecessary assignment

Co-authored-by: Chris Beer <chris@cbeer.info>
Co-authored-by: Max Kadel <mkadel@princeton.edu>
@sandbergja sandbergja force-pushed the forward-port-facet-suggest-improvements branch from 390c13b to 98d3827 Compare February 6, 2025 17:54
@jcoyne jcoyne merged commit cf4500c into main Feb 6, 2025
11 checks passed
@jcoyne jcoyne deleted the forward-port-facet-suggest-improvements branch February 6, 2025 18:05
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