qdread / biodiversity-farm2fork

App for interactive visualization of food system biodiversity scenario model results
https://qdread.shinyapps.io/biodiversity-farm2fork/
1 stars 1 forks source link

Better behavior when invalid combinations are selected #4

Closed qdread closed 3 years ago

qdread commented 3 years ago

Another general fix: instead of returning errors for invalid combinations of input, either return an informative message or better yet, "gray out" invalid possibilities so that users can't select something invalid.

Right now, it just returns an error. There are quite a lot of invalid combinations so it actually might take a lot of guessing to find something that actually shows data.

qdread commented 3 years ago

Right now I am using validate() to flag invalid combinations without returning an error. Need to keep adding conditions to this. Maybe it would still be better to prevent user from selecting them though?

qdread commented 3 years ago

Closing this ish because redundant with #11