Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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 exist in the list

  • It needs to search in the list for every offer that contains at least three characters of the name in any part of it (beginning, middle, ending)according to what was typed

  • It should consider every character typed as lowercase to search in the list

    • Space won’t count as a character too

  • 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

...

Use of regex to get any part of the text typed to compare to the list of offers to be assigned

(error) Cons:

  • Creation The creation of a new constant to search offers names by based on what was typed instead of using native properties.

...