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

Fix keyboard nav & icons for Chosen fields in Advanced Search. Fixes … #482

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

seanaery
Copy link
Collaborator

…TD-1402 & TD-1410.

  • Drops the trln-chosen-rails forked gem altogether; instead just vendors a few files within trln_argon
  • Uses the transpiled assets from the chosen_v1.8.7.zip build at https://github.com/harvesthq/chosen/releases/tag/v1.8.7
  • These assets were transpiled directly by chosen-rails via its grunt build task

…TD-1402 & TD-1410.

- Drops the trln-chosen-rails forked gem altogether; instead just vendors a few files within trln_argon
- Uses the transpiled assets from the chosen_v1.8.7.zip build at https://github.com/harvesthq/chosen/releases/tag/v1.8.7
- These assets were transpiled directly by chosen-rails via its `grunt build` task
@seanaery
Copy link
Collaborator Author

The keyboard navigation bug is unique to our fork and has something to do with the way our Decaffeinate transpiling of Coffeescript into JS differs from what the gem does in its Grunt build pipeline. This PR offers us a simplified approach that fixes the bug and spares us from having to maintain a gem. There's nothing Rails-y left about the gem that our app needs -- we really only need the final compiled JS & CSS assets, plus the icon sprites, all of which can be easily vendored.

@kazymovae kazymovae merged commit 4032d96 into Blacklight-8 Dec 16, 2024
8 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