-
Notifications
You must be signed in to change notification settings - Fork 9
Project folder creation #247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Project folder creation #247
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request introduces a new "Create Project Folder" feature that establishes a standardized directory structure for INTO-CPS projects. The implementation adds IPC communication between the Electron main process and renderer, automatically creates required folders, and updates documentation with comprehensive diagrams.
Key Changes:
- Adds menu-driven project creation workflow with automatic directory structure generation
- Implements IPC handlers for bidirectional communication between main and renderer processes
- Updates configuration management to create all required directories (cosimulation/default, FMUs, results/cosimulation/default)
- Adds comprehensive Mermaid diagrams documenting application architecture and flow
- Configures semantic-release for automated versioning and draft releases
Reviewed changes
Copilot reviewed 20 out of 29 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| src/main.ts | Adds IPC handler for project creation with directory initialization |
| src/electron/gui/menu.ts | Implements "Create New Project" menu item with file dialog |
| src/electron/electronApi.ts | Exposes IPC methods for project creation and path operations |
| src/App.tsx | Adds React effect to handle project creation events |
| src/utils/config.ts | Refactored to create all required project directories automatically |
| src/types/global.d.ts | Adds type definitions for new IPC methods |
| tests/setupTests.ts | Adds mock implementations for new API methods |
| tests/unit/utils/errorHandler.test.ts | Updates test mocks with new API methods |
| release.config.ts | Configures semantic-release for automated changelog and releases |
| package.json | Adds semantic-release dependencies |
| docs/diagrams/*.mmd | Comprehensive Mermaid diagrams for architecture documentation |
| .github/workflows/release.yml | GitHub Actions workflow for draft releases |
| .github/workflows/build.yml | Removes unnecessary fake token environment variable |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
…lity in Electron API
4c7d9b4 to
235b907
Compare
New "Create project folder" feature, which creates a directory structure with the following folders:
Update IPC flow and diagrams.