Skip to content

Conversation

@PandoraQS
Copy link
Collaborator

New "Create project folder" feature, which creates a directory structure with the following folders:

  • cosimulation/default
  • FMUs
  • results/cosimulation/default

Update IPC flow and diagrams.

Copy link

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

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.

@PandoraQS PandoraQS force-pushed the project-folder-creation branch from 4c7d9b4 to 235b907 Compare December 16, 2025 18:36
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.

1 participant