CHRYSICS / CS361-Group-04

Git repository for software engineering I (CS361) for group 04
0 stars 2 forks source link

Ingredient alternatives: 'pros' and 'cons' columns do not refresh. #23

Open elaguerta opened 4 years ago

elaguerta commented 4 years ago

When swapping ingredients, the colored ratings in the table don't seem to change to reflect the newly selected ingredient. To reproduce the error, navigate to the page to check for ethical options:

  1. Select a recipe image
  2. Click "Check for Ethical Options" image
  3. Swap out an ingredient. For example, I swapped to 'butter-organic', but the r_global_warming = 2.0 still shows up under Cons: image

Originally posted by @elaguerta in https://github.com/CHRYSICS/CS361-Group-04/issues/20#issuecomment-736083762

CHRYSICS commented 4 years ago

Thanks, this hasn't been updated yet to be dynamic. Wanted to make sure that calculated scores worked first before moving to ingredient pro/con comparison.