Improve placeholder text / form UX in Browse By "Starts with" form control#5498
Open
kshepherd wants to merge 2 commits intoDSpace:mainfrom
Open
Improve placeholder text / form UX in Browse By "Starts with" form control#5498kshepherd wants to merge 2 commits intoDSpace:mainfrom
kshepherd wants to merge 2 commits intoDSpace:mainfrom
Conversation
65d265b to
2fb21fe
Compare
EikLoe
approved these changes
Apr 16, 2026
Member
EikLoe
left a comment
There was a problem hiding this comment.
Hi @kshepherd ,
I tested it and it works great! Thanks 👍🏾 The code looks good to me!
Member
|
We might consider backporting this, as it appears in demo.dspace.org, too. |
|
Good point! Adding labeling for all automatic backports, in case it works out for previous versions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
References
Description
The placeholder text in the browse-by input form was misleading, with a value of "Search the repository".
This small change shifts the hint text into the form placeholder, instead of being displayed as a small non-obvious line of text below the input form control.
The hint text is already translated across many languages, so it is not text I had to come up with myself and request help from translators.
I think this is improved UX. Feedback welcome.
Instructions for Reviewers
Simply compare the form display when you visit "Browse by Author", with and without this change applied.
List of changes in this PR:
browse.search-form.placeholderin the starts-with Angular component, withbrowse.startsWith.type_textbrowse.search-form.placeholderkeyChecklist
mainbranch of code (unless it is a backport or is fixing an issue specific to an older branch).npm run lint