quintel / etmodel

Professional interface of the Energy Transition model.
https://energytransitionmodel.com/
MIT License
25 stars 12 forks source link

Update globals in the printed script tag when updating scenario settings in js #4233

Open noracato opened 3 months ago

noracato commented 3 months ago

When you save your scenario you secretly get a new one, so we can keep track of versions. In the background all variables are updated, however in the secret second script tag the printed values remain unchanged. This can lead to confusion by those who reference these tags. There could be an old api_session_id in there.

noracato commented 3 months ago

Also update the link to 'open in etengine' and possible other links @kaskranenburgQ if you find more, could you list them here please?

github-actions[bot] commented 1 month ago

This issue has had no activity for 60 days and will be closed in 7 days. Removing the "Stale" label or posting a comment will prevent it from being closed automatically. You can also add the "Pinned" label to ensure it isn't marked as stale in the future.