Skip to content

Cleaning up#487

Merged
agarny merged 10 commits intoopencor:mainfrom
agarny:cleaning-up
Apr 9, 2026
Merged

Cleaning up#487
agarny merged 10 commits intoopencor:mainfrom
agarny:cleaning-up

Conversation

@agarny
Copy link
Copy Markdown
Contributor

@agarny agarny commented Apr 9, 2026

No description provided.

agarny added 6 commits April 9, 2026 19:23
…n a model has been loaded.

We need to use `v-if` rather than `v-show` otherwise when we have several instances of OpenCOR with the `omex` prop then once the first instance has loaded its model, its `Loading model...` message will remain visible until the second instance has loaded its model, etc.
Copilot AI review requested due to automatic review settings April 9, 2026 11:35
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

Updates the renderer to better reflect long-running operations (model/external data loading), aligns external CSV parsing calls, and bumps build/runtime dependencies while updating how libOpenCOR WASM is loaded.

Changes:

  • Add a dedicated “Loading external data…” blocking message and include it in UI blocking conditions.
  • Fix external CSV parsing call site to use the externalData namespace consistently.
  • Update libOpenCOR WASM loading to use a versioned path and provide a locateFile handler for the .wasm, plus bump app/dependency versions (Electron/Vite, lockfiles).

Reviewed changes

Copilot reviewed 5 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/renderer/src/components/OpenCOR.vue Adds external-data loading overlay/state and adjusts model loading overlay rendering.
src/renderer/src/components/dialogs/SimulationExperimentViewSettingsDialog.vue Fixes CSV parsing invocation to externalData.parseExternalCsvData(...).
src/renderer/src/common/initialisation.ts Switches libOpenCOR to a versioned WASM URL and configures locateFile for the .wasm.
src/renderer/package.json Bumps renderer package version and Vite dependency.
src/renderer/bun.lock Lockfile updates for renderer dependency bumps.
package.json Bumps root package version; updates Electron and Vite.
bun.lock Lockfile updates for root dependency bumps.

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

@agarny agarny merged commit 69c0c91 into opencor:main Apr 9, 2026
9 checks passed
@agarny agarny deleted the cleaning-up branch April 9, 2026 12:07
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.

2 participants