mmcghee18 / qualityco

QualityCo MVP.
0 stars 0 forks source link

Filters should be "AND/OR" booleans, not "AND" #19

Closed skyetalavera closed 4 years ago

skyetalavera commented 4 years ago

Steps to Reproduce:

  1. Search "Toothbrush"
  2. Filter by Planet > Check the boxes for "Eco-friendly" (Terra & Co) and "environmentally friendly" (quip)
  3. Get error message that nothing matched that search

Definition of Done

  1. Search "Toothbrush"
  2. Filter by Planet > Check the boxes for "Eco-friendly" (Terra & Co) and "environmentally friendly" (quip)
  3. Both Terra & Co and quip show up as results.
Screen Shot 2020-08-26 at 9 25 08 AM

Basically when you select a tag, it shows all the results that match that tag. So rather than reducing down, the more tags you select, the more results you see. I realize this is not quite filtering, but I think it makes more sense for the consumer, right? They might want to see anything that is either eco-friendly or woman-founded. Since we probably won't have more than 10 brands listed per search, I'm thinking this makes more sense, but I'd love your perspective too.

For instance, when you search for a shirt on Nordstrom, you can select which color items you want. If you select white, cream, and beige, it will show you any item in that color, not just the items that contain all three colors.

Screen Shot 2020-08-26 at 9 30 54 AM
skyetalavera commented 4 years ago

Would be the same as the way the Price filter works right now.

Would also want this new logic to be applied to the Local filter too.

mmcghee18 commented 4 years ago

Since we're not sure which is best, I'm going to add a switch here where you can choose whether you're in AND or OR mode