Conversation
There was a problem hiding this comment.
Pull request overview
This pull request focuses on code cleanup and refactoring across multiple Vue components in the renderer. The changes primarily standardize naming conventions for template refs, remove unused code, and consolidate toast notification handling.
Changes:
- Standardized template ref naming with
Refsuffix (e.g.,mainDiv→mainDivRef,contextMenu→contextMenuRef) - Introduced centralized
addToasthelper function for consistent toast notifications - Removed dynamic ID generation and unused interface exports
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| GraphPanelWidget.vue | Renamed template refs mainDiv to mainDivRef and contextMenu to contextMenuRef |
| SimulationExperimentView.vue | Renamed template refs, removed ID customization, changed simulationOnly prop to required, refactored toolbar visibility logic, fixed typo, conditionally rendered center toolbar section |
| SimulationExperimentViewSettingsDialog.vue | Renamed popover refs to use Ref suffix, added Popover import |
| OpenCOR.vue | Renamed template refs, introduced addToast helper, removed ID customization logic, reorganized imports, added defensive check for toast element |
| MainMenu.vue | Renamed menuBar to menuBarRef, fixed duplicate word "clicking" in comment |
| ContentsComponent.vue | Removed unused IContentsComponent interface export, removed ID customization, changed simulationOnly prop to required |
| package.json, src/renderer/package.json | Bumped version from 0.20260224.0 to 0.20260224.1 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
src/renderer/src/components/dialogs/SimulationExperimentViewSettingsDialog.vue
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.