CircuitVerse / Blog

Blog for updates from circuitverse
https://blog.circuitverse.org
5 stars 53 forks source link

🐞 Bug - Blank Search Functionality #197

Closed deepak05kr18 closed 7 months ago

deepak05kr18 commented 7 months ago

Is there an existing issue for this?

Describe the bug

In the search icon under blog section of navbar, the prompt suggests type and hit enter for searching. However, I noticed that even when the search bar is left blank, it still triggers a search and displays results for a blank query when press enter. Ideally, a blank search should either prompt users to enter a valid search term or should not trigger a search without any input.

Steps To Reproduce

  1. Visit the CircuitVerse platform.
  2. Go to blog section in navbar.
  3. Click on search icon .
  4. Leave the search bar blank and press enter.

Expected Behavior

A blank search should either prompt users to enter a valid search term or should not trigger a search without any input.

Screenshots

image

Device Information [optional]

- OS: Windows
- Browser: Google Chrome
- version: 120.0.6099.62

Additional context

I believe addressing this issue will enhance the overall user experience on the platform. Thank you for your time and efforts in maintaining CircuitVerse.

Are you working on this issue?

Yes

niladrix719 commented 7 months ago

@deepak05kr18 Blog website actually has a diff repo - https://github.com/CircuitVerse/Blog, you might want to open issue there

pulkit-30 commented 7 months ago

ref https://github.com/CircuitVerse/Blog/issues/196