Skip to content
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 post count to Search results page #972

Merged
merged 2 commits into from
Jan 20, 2023

Conversation

duncanscode
Copy link
Contributor

Adds a post count to the Search page, based on issue 956.
image

One thing I was uncertain about is whether the text should be Post(s) or Result(s). I figured that because the search returns only posts at this time, it makes sense to label the count "Posts" - which is consistent the count labelling on other pages.

Added search results post count and adjusted styling to accommodate
Adjusted styling to better conform with project standards.
@cellio cellio requested a review from a team January 20, 2023 01:57
@cellio
Copy link
Member

cellio commented Jan 20, 2023

"Posts" looks like a good choice to me -- as you said, it's consistent. And I don't think we return a post more than once no matter how many search results it might contain.

Copy link
Contributor

@Taeir Taeir left a comment

Choose a reason for hiding this comment

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

Looks good!

@cellio cellio merged commit 835d221 into codidact:develop Jan 20, 2023
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