JGCRI / hectorui

A web-based interactive scenario builder and visualization application for the Hector climate model
https://jgcri.github.io/hectorui
GNU General Public License v3.0
5 stars 3 forks source link

Fix save toggle #64

Closed stephpenn1 closed 9 months ago

stephpenn1 commented 9 months ago

NOTE: do not merge yet, I need to resolve conflicts and fix the way the Scenario shows up on the plot

Save toggle

Our biggest hurdle in getting the save toggle to work was the popup module, so for now I took that out and focused on the mechanism. The save toggle and run name is now in the panel, and we can tweak where this goes later: Screenshot 2023-12-08 at 4 48 45 PM

Chris mentioned that this way is more accessible as well in instances where a computer blocks popups.

Code restructuring

Plot updates

I've also added the run name and variable to the title, so users know which run is being shown:

Saved Run

Screenshot 2023-12-08 at 4 47 42 PM

Unsaved Run

Screenshot 2023-12-08 at 4 47 42 PM

stephpenn1 commented 9 months ago

If we change parameters but keep same saved run name, does it overwrite?