optimamodel / optima

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

Undo redo #1692

Closed gchadder3 closed 7 years ago

gchadder3 commented 7 years ago

I've added Undo / Redo functionality to the Calibration, Programs, and Cost functions pages of the website. The behavior is generally sensible and intuitive:

The one thing I find weird about present functionality is that the saves on the first 2 tabs of the Cost functions page are independent, so if you save in one, the other one has not saved as well, so you can get some unintuitive things happening if you forget to save the other page.

It would probably not be very difficult to extend this functionality to the rest of the pages (Scenarios, Optimization, Geospatial) if so desired.