-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
Simplify styling for 'Search bar' #10174
Conversation
Please take a moment and address the merge conflicts of your pull request. Thanks! |
/label ready-for-merge This PR is now ready for merge, after ~24 hours, we will merge it if there's no negative feedback. |
@@ -48,7 +48,7 @@ THE SOFTWARE. | |||
</div> | |||
<input value="${attrs.value}" | |||
id="${attrs.id}" | |||
class="jenkins-search__input" | |||
class="jenkins-input jenkins-search__input" |
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.
What does this change mean to existing implementations (at least azure-vm-agents
) that have just the existing class? Do they now need to be adapted, is it wrong to use the previous class without the new class?
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.
Good spot, in the case of azure-vm-agents it uses a combobox
which already has a jenkins-input
class attached. If there are cases (which AFAIK in public repos there aren't) then yeah they'll need the jenkins-input
class adding.
Please take a moment and address the merge conflicts of your pull request. Thanks! |
This PR updates and simplifies the styling for the search bar component, where rather than reinvent the wheel in terms of design we just inherit the design from the existing input and dropdown classes.
This results in a mild UI change for the search bar, but keeps it consistent with other inputs:
Before
After
I've also simplified results for the search bar, we now reuse the styling of the dropdown component rather than have our own unique style for search.
Testing done
Proposed changelog entries
Proposed upgrade guidelines
N/A
Submitter checklist
Desired reviewers
@jenkinsci/sig-ux
Before the changes are marked as
ready-for-merge
:Maintainer checklist