optimamodel / optima

Optima HIV software tool
http://optimamodel.com
GNU Lesser General Public License v3.0
7 stars 1 forks source link

Make it so completed project stages are shown #1598

Closed cliffckerr closed 7 years ago

cliffckerr commented 7 years ago

I tried to make it so as you completed stages of a project, it would change from crosses to ticks, but I couldn't make it work. See branch show-completed-project-stages.

The logic is defined in project-service.js for calibrationOK, programsOK, and costFuncsOK. But I can't figure out how to use these Booleans to control the display of the menu.

NB, there's plenty of scope for refactoring since these functions are duplicated within e.g. optimization-ctrl.js.