-
Notifications
You must be signed in to change notification settings - Fork 0
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
CatalogSearch feature parity #258
Labels
Comments
jeremyf
referenced
this issue
Oct 5, 2023
Prior to this change, assuming my default translation was "en" when I called the following—`I18n.t('dog_biscuits.fields.date_issued')`—I would get `Translation missing: en.dog_biscuits.fields.date_issued`. We had added DogBiscuits into that path but we had not reloaded the back-end. Further, the catalog controller was no longer doing useful work. The `Rails.root` is `hyrax-webapp`; which would already be working. For more on this anti-pattern, see [Potential Issues Around Knapsack and Rails.root][1]. With this change, I have a small test to verify that dog biscuits translations are in fact loaded. Related to: - https://github.com/scientist-softserv/adventist-dl/issues/611 - https://github.com/scientist-softserv/adventist-dl/issues/227 - scientist-softserv/adventist-dl#244 [1]: #60)
jeremyf
referenced
this issue
Oct 5, 2023
Prior to this change, assuming my default translation was "en" when I called the following—`I18n.t('dog_biscuits.fields.date_issued')`—I would get `Translation missing: en.dog_biscuits.fields.date_issued`. We had added DogBiscuits into that path but we had not reloaded the back-end. Further, the catalog controller was no longer doing useful work. The `Rails.root` is `hyrax-webapp`; which would already be working. For more on this anti-pattern, see [Potential Issues Around Knapsack and Rails.root][1]. With this change, I have a small test to verify that dog biscuits translations are in fact loaded. Related to: - https://github.com/scientist-softserv/adventist-dl/issues/611 - https://github.com/scientist-softserv/adventist-dl/issues/227 - scientist-softserv/adventist-dl#244 [1]: #60)
jeremyf
referenced
this issue
Oct 5, 2023
Prior to this change, assuming my default translation was "en" when I called the following—`I18n.t('dog_biscuits.fields.date_issued')`—I would get `Translation missing: en.dog_biscuits.fields.date_issued`. We had added DogBiscuits into that path but we had not reloaded the back-end. Further, the catalog controller was no longer doing useful work. The `Rails.root` is `hyrax-webapp`; which would already be working. For more on this anti-pattern, see [Potential Issues Around Knapsack and Rails.root][1]. With this change, I have a small test to verify that dog biscuits translations are in fact loaded. Related to: - https://github.com/scientist-softserv/adventist-dl/issues/611 - https://github.com/scientist-softserv/adventist-dl/issues/227 - scientist-softserv/adventist-dl#244 [1]: #60)
jeremyf
referenced
this issue
Oct 5, 2023
Prior to this change, assuming my default translation was "en" when I called the following—`I18n.t('dog_biscuits.fields.date_issued')`—I would get `Translation missing: en.dog_biscuits.fields.date_issued`. We had added DogBiscuits into that path but we had not reloaded the back-end. Further, the catalog controller was no longer doing useful work. The `Rails.root` is `hyrax-webapp`; which would already be working. For more on this anti-pattern, see [Potential Issues Around Knapsack and Rails.root][1]. With this change, I have a small test to verify that dog biscuits translations are in fact loaded. Related to: - https://github.com/scientist-softserv/adventist-dl/issues/611 - https://github.com/scientist-softserv/adventist-dl/issues/227 - scientist-softserv/adventist-dl#244 [1]: #60)
jeremyf
referenced
this issue
Oct 6, 2023
Prior to this change, we had ensured knapsack's translations took precedence over Hyku's. However, that ensuring occurred at the after_initialize. We had missed the CatalogController's translation moment as well. When we specify the index fields in the CatalogController, blacklight caches those translations. However, in the case of dogbiscuits, those are not yet loaded. Which results in a translation error; even though we later load the dog biscuits translations. With this change, I have added two tests to: 1. verify that translations are correct for the catalog controller 2. that when the app boots, the Knapsack translations take precedence over Hyku. Related to: - https://github.com/scientist-softserv/adventist-dl/issues/611 - https://github.com/scientist-softserv/adventist-dl/issues/227 - scientist-softserv/adventist-dl#244 - #63 [1]: #60)
jeremyf
referenced
this issue
Oct 6, 2023
Prior to this change, we had ensured knapsack's translations took precedence over Hyku's. However, that ensuring occurred at the after_initialize. We had missed the CatalogController's translation moment as well. When we specify the index fields in the CatalogController, blacklight caches those translations. However, in the case of dogbiscuits, those are not yet loaded. Which results in a translation error; even though we later load the dog biscuits translations. With this change, I have added two tests to: 1. verify that translations are correct for the catalog controller 2. that when the app boots, the Knapsack translations take precedence over Hyku. Related to: - https://github.com/scientist-softserv/adventist-dl/issues/611 - https://github.com/scientist-softserv/adventist-dl/issues/227 - scientist-softserv/adventist-dl#244 - #63 [1]: #60)
The fonts are different but the translations are up (I think someone's working on the UI tests for fonts) |
Testing results Journal Article
Image
Published Work
Generic Work
Collection
Thesis
Conference Item:
Dataset
Exam Paper:
|
jeremyf
referenced
this issue
Oct 12, 2023
Related to: - https://github.com/scientist-softserv/adventist-dl/issues/611 - https://github.com/scientist-softserv/adventist-dl/issues/227 - scientist-softserv/adventist-dl#244 - #63 - #60 Co-authored-by: LaRita Robinson <[email protected]>
jeremyf
referenced
this issue
Oct 12, 2023
Related to: - https://github.com/scientist-softserv/adventist-dl/issues/611 - https://github.com/scientist-softserv/adventist-dl/issues/227 - scientist-softserv/adventist-dl#244 - #63 - #60 Co-authored-by: LaRita Robinson <[email protected]>
29 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
In adventist proper's staging, work details are displayed in the catalog search results page.
For example, for Journal article we see the following displayed:
This ticket is to check each work type and/or make adventist knapsack display the same. Notice we also have a lot of translations missing.
Staging example
ADV Knapsack example
The text was updated successfully, but these errors were encountered: