Skip to content

Conversation

@bram-maegerman
Copy link
Contributor

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:

  • Go to {ui}//search?spc.page=1

A funnel icon should be visible in front of the "All of DSpace" text in the scope search button

Checklist

  • My PR is created against the main branch of code (unless it is a backport or is fixing an issue specific to an older branch).
  • My PR is small in size (e.g. less than 1,000 lines of code, not including comments & specs/tests), or I have provided reasons as to why that's not possible.
  • My PR passes ESLint validation using npm run lint
  • My PR doesn't introduce circular dependencies (verified via npm run check-circ-deps)
  • My PR passes all specs/tests and includes new/updated specs or tests based on the Code Testing Guide.
  • My PR aligns with Accessibility guidelines if it makes changes to the user interface.
  • My PR uses i18n (internationalization) keys instead of hardcoded English text, to allow for translations.
  • My PR includes details on how to test it. I've provided clear instructions to reviewers on how to successfully test this fix or feature.
  • If my PR fixes an issue ticket, I've linked them together.

@tdonohue tdonohue added the component: Discovery related to discovery search or browse system label Oct 9, 2025
@tdonohue tdonohue moved this to 🙋 Needs Reviewers Assigned in DSpace 10.0 Release Oct 9, 2025
Copy link
Contributor

@nwoodward nwoodward left a 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.

@github-project-automation github-project-automation bot moved this from 🙋 Needs Reviewers Assigned to 👍 Reviewer Approved in DSpace 10.0 Release Nov 14, 2025
@tdonohue
Copy link
Member

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.

@tdonohue tdonohue closed this Nov 14, 2025
@github-project-automation github-project-automation bot moved this from 👍 Reviewer Approved to ✅ Done in DSpace 10.0 Release Nov 14, 2025
@tdonohue tdonohue reopened this Nov 14, 2025
@tdonohue tdonohue moved this from ✅ Done to 👍 Reviewer Approved in DSpace 10.0 Release Nov 14, 2025
@alanorth
Copy link
Contributor

alanorth commented Nov 15, 2025

For reference, here's what it looks like:

Screenshot 2025-11-15 at 12-46-03 DSpace Repository Search

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.

@bram-maegerman bram-maegerman force-pushed the w2p-134983_add-funnel-icon-to-search-scope branch from ed5eb11 to 6f15b06 Compare January 22, 2026 09:37
@bram-maegerman
Copy link
Contributor Author

bram-maegerman commented Jan 22, 2026

Thanks for the feedback @alanorth, and sorry for getting back to you so late.
I cleaned up the source branch commits and looked at it again.
Here is what it looks like now.

image

@alanorth
Copy link
Contributor

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?

@alanorth alanorth self-requested a review January 22, 2026 12:18
@tdonohue tdonohue added port to dspace-7_x This PR needs to be ported to `dspace-7_x` branch for next bug-fix release port to dspace-8_x This PR needs to be ported to `dspace-8_x` branch for next bug-fix release port to dspace-9_x This PR needs to be ported to `dspace-9_x` branch for next bug-fix release labels Jan 22, 2026
@tdonohue tdonohue added this to the 10.0 milestone Jan 22, 2026
Copy link
Member

@tdonohue tdonohue left a 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

@tdonohue tdonohue merged commit 739f5d7 into DSpace:main Jan 22, 2026
16 checks passed
@github-project-automation github-project-automation bot moved this from 👍 Reviewer Approved to ✅ Done in DSpace 10.0 Release Jan 22, 2026
@dspace-bot
Copy link
Contributor

Backport failed for dspace-7_x, because it was unable to cherry-pick the commit(s).

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

@dspace-bot
Copy link
Contributor

Backport failed for dspace-8_x, because it was unable to cherry-pick the commit(s).

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

@dspace-bot
Copy link
Contributor

Successfully created backport PR for dspace-9_x:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug component: Discovery related to discovery search or browse system low priority port to dspace-7_x This PR needs to be ported to `dspace-7_x` branch for next bug-fix release port to dspace-8_x This PR needs to be ported to `dspace-8_x` branch for next bug-fix release port to dspace-9_x This PR needs to be ported to `dspace-9_x` branch for next bug-fix release usability

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

New popup/modal to limit search scope to one community or collection is not understood

6 participants