-
Notifications
You must be signed in to change notification settings - Fork 510
134983: new funnel icon in search scope #4767
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
134983: new funnel icon in search scope #4767
Conversation
nwoodward
left a comment
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 @bram-maegerman. The filter icon looks good. I'm not sure about the failing test, but hopefully it will be fixed when it runs again.
|
Closing and reopening to trigger tests to rerun. GitHub seems to have had a hiccup in running tests in this PR, and closing & reopening will hopefully fix it. |
|
For reference, here's what it looks like:
I wish it was not a solid icon, but there is no alternative on Font Awesome Free. An empty funnel usually implies no filter is active. Also, @bram-maegerman I would recommend rebasing/squashing this so we don't get the extra "fix up" changes from the draft iterations on the main branch. They create extra noise in the commit history that is not necessary. You can do it on your side and force push the branch, or we can do it when we merge here. Thank you. |
ed5eb11 to
6f15b06
Compare
|
Thanks for the feedback @alanorth, and sorry for getting back to you so late.
|
|
Thanks @bram-maegerman! Looks good. A very simple fix that improves UX using common patterns. I think we should port it to all active DSpace 7+ branches. @tdonohue do you agree? |
tdonohue
left a comment
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 @bram-maegerman ! I gave this a quick look and it looks great to me. I agree with @alanorth that this small fix should be applied to all maintenance branches. I'll merge this and get it ported to 9.x, 8.x and 7.x
|
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-4767-to-dspace-7_x origin/dspace-7_x
cd .worktree/backport-4767-to-dspace-7_x
git switch --create backport-4767-to-dspace-7_x
git cherry-pick -x 6f15b068215ca40b6273ae1f1cb62c278f6c81a7 |
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin dspace-8_x
git worktree add -d .worktree/backport-4767-to-dspace-8_x origin/dspace-8_x
cd .worktree/backport-4767-to-dspace-8_x
git switch --create backport-4767-to-dspace-8_x
git cherry-pick -x 6f15b068215ca40b6273ae1f1cb62c278f6c81a7 |
|
Successfully created backport PR for |


References
Fixes #1394
Description
This PR adds a funnel icon to the search scope button in front of "All of DSpace"
Instructions for Reviewers
Please add a more detailed description of the changes made by your PR. At a minimum, providing a bulleted list of changes in your PR is helpful to reviewers.
List of changes in this PR:
{ui}//search?spc.page=1A funnel icon should be visible in front of the "All of DSpace" text in the scope search button
Checklist
mainbranch of code (unless it is a backport or is fixing an issue specific to an older branch).npm run lintnpm run check-circ-deps)