...
We will turn the offer search editable, allowing the user to type the offer name.
It cannot take much time to show the offer searched.
We have to warn the user when the offer does not appear on the list.
It needs to search in the list for every offer containing at least three characters of the name in any part (beginning, middle, ending) according to what was typed.
Space won’t count as a character to the three characters limitation
When searching in the list, The searching will not be case-sensitive, therefore the user may type both uppercase and lowercase letters, because the searching method will not be case-sensitive.
It should always show Sanity offer in an increasing alphabetical order.
It should have a temporary feature flag to ensure everything is working fine, such as
enable-search-assigned-offers
.
...