[Pull Request] Dev=UI separate si#3
Open
StardustSeemsInk wants to merge 11 commits into
Open
Conversation
…o" Function; Change Exe OutputType to dll(Library); Add PluginStruct.json to WPF plugin.
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.
What does this PR do?
将Dashboard的后端逻辑分离为Core项目(和Core.Contract项目),并添加了Workflow相关的功能(包括BlockScript与蓝图,它们的互译与编译运行/debug模式运行,前端编辑器窗口与工作流库管理界面)。
This pull request includes significant refactoring and feature enhancements for the C#, WPF, and WinForms test plugins, along with project configuration updates and the addition of a GitHub Actions workflow for repository mirroring. The main themes are modernization of project structure, improved plugin metadata and function definitions, enhanced command handling, and better UI integration for WPF. Below are the most important changes grouped by theme:
C# Plugin Refactoring and Metadata Improvements:
IdentityInterfaceandControllerinTestPlugin.CSharpto use the newPluginInfostructure, centralizing all plugin metadata (name, version, display names, descriptions, author, etc.) and functions in a single object. TheSayHellofunction is now fully described and implemented, and all legacy metadata methods are removed. (TestPlugin.CSharp/IdentityInterface.cs,TestPlugin.CSharp/Controller.cs) [1] [2] [3] [4]KitX.Shared.CSharpstructure for better consistency and future compatibility. (TestPlugin.CSharp/Controller.cs,TestPlugin.Winform.Core/Controller.cs,TestPlugin.WPF.Core/Controller.cs,TestPlugin.WPF.Core/MainWindow.xaml.cs) [1] [2] [3] [4]Command Handling and Functionality:
Controllerclasses: now supports request/response viaRequestobjects, including serialization with options, and adds proper response handling for theSayHellofunction in the C# plugin. (TestPlugin.CSharp/Controller.cs,TestPlugin.Winform.Core/Controller.cs) [1] [2]Functionsclass with attribute-based metadata, supporting localization and parameter descriptions. The controller now supports functions likeHelloKitX,HelloAnything, andGetInput, with proper UI integration for input and trigger handling. (TestPlugin.WPF.Core/Functions.cs,TestPlugin.WPF.Core/Controller.cs,TestPlugin.WPF.Core/MainWindow.xaml,TestPlugin.WPF.Core/MainWindow.xaml.cs) [1] [2] [3] [4] [5]Project and Build System Modernization:
.NET 10.0(was.NET 8.0), set output type toLibraryfor plugins, and added analyzer references for code generation. (TestPlugin.CSharp/TestPlugin.CSharp.csproj,TestPlugin.WPF.Core/TestPlugin.WPF.Core.csproj) [1] [2] [3]UI and Plugin Structure Enhancements (WPF):
TestPlugin.WPF.Core/MainWindow.xaml,TestPlugin.WPF.Core/MainWindow.xaml.cs) [1] [2]PluginStruct.jsonfor WPF plugin to match new metadata and remove outdated fields. (TestPlugin.WPF.Core/PluginStruct.json)CI/CD and Maintenance:
mirror.yml) to automatically mirror the repository to Gitee on push or manual dispatch, supporting cross-platform code distribution. (.github/workflows/mirror.yml)These changes collectively modernize the plugin architecture, improve maintainability, and enhance the developer and user experience across the test plugins.