[SourceSearch] Improve not-found UI#3473
Conversation
Codecov Report
@@ Coverage Diff @@
## next #3473 +/- ##
==========================================
- Coverage 51.55% 51.54% -0.02%
==========================================
Files 110 110
Lines 4570 4571 +1
Branches 944 944
==========================================
Hits 2356 2356
- Misses 2214 2215 +1
Continue to review full report at Codecov.
|
| transform: translateY(-50%); | ||
| -webkit-transform: translateX(-50%); | ||
| -ms-transform: translateX(-50%); | ||
| transform: translateX(-50%); |
There was a problem hiding this comment.
autoprefixer + vertical-center could help
|
|
||
| renderSvg() { | ||
| const { count, query } = this.props; | ||
| sadFaceStyles() { |
| SearchInput.defaultProps = { | ||
| size: "" | ||
| size: "", | ||
| noNegativity: false |
There was a problem hiding this comment.
noNegativity: false this is too hard on the brain
9bc0278 to
6d50428
Compare
|
|
||
| # LOCALIZATION NOTE (sourceSearch.noResults): The center pane Source Search | ||
| # message when the query did not match any of the sources. | ||
| sourceSearch.noResults=No files matching %S found |
There was a problem hiding this comment.
this should be changed to sourceSearch.noResults2
|
|
||
| renderSvg() { | ||
| const { count, query } = this.props; | ||
| hasErrorEmoji() { |
There was a problem hiding this comment.
perhaps, shouldShowErrorEmoji
| SearchInput.defaultProps = { | ||
| size: "" | ||
| size: "", | ||
| showErrorEmoji: true |
There was a problem hiding this comment.
can you update the storybook stories with this new field?
|
or maybe i missed a comma... trying to check |
|
..sigh |
b1667b5 to
f31cd61
Compare
459cda5 to
870f99c
Compare
870f99c to
1859b84
Compare

Associated Issue: #3469
Summary of changes
Before:

After:

Other places where search input is used still have the same styles:
