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:
Chris mentioned that this way is more accessible as well in instances where a computer blocks popups.
Code restructuring
new function script: components/functions/func_graph_plots.R: this allows us to graph when the "Run" button is clicked, we can supplement modules with functions in this way when passing arguments between modules become cumbersome
mod_run.R: main changes are in the _runserver function, now that our run name input is already in the environment when "Run" is clicked, we don't have to worry about the code execution order
Plot updates
I've also added the run name and variable to the title, so users know which run is being shown:
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:
Chris mentioned that this way is more accessible as well in instances where a computer blocks popups.
Code restructuring
components/functions/func_graph_plots.R
: this allows us to graph when the "Run" button is clicked, we can supplement modules with functions in this way when passing arguments between modules become cumbersomemod_run.R
: main changes are in the _runserver function, now that our run name input is already in the environment when "Run" is clicked, we don't have to worry about the code execution orderPlot updates
I've also added the run name and variable to the title, so users know which run is being shown:
Saved Run
Unsaved Run