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

Implement Search History Display #181

Open
Shruti-1910 opened this issue Jun 19, 2024 · 0 comments
Open

Implement Search History Display #181

Shruti-1910 opened this issue Jun 19, 2024 · 0 comments

Comments

@Shruti-1910
Copy link
Collaborator

Description:

Currently, the search functionality in the app allows users to search for other users by name or username. However, there is no feature to display the search history. This feature is essential to enhance user experience by allowing users to quickly access their recent searches.

Expected Behavior:

  • When a user clicks on the search bar, a list of recent searches should be displayed.
  • The search history should show the usernames or names of the users that the current user has searched for in the past.
  • Each entry in the search history should be clickable, allowing the user to quickly re-search the selected user.
  • The search history should update in real-time as new searches are performed.

Acceptance Criteria:

User Interface:

  • A dropdown or a similar UI component should appear when the user focuses on the search bar.
  • The dropdown should contain the list of recent searches, showing the name or username of each user.
  • The design should be consistent with the overall app design.

Functionality:

  • The app should track and store the search history for each user.
  • Search history should be unique to each user and not shared across different users.
  • There should be a limit to the number of recent searches displayed (e.g., last 10 searches).
  • The search history should be updated in real-time when a new search is performed.
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

No branches or pull requests

1 participant