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

[Feature Request]: 🔎 Implement Autocomplete Suggestions in Search Bar #586

Closed
4 tasks done
MeetDOD opened this issue Aug 9, 2024 · 5 comments · Fixed by #591
Closed
4 tasks done

[Feature Request]: 🔎 Implement Autocomplete Suggestions in Search Bar #586

MeetDOD opened this issue Aug 9, 2024 · 5 comments · Fixed by #591
Assignees
Labels
enhancement New feature or request gssoc GSSOC level2

Comments

@MeetDOD
Copy link
Contributor

MeetDOD commented Aug 9, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Feature Description

I propose adding an autocomplete feature to the search bar within our web application to enhance the user experience and make it easier for users to find products quickly.

Feature Overview:

  1. Search Bar Autocomplete: As users begin typing in the search bar, a list of relevant suggestions will appear below the input field. These suggestions will be dynamically generated based on the user's input.

  2. Autocomplete Suggestions: The suggestions will include relevant posts names helping users quickly select or refine their search queries.

Use Case and Benefits

  1. Enhanced User Experience: The autocomplete feature will streamline the search process, making it more efficient and user-friendly.
  2. Increased Engagement: By offering relevant suggestions, users are more likely to engage with the search function and explore additional products.
  3. Time-Saving: This feature reduces the time users spend typing and searching for items, leading to quicker navigation.

Add ScreenShots

Current:

image

Future:

image

Technical Implementation:

  1. The suggestions should be fetched via an API that queries the database for relevant matches based on the user’s input.
  2. The UI should ensure that the suggestions are clearly visible, well-aligned, and easily selectable, with the text styled for readability.

Priority

High

Record

  • I have read the Contributing Guidelines
  • I'm a GSSOC'24 contributor
  • I have starred the repository
@MeetDOD MeetDOD added the enhancement New feature or request label Aug 9, 2024
Copy link

github-actions bot commented Aug 9, 2024

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊

You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

@VaibhavArora314
Copy link
Owner

How will you get these suggestions list?

@MeetDOD
Copy link
Contributor Author

MeetDOD commented Aug 9, 2024

How will you get these suggestions list?

from the card title i will map in the search bar dropdown !

@VaibhavArora314
Copy link
Owner

Since we are not fetching all the posts at the same time, maybe you can create an api to only get names of all the posts which can be further used for suggestions. Or an api to get the suggestions themselves but this may slow down the app due to repeated calls.

Copy link

Hello @MeetDOD! Your issue #586 has been closed. Thank you for your contribution!

@MeetDOD MeetDOD changed the title [Feature Request]: Shoowing search suggesstion when typing on search bar [Feature Request]: 🔎 Implement Autocomplete Suggestions in Search Bar Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gssoc GSSOC level2
Projects
None yet
2 participants