icra / ecam

Energy performance and Carbon emissions Assessment and Monitoring tool (Lluís Bosch, Lluís Corominas, IWA, Wacclim project, GIZ)
http://wacclim.org/ecam
Other
13 stars 17 forks source link

saving values in the optional assessments #463

Open sebakoe opened 3 years ago

sebakoe commented 3 years ago

Is it possible to save the entered values / choosen options in the optional assessments when switching from YES to NO to YES? (e.g. via the cache?!)

e.g. assessing truck transport (in this case it only one value, but other optional assessments are more complex)

image image image

holalluis commented 3 years ago

yes, this is the expected behaviour, sorry I was doing some testing (for language translation) and I enabled all the questions to "yes" by default (just in development mode), when you save a file all the "yes" or "no" options will be saved inside the json file

holalluis commented 3 years ago

please check now, the "no" and "yes" selections should be remembered when loading a file

sebakoe commented 3 years ago

that was not the issue, sorry my explanation was not good enough. The general saving works fine.

What I meant was that when after entering a value and turning the optional assessment off and on again, the previously entered values will be erased. So testing different scenerios is time consuming, you either have to save often or to re-enter the values. So, it would be good the the entered values are kept even if the option is turned off again.

holalluis commented 3 years ago

ah ok, now I understand. I have to come up with a way to solve this. I think that a button to duplicate a substage would work, because then would be easy to compare, right?

sebakoe commented 3 years ago

that work around might be ok - and the possibility of duplicating a substage, can save some time in general. I just realized that one can duplicate the entire assessment.