area1707 / grace-shopper

3 stars 0 forks source link

ReactComponent - NavBar - search function #44

Closed alicec15 closed 7 years ago

alicec15 commented 7 years ago

Story: as a user of any sort, i want to be able to search for items based on their name

Implement: adding a search "form" in the nav bar and having that iterate through the acceessories that are already loaded on the component after mounting and displaying just those items

alicec15 commented 7 years ago

Things we need to fix:

  1. when pressing home, need to reload and not persist the search value
  2. can't search from pages other than home :[
alicec15 commented 7 years ago

Fixed the two issues above by changing front end route so that different things are being loaded based on the routes but a more optimal way to do it would probably to reset the main state so we can take away the extra route. ( lower priority )

alicec15 commented 7 years ago

Added a category drop down that will show items based on category when pressed