NAVADMC / ADSM

A simulation of disease spread in livestock populations. Includes detection and containment simulation.
Other
10 stars 5 forks source link

Validation and Visual bugs with the Controls Page #934

Closed ConradSelig closed 5 years ago

ConradSelig commented 5 years ago

Controls can be turned on and off by toggling the slider on the "Controls" tab in the left-toolbar. This "Controls" page simply holds the name for the global controls section, however there are some interesting connections that are actually visible on the front end that I think we should be concerned with as they may be misleading to users. Here are four things I've noticed (and an annotated screenshot so it's easier to see what I'm describing)

A) Title of the Controls page is "Edit the Vaccination Global" which is not only poor grammar but the Controls section also contains destruction and zone settings. B) Sample Scenarios controls name is "High Vaccination Capacity" which is also a relational function even though they are not connected in any way. C) When the controls page is open is visual appears as if the Vaccination Global page is open as well - this works vice versa D) You can't really see it in the screenshot, but these validation markers are tracking the same thing. When the Vaccination Global page is filled out the Controls validation marker will also turn green - even if none of the other controls are validated. The Controls marker should turn green when ALL the controls pages are valid.

image.png

If this is still confusing we should plan to talk about it at Tuesdays meeting and leave a note here that is more flushed-out.

missyschoenbaum commented 5 years ago

Maybe this explains why the wording is bad. Production Controls page looks like this. It was updated to discuss how parameters are broken out. The name = High Vaccination Capacity is actually held in the database as an example name of a Control Plan. To change this, we would have to change the sample database build script. Controls_from_Prod_2019_05_21

missyschoenbaum commented 5 years ago

Here's an image, the vaccination global isn't appearing open in Prod. Controls_from_Prod_2019_05_21_2

ConradSelig commented 5 years ago

WOW - I have learned a LOT about how front-end pages are rendered during the process of this ticket. On top of that, I've cleared up a lot of the issues we were looking to fix up when we set out to migrate ControlMasterPlan to VaccinationGlobal (#933).

Here is a brief overview of the changes made:

missyschoenbaum commented 5 years ago

I think we are OK with no validation on Control Plan. We love it when you learn lots of stuff.

ConradSelig commented 5 years ago

The bugs introduced in this ticket were a result of #933.

missyschoenbaum commented 5 years ago

Got my Controls page, think we are good here.