Refactor editor product runtime state architecture

This commit is contained in:
2026-05-01 00:31:42 +08:00
parent af0b84e7d4
commit a4da05008f
45 changed files with 2218 additions and 1397 deletions

View File

@@ -1,8 +1,7 @@
#include "Project/ProjectPanel.h"
#include "Assets/EditorIconService.h"
#include "SystemInteractionService.h"
#include "Panels/EditorPanelIds.h"
#include "Product/Core/Assets/EditorIconService.h"
#include "Product/Features/Workspace/Project/ProjectPanel.h"
#include "Product/Features/Workspace/Project/ProjectWorkspaceFeature.h"
#include "Product/Framework/System/SystemInteractionService.h"
#include <gtest/gtest.h>
@@ -117,7 +116,7 @@ private:
UIEditorHostedPanelDispatchEntry MakeProjectDispatchEntry() {
UIEditorHostedPanelDispatchEntry entry = {};
entry.panelId = std::string(kProjectPanelId);
entry.panelId = std::string(kProjectWorkspaceFeaturePanelId);
entry.presentationKind = UIEditorPanelPresentationKind::HostedContent;
entry.mounted = true;
entry.bounds = ::XCEngine::UI::UIRect(0.0f, 0.0f, 640.0f, 360.0f);