opensandiego / mealscount-backend

Optimizing a free-meal reimbursement program for K-12 schools
MIT License
12 stars 15 forks source link

Allow user to "Save Scenario" and "Load Scenario" after editing. For now store in Local Storage, but maybe in the future store on server? #32

Closed nikolajbaer closed 4 years ago

nikolajbaer commented 4 years ago

Add scenario saving

nikolajbaer commented 4 years ago

A first attempt is done for this.

The Issue: As District users enter their numbers and adjust the school list, they want to be able to preserve their edits so they don't have to do that all over again. Additionally they may want to present multiple scenarios to decision makers based upon estimated reimbursements.

The Solution: Allow users to "Save" a "Scenario" once they have edited a district detail, then reload it.

Current Implementation: localStorage (local to the browser, i.e. on a specific computer) will be used to save a named scenario and call it back up again. (NOTE: this is currently working and live, but needs polish, i.e. you can't remove a scenario, and it doesn't warn you if you are about to overwrite).

Further steps:

nikolajbaer commented 4 years ago

Closing this. For now CSV Import/Export seems to do a good job.