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

Added Complete Functionality to Search Bar #797

Merged
merged 2 commits into from
Nov 5, 2024

Conversation

IkkiOcean
Copy link
Contributor

@IkkiOcean IkkiOcean commented Nov 5, 2024

This pull request implements feature to search products in Search bar of the application, enhancing its functionality and user experience. The updates include the addition of a debouncing feature, integration with a newly created API, and improved navigation to product details upon selection.

  1. Debouncing Functionality:

    • Added a debouncing mechanism to optimize search requests.
  2. Dynamic Search Results:

    • Integrated the following API endpoint to fetch search results based on user queries:
      • Endpoint: /api/search?query=${searchQuery}
  3. Navigation to Product Details:

    • Users can now navigate to a dedicated product details page when a search result is clicked.
  4. Improved User Interface:

    • Enhanced styling for the dropdown results and loading states.
  5. Error Handling:

    • Implemented error handling for API requests to improve user experience.

Video:

search.mp4

Copy link

vercel bot commented Nov 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
agro-tech-ai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 0:54am

Copy link
Contributor

github-actions bot commented Nov 5, 2024

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@manikumarreddyu manikumarreddyu merged commit 4cb453a into manikumarreddyu:main Nov 5, 2024
4 checks passed
Copy link
Contributor

github-actions bot commented Nov 5, 2024

🎉 Your pull request has been successfully merged! 🎉 Thank you for your valuable contribution to our project. Your efforts are greatly appreciated. Feel free to reach out if you have any more contributions or if there's anything else we can assist you with. Keep up the fantastic work! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request]: Implement Product Search Feature in Navbar
2 participants