sadevana / best-to-do-ever

0 stars 0 forks source link

Search #41

Open AAKrasnova opened 1 year ago

AAKrasnova commented 1 year ago

Description:

Implement a search functionality that allows users to quickly find tasks within the app by entering keywords.

Requirements:

Search Bar:

A search bar should be prominently placed, ideally at the top of the task list or main screen. As the user types, the app should display real-time search results, filtering the task list based on the entered keywords.

Search Algorithm:

The search should be case-insensitive. Results should be sorted based on relevance. Consider incorporating a fuzzy search algorithm to cater for minor typos or variations in search terms.

No Results Feedback:

If no results match the search query, display a message indicating "No tasks found" or similar feedback.

Clear Search:

Provide a way (e.g., a small 'x' button) for users to quickly clear the search input and results.

Search by Various Task Attributes:

Allow users to search not only by task name but also by other attributes like description

Acceptance Criteria:

Notes:

Consider performance implications, especially if the task list is extensive. Ensure that the search functionality is responsive and provides quick feedback to the user. Remember to handle edge cases, such as when a user enters special characters.

dchicherin commented 1 year ago

Search Algorithm:

The search should be case-insensitive. -Nope Results should be sorted based on relevance. Consider incorporating a fuzzy search algorithm to cater for minor typos or variations in search terms. -Not implemented

AAKrasnova commented 1 year ago

@dchicherin why not case-insensitive..? It should be easy to bring to lower case search input and titles\descriptions, no?

dchicherin commented 1 year ago

misread the task, search is already case-insensitive

AAKrasnova commented 11 months ago

The search provides relevant feedback when no matches are found. ❓ Do we want to provide some feedback? Currently we don't. Image

❓ Should red cross clear up input or exit search mode completely? //When it's done it feels somewhat aggressive


Tested: Done. ✅ When a user starts typing in the search bar, the list of tasks updates in real time based on the query. Tested: Done. ✅ Search results accurately reflect tasks that match the entered keywords. Tested: Done. ✅ Allow users to search not only by task name but also by other attributes like description

AAKrasnova commented 11 months ago

WEEKLY: '❓ Should red cross clear up input or exit search mode completely? //When it's done it feels somewhat aggressive' ^ Leave to future to think how to manage exit from Search and clear. For now leave like that