-
Notifications
You must be signed in to change notification settings - Fork 65
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
Add text for no results #94
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,5 +68,7 @@ | |
{{/search-result-set}} | ||
{{else if search.isRunning}} | ||
{{dot-spinner}} | ||
{{else if (and search.performCount query.length)}} | ||
<h4 class="result-info test-result-info">No results for "{{query}}"</h4> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
{{/if}} | ||
</div> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,7 @@ | |
"ember-router-scroll": "~0.3.0", | ||
"ember-sanitize": "^2.0.2", | ||
"ember-source": "~2.14.1", | ||
"ember-truth-helpers": "^1.3.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am not a fan of truth-helpers. I prefer a local |
||
"emberx-select": "^3.1.0", | ||
"glob": "^7.1.1", | ||
"http-proxy": "^1.15.2", | ||
|
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 think this will erroneously show when a search has happened and a query has been typed, but it is not a valid query that triggers a search. Take a look at
queryIsValid
CP inapp/components/large-search.js