Repository navigation
Version 1.20261127.0 - #606
Merged
Merged
Conversation
New version.
…trace name gets a generated name everywhere, not just in the settings dialog.
…ck in a submenu with no enabled items.
… don't treat AltGr characters as shortcuts.
…r set of X values.
…of slow simulation runs, report runs that fail to start, and don't flicker our issues.
…active Simulation Experiment views.
…heir simulation data lookups.
… keep it separate from the Starting point.
…s on Windows/Linux.
…hanges in the window on macOS.
…focus back after a pointer interaction.
The images are broken!
…cheme, in any case.
There was a problem hiding this comment.
🟡 Changes recommended
The change has an unresolved critical CSP violation that blocks plot-module loading and initialization, along with a same-major-version removal of exported TypeScript types that breaks existing consumers.
2 open issues
What changed in this PR
This release updates OpenCOR to version 1.20261127.0, introduces runtime-loaded @opencor/plot integration, and broadens accessibility, dialog, simulation, and Electron functionality.
Changes:
- Strengthens TypeScript checking and modernizes public and internal interfaces.
- Improves focus management, keyboard navigation, validation, dialogs, menus, updates, and simulation controls.
- Updates CellDL handling, dependencies, build tooling, documentation, and CI/CD workflows.
| File | Description |
|---|---|
| tsconfig.web.json | Enables stricter unchecked indexed-access checking for Web code. |
| tsconfig.node.json | Enables stricter unchecked indexed-access checking for Node code. |
| tsconfig.json | Enables unchecked indexed-access checking across the repository. |
| tsconfig.app.json | Enables stricter indexed-access checking for the application. |
| tests/urischeme/index.html | Updates COMBINE terminology to OMEX. |
| src/renderer/vite.lib.config.ts | Exposes OpenCOR Plot and uPlot versions to library builds. |
| src/renderer/vite.config.ts | Exposes OpenCOR Plot and uPlot versions to Web builds. |
| src/renderer/tsconfig.json | Enables stricter indexed-access checking for renderer sources. |
| src/renderer/src/types/shims.d.ts | Declares build-time plotting version constants. |
| src/renderer/src/main.ts | Reformats drag-and-drop documentation. |
| src/renderer/src/libopencor/src/sed.h | Declares native simulation-delay bindings. |
| src/renderer/src/libopencor/src/sed.cpp | Implements native simulation-delay bindings. |
| src/renderer/src/libopencor/src/main.cpp | Exports native simulation-delay bindings. |
| src/renderer/src/libopencor/locLoggerApi.ts | Renames issue-related types. |
| src/renderer/src/libopencor/locFileApi.ts | Renames file and WebAssembly types. |
| src/renderer/src/libopencor/locApi.ts | Renames API types and exposes simulation-delay methods. |
| src/renderer/src/components/widgets/ToolbarButtonWidget.vue | Updates toolbar props, focus styling, and reduced-motion behavior. |
| src/renderer/src/components/widgets/ToastMessageWidget.vue | Adds severity-based toast lifetimes and focus or hover pausing. |
| src/renderer/src/components/widgets/ThemeWidget.vue | Improves the theme-switching label. |
| src/renderer/src/components/widgets/SafeBlockUIWidget.vue | Reformats blocking behavior documentation. |
| src/renderer/src/components/widgets/InputWidget.vue | Improves slider accessibility, precision, and focus restoration. |
| src/renderer/src/components/widgets/InputScientificNumberWidget.vue | Adds spinbutton semantics, validation feedback, and precise numeric handling. |
| src/renderer/src/components/widgets/ContextMenuWidget.vue | Adds checkable-item semantics, keyboard focus, and blur handling. |
| src/renderer/src/components/ViewSwitcherComponent.vue | Improves view navigation semantics and focus-ring handling. |
| src/renderer/src/components/views/UnsupportedFileTypeView.vue | Renames view descriptor types. |
| src/renderer/src/components/views/toolbar-based-view.css | Updates plot z-index documentation. |
| src/renderer/src/components/views/simulation-experiment-view.css | Adds shared simulation toolbar, splitter, side-panel, and status styles. |
| src/renderer/src/components/views/IssuesView.vue | Sanitizes issue HTML and adds an optional footer. |
| src/renderer/src/components/propertyEditors/SimulationPropertyEditor.vue | Adds initial-point editing and validation feedback. |
| src/renderer/src/components/propertyEditors/PropertyEditor.vue | Adds validation callbacks and shared side-panel styling. |
| src/renderer/src/components/OpenCORToast.ts | Adds structured issue-toast detail formatting. |
| src/renderer/src/components/OpenCORMessage.ts | Adds message IDs to prevent stale updates and hides. |
| src/renderer/src/components/OpenCORContext.ts | Renames the OpenCOR context interface. |
| src/renderer/src/components/dialogs/YesNoQuestionDialog.vue | Migrates questions to the shared message dialog and adjusts default focus. |
| src/renderer/src/components/dialogs/YesNoCancelQuestionDialog.vue | Migrates three-option questions to the shared message dialog. |
| src/renderer/src/components/dialogs/UpdateDownloadProgressDialog.vue | Adds cancellable downloads, installation status semantics, and focus handling. |
| src/renderer/src/components/dialogs/UpdateAvailableDialog.vue | Uses shared dialog buttons and updated sizing. |
| src/renderer/src/components/dialogs/SettingsDialog.vue | Uses shared dialog buttons and focus styling. |
| src/renderer/src/components/dialogs/OpenLocationDialog.vue | Improves terminology, input descriptions, and validation announcements. |
| src/renderer/src/components/dialogs/OkMessageDialog.vue | Migrates the dialog to the shared message implementation. |
| src/renderer/src/components/dialogs/MessageDialog.vue | Adds the shared message and question dialog implementation. |
| src/renderer/src/components/dialogs/message-dialog.css | Updates shared message-dialog styling and text selection. |
| src/renderer/src/components/dialogs/DisconnectFromGitHubDialog.vue | Removes the obsolete dialog component. |
| src/renderer/src/components/dialogs/DialogButtons.vue | Adds platform-specific dialog button ordering. |
| src/renderer/src/components/dialogs/ChangelogDialog.vue | Updates changelog sizing and scrolling behavior. |
| src/renderer/src/components/dialogs/BaseDialog.vue | Adds dialog sizing, focus-ring space, and top-most Escape handling. |
| src/renderer/src/components/dialogs/AboutDialog.vue | Uses updated dialog sizing and renamed types. |
| src/renderer/src/components/ChangelogComponent.vue | Improves changelog headings, spacing, separators, and date styling. |
| src/renderer/src/components/CellDLEditorPoolComponent.vue | Removes the obsolete pooled-editor component. |
| src/renderer/src/components/BlockingMessageComponent.vue | Adds cancellable blocking messages and optional focus management. |
| src/renderer/src/components/BackgroundComponent.vue | Improves background focus management and recent-file semantics. |
| src/renderer/src/common/vueCommon.ts | Adds splitter state, theme-transition handling, and renamed shared types. |
| src/renderer/src/common/viewRegistry.ts | Renames view and file-editor interfaces. |
| src/renderer/src/common/version.ts | Renames version metadata types. |
| src/renderer/src/common/settings.ts | Renames settings types and reports persistence failures. |
| src/renderer/src/common/initialisation.ts | Loads OpenCOR Plot and shared Vue and uPlot dependencies dynamically. |
| src/renderer/src/common/focusRing.ts | Adds centralized focus-ring detection helpers. |
| src/renderer/src/common/firebaseConfig.ts | Renames Firebase configuration types. |
| src/renderer/src/common/externalData.ts | Renames external CSV types and uses safer indexed iteration. |
| src/renderer/src/common/electronApi.ts | Extends Electron IPC typing for updates and file navigation. |
| src/renderer/src/common/dependencies.ts | Replaces the direct uPlot dependency slot with OpenCOR Plot. |
| src/renderer/src/common/constants.ts | Adds toast and Escape-handling constants. |
| src/renderer/src/common/colors.ts | Removes the unused CSS color helper. |
| src/renderer/src/common/changelog.ts | Renames changelog types. |
| src/renderer/src/common/celldlRuntime.ts | Renames the CellDL runtime type. |
| src/renderer/src/common/celldlEditorPool.ts | Removes the obsolete CellDL editor-pool implementation. |
| src/renderer/src/common/celldlEditor.ts | Adds per-view CellDL Editor lifecycle and command handling. |
| src/renderer/src/common/celldl.ts | Renames CellDL conversion types and OMEX generation APIs. |
| src/renderer/src/assets/app.css | Adds theme transitions, native color schemes, and shared focus-ring styling. |
| src/renderer/src/AppWithSimulationData.vue | Renames public simulation-data types. |
| src/renderer/src/AppWithExternalData.vue | Renames public external-data types. |
| src/renderer/scripts/version.new.ts | Validates version parsing. |
| src/renderer/scripts/prune.web.ts | Prunes temporary asset-upload files. |
| src/renderer/scripts/dependencies.update.ts | Handles safe indexed access and preserves peer dependency ranges. |
| src/renderer/scripts/celldl.runtime.ts | Reformats runtime hash documentation. |
| src/renderer/README.md | Updates public type references and removes the DeepWiki badge. |
| src/renderer/package.json | Updates the renderer version, dependencies, peer range, and lint script. |
| src/renderer/index.ts | Renames the public OpenCOR TypeScript API types. |
| src/renderer/index.html | Adds viewport and color-scheme metadata and blob-script CSP support. |
| src/renderer/changelog.json | Updates CellDL export terminology. |
| src/preload/index.ts | Adds update, file-navigation, and simulation-delay IPC bindings. |
| src/main/SplashScreenWindow.ts | Renames Electron configuration types. |
| src/main/MainMenu.ts | Adds file navigation commands, mnemonics, and macOS menu roles. |
| src/main/index.ts | Registers new IPC handlers and renamed configuration types. |
| README.md | Removes the DeepWiki badge. |
| package.json | Updates the desktop version, dependencies, and lint script. |
| electron.vite.config.ts | Exposes OpenCOR Plot and uPlot versions to Electron builds. |
| BUILD.md | Documents lint checking and release procedures. |
| biome.json | Updates SVG formatting exclusions. |
| .github/workflows/ci.yml | Uses frozen dependency installs and non-mutating lint checks. |
| .github/workflows/cddev.yml | Uses frozen dependency installs for development deployments. |
| .github/workflows/cd.yml | Adds release-version validation and frozen dependency installs. |
Review effort: Lite
| http-equiv="Content-Security-Policy" | ||
| content="default-src 'self'; connect-src * data:; script-src 'unsafe-eval'; script-src-elem 'self' https://apis.google.com https://cdn.jsdelivr.net https://fastly.jsdelivr.net https://gcore.jsdelivr.net https://cors-proxy.opencor.workers.dev; worker-src 'self' blob:; font-src 'self' data:; style-src 'self' 'unsafe-inline'; frame-src 'self' https://opencorapp.firebaseapp.com; img-src 'self' blob: data:" /> | ||
| <style scoped> | ||
| content="default-src 'self'; connect-src * data:; script-src 'unsafe-eval'; script-src-elem 'self' blob: https://apis.google.com https://cdn.jsdelivr.net https://fastly.jsdelivr.net https://gcore.jsdelivr.net https://cors-proxy.opencor.workers.dev; worker-src 'self' blob:; font-src 'self' data:; style-src 'self' 'unsafe-inline'; frame-src 'self' https://opencorapp.firebaseapp.com; img-src 'self' blob: data:" /> |
| export type OpenCORTheme = 'light' | 'dark' | 'system'; | ||
|
|
||
| export interface IOpenCORProps { | ||
| export interface OpenCORProps { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


No description provided.