Skip to content

Import export#124

Merged
Clementsaic merged 4 commits intoreleasefrom
ImportExport
Mar 27, 2026
Merged

Import export#124
Clementsaic merged 4 commits intoreleasefrom
ImportExport

Conversation

@Soham2020sam
Copy link
Copy Markdown
Contributor

New Import Export options

@Soham2020sam
Copy link
Copy Markdown
Contributor Author

@copilot review

Copy link
Copy Markdown

Copilot AI commented Feb 13, 2026

@Soham2020sam I've opened a new pull request, #125, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds new Import/Export options to WebVis for downloading scenarios and exporting/importing configurations, integrating the controls into the GUI and tracking the currently loaded scenario for export.

Changes:

  • Track the currently loaded scenario content/name for later download.
  • Add Import/Export GUI panel: import config JSON, download current config, import scenario, download scenario, and view saved initial/final configs.
  • Update index.html to include hidden file inputs for scenario/config uploads.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 12 comments.

Show a summary per file
File Description
WebVis/src/utils.js Adds scenario/config download helpers and config JSON parsing for GUI-driven imports.
WebVis/src/Scenario.js Stores loaded scenario content/name into shared state for export.
WebVis/src/GUI.js Introduces Import/Export GUI and config-loading-from-JSON flow (replacing worker-based view).
WebVis/index.html Adds hidden file inputs used by the new Import/Export GUI actions.
.DS_Store Adds a macOS filesystem artifact (should not be committed).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread WebVis/src/GUI.js Outdated
Comment thread WebVis/src/GUI.js Outdated
Comment thread WebVis/src/GUI.js
Comment thread WebVis/src/utils.js
Comment thread WebVis/src/GUI.js
Comment thread WebVis/src/Scenario.js
Comment thread WebVis/src/GUI.js
Comment thread WebVis/src/GUI.js
Comment thread WebVis/src/utils.js
Comment thread WebVis/src/GUI.js Outdated
@Fred-Stock
Copy link
Copy Markdown
Member

Good to go

@Fred-Stock Fred-Stock closed this Mar 27, 2026
@Fred-Stock Fred-Stock reopened this Mar 27, 2026
@Clementsaic Clementsaic merged commit 2cfc34a into release Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants