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

🎁 make facet options match adventist-dl proper #104

Merged
merged 3 commits into from
Nov 22, 2023

Conversation

ShanaLMoore
Copy link

@ShanaLMoore ShanaLMoore commented Nov 21, 2023

Deletes the default hyku proper facets and use the adventist proper's settings instead, for feature parity with the original application.

Issue:

ADVENTIST PROPER

image

ADVENTIST KNAPSACK

BEFORE

image

AFTER

image

NOTE

The carot icon to collapse/expand the facet is broken because of the bootstrap version change. I'd argue that should be a separate ticket.

Deletes the default hyku proper facets and use the adventist proper's settings instead, for feature parity with the original application.

Issue:
- https://github.com/scientist-softserv/adventist-dl/issues/659
@ShanaLMoore ShanaLMoore marked this pull request as draft November 21, 2023 18:37
Previously this was hardcoded but what if Hyku changes? This commit implements a dynamic method to delete hyku's default settings.
@ShanaLMoore ShanaLMoore marked this pull request as ready for review November 21, 2023 19:02
Ruby has a method called #clear that will clear the hash, which is basically what the method was previously doing but much more efficiently.
@ShanaLMoore ShanaLMoore merged commit 137cd3e into main Nov 22, 2023
7 checks passed
@ShanaLMoore ShanaLMoore deleted the i659-facet-parity branch November 22, 2023 14:51
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.

3 participants