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

Search functionality not displaying error message when no results are found in the landing Page #466

Open
wants to merge 2 commits into
base: source
Choose a base branch
from

Conversation

SrikanthPynaboina
Copy link

Before Change:
image

After change:
image

@@ -25,9 +25,17 @@
margin-top: 40px;
}

div.errorMessage {
Copy link

Choose a reason for hiding this comment

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

@SrikanthPynaboina can you make error message in red or yellow background? I think users are used to seeing danger messages in red or yellow. What do you think?

/>
</div>
</div>
<section id='project-list' className='containerLayout'>

{this.state.error && (
Copy link

Choose a reason for hiding this comment

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

What about showing error messages only if there is nothing in the filterList? Then you don't need another state like error. Maybe that could work 🤷

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.

2 participants