CircuitVerse / CircuitVerse/Blog

🐞 Bug - Blank Search Functionality

Open
#196 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
SCSS
Stars
8
Forks
74
Avg merge
5d 18h
Merged PRs (30d)
6

Description

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
Visit the CircuitVerse platform.
Go to blog section in navbar.
Click on search icon .
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.

Screenshot 2023-12-07 174915

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the search icon in the blog section of the navbar and reproduce the blank-query behavior described in the issue. Trace the search entry point and ensure pressing Enter with no input does not perform a search or instead prompts for a valid term, then verify the behavior in the reported browser flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
scss
Domain
search
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.