Skip to content

Add message if no search results returned #1927

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

Merged
merged 2 commits into from
Sep 26, 2017

Conversation

deronjohnson
Copy link
Contributor

Addresses #1709 @jseldess

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@cockroach-teamcity
Copy link
Member

Copy link
Contributor

@jseldess jseldess left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, with one small nit.

search.html Outdated
@@ -50,6 +50,8 @@
r.append($('<div/>', {class: 'search-snippet'}).html(item.htmlSnippet));
div.append(r);
});
} else {
div.append($('<p>No results found.</p>'));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably best to make this just No results., to match the corresponding message on the blog search:

screen shot 2017-09-25 at 10 34 28 pm

Or update the blog search to match the text here. Either way.

@cockroach-teamcity
Copy link
Member

@jseldess
Copy link
Contributor

Thanks, @deronjohnson.

@jseldess jseldess merged commit af4276b into cockroachdb:master Sep 26, 2017
@deronjohnson deronjohnson deleted the no-search-results branch October 23, 2017 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants