-
Notifications
You must be signed in to change notification settings - Fork 433
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
Multiline selected facet badge on search page #2675
Multiline selected facet badge on search page #2675
Conversation
…e-search-filter-badge_main
Hi @LotteHofstede, |
Hi @LotteHofstede, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Thanks @LotteHofstede ! Finally got around to testing this and I can verify the bug exists & that this fixes it.
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin dspace-7_x
git worktree add -d .worktree/backport-2675-to-dspace-7_x origin/dspace-7_x
cd .worktree/backport-2675-to-dspace-7_x
git switch --create backport-2675-to-dspace-7_x
git cherry-pick -x f4dc8ca3d222f774b4424b9dae44577386ca1a28 a026c65a3c6970fae8b72c00667f500a0cff813c |
Manually ported to 7.x in #2989 |
References
Description
This PR fixes an issue where a selected facet badge would overflow the page instead of wrapping around to a new line.
Instructions for Reviewers
Use a long facet filter that would overflow the page and make sure it wraps its text around to a new line. Add multiple facets to make sure everything still works as expected, Eg:
http://localhost:4000/search?query=test&spc.page=1&f.subject=Lorem%20ipsum%20dolor%20sit%20amet.%20Et%20iusto%20omnis%20qui%20reprehenderit%20illo%20ut%20provident%20cumque%20ab%20perspiciatis%20delectus.%20Eos%20nemo%20mollitia%20qui%20omnis%20nihil%20ut%20galisum%20obcaecati.,equals&f.author=test,equals&f.author=test123,equals
Checklist
yarn lint
yarn check-circ-deps
)package.json
), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.