-
Notifications
You must be signed in to change notification settings - Fork 44
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
Replace TextControl
with SearchControl
in ContentSearch
Component
#280
Replace TextControl
with SearchControl
in ContentSearch
Component
#280
Conversation
Size Change: +161 B (0%) Total Size: 65.4 kB
|
5 failed tests on run #692 ↗︎
Details:
IconPicker.spec.js • 1 failed test
Image.spec.js • 1 failed test
Link.spec.js • 1 failed test
Repeater.spec.js • 1 failed test
registerBlockExtension.spec.js • 1 failed test
Review all test suite changes for PR #280 ↗︎ |
🎉 A new testing version of this package has been published to NPM. You can install it with |
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.
This LGTM! Thanks @psorensen !
Will let @fabiankaegy chime in since he might more opinion here!
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.
components/content-search/index.js
Outdated
@@ -357,6 +359,8 @@ const ContentSearch = ({ | |||
onBlur={() => { | |||
setIsFocused(false); | |||
}} | |||
size="compact" | |||
style={{ border: '1px solid rgb(30, 30, 30)' }} |
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.
I'm not sure we need this manual border. With the greater space it has this should look better without I think
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.
My concern here is that I cannot see the border of the input at all - maybe it's my eyes, but I don't even realize it's a search input without the border
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.
Ah - there was something with my monitor - probably a high contrast setting (ironic enough) that was preventing me from seeing the gray background of the input. I've removed the manual style.
TextControl
with SearchControl
in ContentSearch
Component
Co-authored-by: Fabian Kägy <[email protected]>
Description of the Change
How to test the Change
Changelog Entry
Credits
Props @psorensen
Checklist: