@finos/legend-application-studio 22.4.8 → 22.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/EditorComponentTestUtils.d.ts.map +1 -1
- package/lib/components/EditorComponentTestUtils.js +2 -1
- package/lib/components/EditorComponentTestUtils.js.map +1 -1
- package/lib/components/LegendStudioAppInfo.d.ts.map +1 -1
- package/lib/components/LegendStudioAppInfo.js +2 -2
- package/lib/components/LegendStudioAppInfo.js.map +1 -1
- package/lib/components/LegendStudioApplication.d.ts.map +1 -1
- package/lib/components/LegendStudioApplication.js +3 -3
- package/lib/components/LegendStudioApplication.js.map +1 -1
- package/lib/components/editor/ActivityBar.d.ts.map +1 -1
- package/lib/components/editor/ActivityBar.js +8 -3
- package/lib/components/editor/ActivityBar.js.map +1 -1
- package/lib/components/editor/Editor.js +4 -4
- package/lib/components/editor/Editor.js.map +1 -1
- package/lib/components/editor/StatusBar.js +1 -1
- package/lib/components/editor/StatusBar.js.map +1 -1
- package/lib/components/editor/aux-panel/DevTool.d.ts.map +1 -1
- package/lib/components/editor/aux-panel/DevTool.js +5 -1
- package/lib/components/editor/aux-panel/DevTool.js.map +1 -1
- package/lib/components/editor/command/project-search.css +1 -1
- package/lib/components/editor/command/project-search.css.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.js +2 -2
- package/lib/components/editor/command-center/ProjectSearchCommand.js.map +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.js +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.js +5 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.js +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js +9 -2
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js +4 -4
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js +4 -4
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.js +3 -2
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js +3 -3
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js +62 -8
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.js +5 -5
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.d.ts +20 -0
- package/lib/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.js +98 -0
- package/lib/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js +2 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js +6 -6
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js +2 -2
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js.map +1 -1
- package/lib/components/editor/side-bar/Explorer.d.ts.map +1 -1
- package/lib/components/editor/side-bar/Explorer.js +103 -16
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/ProjectDependantsEditor.js +3 -3
- package/lib/components/editor/side-bar/ProjectDependantsEditor.js.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.js +8 -8
- package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
- package/lib/components/editor/side-bar/RegisterService.d.ts +8 -0
- package/lib/components/editor/side-bar/RegisterService.d.ts.map +1 -0
- package/lib/components/editor/side-bar/RegisterService.js +35 -0
- package/lib/components/editor/side-bar/RegisterService.js.map +1 -0
- package/lib/components/editor/side-bar/SideBar.d.ts.map +1 -1
- package/lib/components/editor/side-bar/SideBar.js +3 -0
- package/lib/components/editor/side-bar/SideBar.js.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.js +2 -2
- package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.js +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.js +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
- package/lib/components/project-viewer/ProjectViewer.js +1 -1
- package/lib/components/project-viewer/ProjectViewer.js.map +1 -1
- package/lib/components/shared/ProjectSelectorUtils.d.ts.map +1 -1
- package/lib/components/shared/ProjectSelectorUtils.js +4 -4
- package/lib/components/shared/ProjectSelectorUtils.js.map +1 -1
- package/lib/components/workspace-review/WorkspaceReview.js +1 -1
- package/lib/components/workspace-review/WorkspaceReview.js.map +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.js +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSetup.js +2 -2
- package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +6 -4
- package/lib/stores/ChangeDetectionState.js +12 -12
- package/lib/stores/ChangeDetectionState.js.map +1 -1
- package/lib/stores/DependencyProjectViewerHelper.js +1 -1
- package/lib/stores/DependencyProjectViewerHelper.js.map +1 -1
- package/lib/stores/EditorConfig.d.ts +2 -1
- package/lib/stores/EditorConfig.d.ts.map +1 -1
- package/lib/stores/EditorConfig.js +1 -0
- package/lib/stores/EditorConfig.js.map +1 -1
- package/lib/stores/EditorGraphState.d.ts +1 -1
- package/lib/stores/EditorGraphState.d.ts.map +1 -1
- package/lib/stores/EditorGraphState.js +64 -59
- package/lib/stores/EditorGraphState.js.map +1 -1
- package/lib/stores/EditorSDLCState.d.ts.map +1 -1
- package/lib/stores/EditorSDLCState.js +21 -21
- package/lib/stores/EditorSDLCState.js.map +1 -1
- package/lib/stores/EditorStore.d.ts +2 -0
- package/lib/stores/EditorStore.d.ts.map +1 -1
- package/lib/stores/EditorStore.js +42 -39
- package/lib/stores/EditorStore.js.map +1 -1
- package/lib/stores/EditorTabManagerState.js +1 -1
- package/lib/stores/EditorTabManagerState.js.map +1 -1
- package/lib/stores/EmbeddedQueryBuilderState.d.ts.map +1 -1
- package/lib/stores/EmbeddedQueryBuilderState.js +8 -8
- package/lib/stores/EmbeddedQueryBuilderState.js.map +1 -1
- package/lib/stores/ExplorerTreeState.d.ts +5 -3
- package/lib/stores/ExplorerTreeState.d.ts.map +1 -1
- package/lib/stores/ExplorerTreeState.js +11 -5
- package/lib/stores/ExplorerTreeState.js.map +1 -1
- package/lib/stores/LegendStudioBaseStore.d.ts.map +1 -1
- package/lib/stores/LegendStudioBaseStore.js +15 -15
- package/lib/stores/LegendStudioBaseStore.js.map +1 -1
- package/lib/stores/LegendStudioDocumentation.d.ts +1 -0
- package/lib/stores/LegendStudioDocumentation.d.ts.map +1 -1
- package/lib/stores/LegendStudioDocumentation.js +1 -0
- package/lib/stores/LegendStudioDocumentation.js.map +1 -1
- package/lib/stores/LegendStudioStorage.d.ts +20 -0
- package/lib/stores/LegendStudioStorage.d.ts.map +1 -0
- package/lib/stores/LegendStudioStorage.js +21 -0
- package/lib/stores/LegendStudioStorage.js.map +1 -0
- package/lib/stores/editor-state/ExternalFormatState.js +2 -2
- package/lib/stores/editor-state/ExternalFormatState.js.map +1 -1
- package/lib/stores/editor-state/FileGenerationState.js +3 -3
- package/lib/stores/editor-state/FileGenerationState.js.map +1 -1
- package/lib/stores/editor-state/GrammarTextEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/GrammarTextEditorState.js +4 -1
- package/lib/stores/editor-state/GrammarTextEditorState.js.map +1 -1
- package/lib/stores/editor-state/GraphGenerationState.js +9 -9
- package/lib/stores/editor-state/GraphGenerationState.js.map +1 -1
- package/lib/stores/editor-state/ModelImporterState.d.ts.map +1 -1
- package/lib/stores/editor-state/ModelImporterState.js +9 -9
- package/lib/stores/editor-state/ModelImporterState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ClassEditorState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/ClassEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ClassState.js +6 -6
- package/lib/stores/editor-state/element-editor-state/ClassState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.js +2 -2
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.js +2 -2
- package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js +3 -3
- package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.d.ts +2 -1
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js +9 -1
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js +11 -11
- package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js +10 -10
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js +3 -3
- package/lib/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js +3 -3
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js +12 -12
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js +12 -12
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js +6 -6
- package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js +3 -3
- package/lib/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js +8 -8
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js +4 -4
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js +3 -3
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js +2 -2
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js.map +1 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js +2 -2
- package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js.map +1 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js +2 -2
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js.map +1 -1
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts +2 -0
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js +22 -12
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js.map +1 -1
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js +2 -2
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js.map +1 -1
- package/lib/stores/project-viewer/ProjectViewerStore.d.ts.map +1 -1
- package/lib/stores/project-viewer/ProjectViewerStore.js +13 -13
- package/lib/stores/project-viewer/ProjectViewerStore.js.map +1 -1
- package/lib/stores/shared/MockDataUtils.d.ts +6 -0
- package/lib/stores/shared/MockDataUtils.d.ts.map +1 -1
- package/lib/stores/shared/MockDataUtils.js +32 -3
- package/lib/stores/shared/MockDataUtils.js.map +1 -1
- package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.d.ts +6 -1
- package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.d.ts.map +1 -1
- package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.js +15 -1
- package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.js.map +1 -1
- package/lib/stores/sidebar-state/BulkServiceRegistrationState.d.ts +51 -0
- package/lib/stores/sidebar-state/BulkServiceRegistrationState.d.ts.map +1 -0
- package/lib/stores/sidebar-state/BulkServiceRegistrationState.js +237 -0
- package/lib/stores/sidebar-state/BulkServiceRegistrationState.js.map +1 -0
- package/lib/stores/sidebar-state/LocalChangesState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/LocalChangesState.js +19 -19
- package/lib/stores/sidebar-state/LocalChangesState.js.map +1 -1
- package/lib/stores/sidebar-state/ProjectOverviewState.js +11 -11
- package/lib/stores/sidebar-state/ProjectOverviewState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkflowManagerState.js +12 -12
- package/lib/stores/sidebar-state/WorkflowManagerState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceReviewState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceReviewState.js +23 -23
- package/lib/stores/sidebar-state/WorkspaceReviewState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceSyncState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceSyncState.js +10 -10
- package/lib/stores/sidebar-state/WorkspaceSyncState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js +33 -33
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.js +16 -16
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.js.map +1 -1
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.js +3 -3
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.js.map +1 -1
- package/lib/stores/workspace-review/WorkspaceReviewStore.js +16 -16
- package/lib/stores/workspace-review/WorkspaceReviewStore.js.map +1 -1
- package/lib/stores/workspace-setup/ProjectConfigurationStatus.js +1 -1
- package/lib/stores/workspace-setup/ProjectConfigurationStatus.js.map +1 -1
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js +17 -17
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js.map +1 -1
- package/package.json +15 -13
- package/src/components/EditorComponentTestUtils.tsx +3 -2
- package/src/components/LegendStudioAppInfo.tsx +4 -2
- package/src/components/LegendStudioApplication.tsx +6 -3
- package/src/components/editor/ActivityBar.tsx +11 -3
- package/src/components/editor/Editor.tsx +4 -4
- package/src/components/editor/StatusBar.tsx +4 -4
- package/src/components/editor/aux-panel/DevTool.tsx +7 -1
- package/src/components/editor/command-center/ProjectSearchCommand.tsx +8 -6
- package/src/components/editor/edit-panel/FunctionEditor.tsx +1 -1
- package/src/components/editor/edit-panel/GrammarTextEditor.tsx +7 -1
- package/src/components/editor/edit-panel/RuntimeEditor.tsx +1 -1
- package/src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx +77 -1
- package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.tsx +4 -4
- package/src/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.tsx +4 -4
- package/src/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.tsx +6 -2
- package/src/components/editor/edit-panel/mapping-editor/MappingTestEditor.tsx +3 -3
- package/src/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.tsx +1 -1
- package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx +164 -26
- package/src/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.tsx +13 -9
- package/src/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.tsx +283 -0
- package/src/components/editor/edit-panel/service-editor/ServiceEditor.tsx +4 -1
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.tsx +7 -7
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.tsx +1 -1
- package/src/components/editor/edit-panel/uml-editor/ClassEditor.tsx +1 -1
- package/src/components/editor/edit-panel/uml-editor/ClassQueryBuilder.tsx +4 -2
- package/src/components/editor/side-bar/Explorer.tsx +268 -40
- package/src/components/editor/side-bar/ProjectDependantsEditor.tsx +5 -5
- package/src/components/editor/side-bar/ProjectOverview.tsx +13 -13
- package/src/components/editor/side-bar/RegisterService.tsx +139 -0
- package/src/components/editor/side-bar/SideBar.tsx +9 -0
- package/src/components/editor/side-bar/WorkflowManager.tsx +6 -2
- package/src/components/editor/side-bar/WorkspaceReview.tsx +2 -2
- package/src/components/editor/side-bar/WorkspaceUpdater.tsx +2 -2
- package/src/components/project-viewer/ProjectViewer.tsx +2 -2
- package/src/components/shared/ProjectSelectorUtils.tsx +7 -5
- package/src/components/workspace-review/WorkspaceReview.tsx +4 -4
- package/src/components/workspace-setup/CreateProjectModal.tsx +1 -1
- package/src/components/workspace-setup/WorkspaceSetup.tsx +2 -2
- package/src/stores/ChangeDetectionState.ts +12 -12
- package/src/stores/DependencyProjectViewerHelper.ts +2 -2
- package/src/stores/EditorConfig.ts +1 -0
- package/src/stores/EditorGraphState.ts +80 -60
- package/src/stores/EditorSDLCState.ts +25 -21
- package/src/stores/EditorStore.ts +45 -39
- package/src/stores/EditorTabManagerState.ts +1 -1
- package/src/stores/EmbeddedQueryBuilderState.ts +14 -8
- package/src/stores/ExplorerTreeState.ts +16 -6
- package/src/stores/LegendStudioBaseStore.ts +29 -20
- package/src/stores/LegendStudioDocumentation.ts +1 -0
- package/src/stores/LegendStudioStorage.ts +20 -0
- package/src/stores/editor-state/ExternalFormatState.ts +2 -2
- package/src/stores/editor-state/FileGenerationState.ts +3 -3
- package/src/stores/editor-state/GrammarTextEditorState.ts +7 -1
- package/src/stores/editor-state/GraphGenerationState.ts +9 -9
- package/src/stores/editor-state/ModelImporterState.ts +13 -9
- package/src/stores/editor-state/element-editor-state/ClassEditorState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/ClassState.ts +6 -6
- package/src/stores/editor-state/element-editor-state/ElementEditorState.ts +2 -2
- package/src/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.ts +2 -2
- package/src/stores/editor-state/element-editor-state/FunctionEditorState.ts +3 -3
- package/src/stores/editor-state/element-editor-state/RuntimeEditorState.ts +3 -1
- package/src/stores/editor-state/element-editor-state/connection/ConnectionEditorState.ts +8 -0
- package/src/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +11 -11
- package/src/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.ts +12 -10
- package/src/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.ts +3 -3
- package/src/stores/editor-state/element-editor-state/mapping/MappingEditorState.ts +3 -3
- package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +12 -12
- package/src/stores/editor-state/element-editor-state/mapping/MappingTestState.ts +12 -12
- package/src/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.ts +6 -6
- package/src/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.ts +3 -3
- package/src/stores/editor-state/element-editor-state/service/ServiceEditorState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/service/ServiceExecutionState.ts +12 -8
- package/src/stores/editor-state/element-editor-state/service/ServiceRegistrationState.ts +4 -4
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.ts +3 -3
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +2 -2
- package/src/stores/editor-state/element-editor-state/testable/TestAssertionState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/testable/TestableEditorState.ts +1 -1
- package/src/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.ts +2 -2
- package/src/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.ts +2 -2
- package/src/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.ts +33 -12
- package/src/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.ts +2 -2
- package/src/stores/project-viewer/ProjectViewerStore.ts +15 -13
- package/src/stores/shared/MockDataUtils.ts +44 -3
- package/src/stores/shared/modifier/STO_Relational_GraphModifierHelper.ts +26 -1
- package/src/stores/sidebar-state/BulkServiceRegistrationState.ts +370 -0
- package/src/stores/sidebar-state/LocalChangesState.ts +21 -19
- package/src/stores/sidebar-state/ProjectOverviewState.ts +11 -11
- package/src/stores/sidebar-state/WorkflowManagerState.ts +12 -12
- package/src/stores/sidebar-state/WorkspaceReviewState.ts +27 -23
- package/src/stores/sidebar-state/WorkspaceSyncState.ts +16 -10
- package/src/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.ts +35 -33
- package/src/stores/sidebar-state/WorkspaceUpdaterState.ts +18 -16
- package/src/stores/sidebar-state/testable/GlobalTestRunnerState.ts +3 -3
- package/src/stores/workspace-review/WorkspaceReviewStore.ts +16 -16
- package/src/stores/workspace-setup/ProjectConfigurationStatus.ts +1 -1
- package/src/stores/workspace-setup/WorkspaceSetupStore.ts +17 -17
- package/tsconfig.json +4 -0
|
@@ -117,7 +117,7 @@ export class ProjectOverviewState {
|
|
|
117
117
|
).map((v) => Workspace.serialization.fromJson(v));
|
|
118
118
|
} catch (error) {
|
|
119
119
|
assertErrorThrown(error);
|
|
120
|
-
this.editorStore.applicationStore.
|
|
120
|
+
this.editorStore.applicationStore.logService.error(
|
|
121
121
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
122
122
|
error,
|
|
123
123
|
);
|
|
@@ -143,10 +143,10 @@ export class ProjectOverviewState {
|
|
|
143
143
|
workspace,
|
|
144
144
|
)
|
|
145
145
|
) {
|
|
146
|
-
this.editorStore.applicationStore.notifyWarning(
|
|
146
|
+
this.editorStore.applicationStore.notificationService.notifyWarning(
|
|
147
147
|
'Current workspace is deleted. Redirecting to workspace setup',
|
|
148
148
|
);
|
|
149
|
-
this.editorStore.applicationStore.navigator.goToLocation(
|
|
149
|
+
this.editorStore.applicationStore.navigationService.navigator.goToLocation(
|
|
150
150
|
generateSetupRoute(
|
|
151
151
|
this.editorStore.sdlcState.activeProject.projectId,
|
|
152
152
|
),
|
|
@@ -157,7 +157,7 @@ export class ProjectOverviewState {
|
|
|
157
157
|
}
|
|
158
158
|
} catch (error) {
|
|
159
159
|
assertErrorThrown(error);
|
|
160
|
-
this.editorStore.applicationStore.
|
|
160
|
+
this.editorStore.applicationStore.logService.error(
|
|
161
161
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
162
162
|
error,
|
|
163
163
|
);
|
|
@@ -181,7 +181,7 @@ export class ProjectOverviewState {
|
|
|
181
181
|
tags,
|
|
182
182
|
},
|
|
183
183
|
);
|
|
184
|
-
this.editorStore.applicationStore.notifySuccess(
|
|
184
|
+
this.editorStore.applicationStore.notificationService.notifySuccess(
|
|
185
185
|
`Project '${name}' is succesfully updated`,
|
|
186
186
|
);
|
|
187
187
|
yield flowResult(
|
|
@@ -191,7 +191,7 @@ export class ProjectOverviewState {
|
|
|
191
191
|
);
|
|
192
192
|
} catch (error) {
|
|
193
193
|
assertErrorThrown(error);
|
|
194
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
194
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
195
195
|
} finally {
|
|
196
196
|
this.isUpdatingProject = false;
|
|
197
197
|
}
|
|
@@ -263,7 +263,7 @@ export class ProjectOverviewState {
|
|
|
263
263
|
} catch (error) {
|
|
264
264
|
assertErrorThrown(error);
|
|
265
265
|
this.projectDependantEditorState.fetchingDependantInfoState.fail();
|
|
266
|
-
this.editorStore.applicationStore.
|
|
266
|
+
this.editorStore.applicationStore.logService.error(
|
|
267
267
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.DEPOT_MANAGER_FAILURE),
|
|
268
268
|
error,
|
|
269
269
|
);
|
|
@@ -350,7 +350,7 @@ export class ProjectOverviewState {
|
|
|
350
350
|
}
|
|
351
351
|
} catch (error) {
|
|
352
352
|
assertErrorThrown(error);
|
|
353
|
-
this.editorStore.applicationStore.
|
|
353
|
+
this.editorStore.applicationStore.logService.error(
|
|
354
354
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
355
355
|
error,
|
|
356
356
|
);
|
|
@@ -361,7 +361,7 @@ export class ProjectOverviewState {
|
|
|
361
361
|
|
|
362
362
|
*createVersion(versionType: NewVersionType): GeneratorFn<void> {
|
|
363
363
|
if (!this.editorStore.sdlcServerClient.features.canCreateVersion) {
|
|
364
|
-
this.editorStore.applicationStore.notifyError(
|
|
364
|
+
this.editorStore.applicationStore.notificationService.notifyError(
|
|
365
365
|
`Can't create version: not supported by SDLC server`,
|
|
366
366
|
);
|
|
367
367
|
return;
|
|
@@ -379,11 +379,11 @@ export class ProjectOverviewState {
|
|
|
379
379
|
yield flowResult(this.fetchLatestProjectVersion());
|
|
380
380
|
} catch (error) {
|
|
381
381
|
assertErrorThrown(error);
|
|
382
|
-
this.editorStore.applicationStore.
|
|
382
|
+
this.editorStore.applicationStore.logService.error(
|
|
383
383
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
384
384
|
error,
|
|
385
385
|
);
|
|
386
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
386
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
387
387
|
} finally {
|
|
388
388
|
this.isCreatingVersion = false;
|
|
389
389
|
}
|
|
@@ -151,11 +151,11 @@ export class WorkflowLogState {
|
|
|
151
151
|
this.fetchJobLogState.pass();
|
|
152
152
|
} catch (error) {
|
|
153
153
|
assertErrorThrown(error);
|
|
154
|
-
this.editorStore.applicationStore.
|
|
154
|
+
this.editorStore.applicationStore.logService.error(
|
|
155
155
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
156
156
|
error,
|
|
157
157
|
);
|
|
158
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
158
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
159
159
|
this.fetchJobLogState.fail();
|
|
160
160
|
}
|
|
161
161
|
}
|
|
@@ -171,11 +171,11 @@ export class WorkflowLogState {
|
|
|
171
171
|
this.fetchJobLogState.pass();
|
|
172
172
|
} catch (error) {
|
|
173
173
|
assertErrorThrown(error);
|
|
174
|
-
this.editorStore.applicationStore.
|
|
174
|
+
this.editorStore.applicationStore.logService.error(
|
|
175
175
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
176
176
|
error,
|
|
177
177
|
);
|
|
178
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
178
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
179
179
|
this.fetchJobLogState.fail();
|
|
180
180
|
}
|
|
181
181
|
}
|
|
@@ -247,11 +247,11 @@ export class WorkflowState {
|
|
|
247
247
|
this.setWorkflowTreeData({ ...treeData });
|
|
248
248
|
} catch (error) {
|
|
249
249
|
assertErrorThrown(error);
|
|
250
|
-
this.editorStore.applicationStore.
|
|
250
|
+
this.editorStore.applicationStore.logService.error(
|
|
251
251
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
252
252
|
error,
|
|
253
253
|
);
|
|
254
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
254
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
255
255
|
} finally {
|
|
256
256
|
this.isExecutingWorkflowRequest = false;
|
|
257
257
|
}
|
|
@@ -282,11 +282,11 @@ export class WorkflowState {
|
|
|
282
282
|
yield flowResult(this.refreshWorkflow(workflowJob.workflowId, treeData));
|
|
283
283
|
} catch (error) {
|
|
284
284
|
assertErrorThrown(error);
|
|
285
|
-
this.editorStore.applicationStore.
|
|
285
|
+
this.editorStore.applicationStore.logService.error(
|
|
286
286
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
287
287
|
error,
|
|
288
288
|
);
|
|
289
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
289
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
290
290
|
} finally {
|
|
291
291
|
this.isExecutingWorkflowRequest = false;
|
|
292
292
|
}
|
|
@@ -316,11 +316,11 @@ export class WorkflowState {
|
|
|
316
316
|
yield flowResult(this.refreshWorkflow(workflowJob.workflowId, treeData));
|
|
317
317
|
} catch (error) {
|
|
318
318
|
assertErrorThrown(error);
|
|
319
|
-
this.editorStore.applicationStore.
|
|
319
|
+
this.editorStore.applicationStore.logService.error(
|
|
320
320
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
321
321
|
error,
|
|
322
322
|
);
|
|
323
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
323
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
324
324
|
} finally {
|
|
325
325
|
this.isExecutingWorkflowRequest = false;
|
|
326
326
|
}
|
|
@@ -411,11 +411,11 @@ export abstract class WorkflowManagerState {
|
|
|
411
411
|
this.fetchWorkflowsState.pass();
|
|
412
412
|
} catch (error) {
|
|
413
413
|
assertErrorThrown(error);
|
|
414
|
-
this.editorStore.applicationStore.
|
|
414
|
+
this.editorStore.applicationStore.logService.error(
|
|
415
415
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
416
416
|
error,
|
|
417
417
|
);
|
|
418
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
418
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
419
419
|
this.fetchWorkflowsState.fail();
|
|
420
420
|
}
|
|
421
421
|
}
|
|
@@ -151,7 +151,7 @@ export class WorkspaceReviewState {
|
|
|
151
151
|
true,
|
|
152
152
|
),
|
|
153
153
|
]);
|
|
154
|
-
this.editorStore.applicationStore.
|
|
154
|
+
this.editorStore.applicationStore.logService.info(
|
|
155
155
|
LogEvent.create(
|
|
156
156
|
CHANGE_DETECTION_EVENT.CHANGE_DETECTION_RESTART__SUCCESS,
|
|
157
157
|
),
|
|
@@ -161,11 +161,11 @@ export class WorkspaceReviewState {
|
|
|
161
161
|
// ======= FINISHED (RE)START CHANGE DETECTION =======
|
|
162
162
|
} catch (error) {
|
|
163
163
|
assertErrorThrown(error);
|
|
164
|
-
this.editorStore.applicationStore.
|
|
164
|
+
this.editorStore.applicationStore.logService.error(
|
|
165
165
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
166
166
|
error,
|
|
167
167
|
);
|
|
168
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
168
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
169
169
|
this.sdlcState.handleChangeDetectionRefreshIssue(error);
|
|
170
170
|
} finally {
|
|
171
171
|
this.isRefreshingWorkspaceChangesDetector = false;
|
|
@@ -202,7 +202,9 @@ export class WorkspaceReviewState {
|
|
|
202
202
|
);
|
|
203
203
|
} catch (error) {
|
|
204
204
|
assertErrorThrown(error);
|
|
205
|
-
this.editorStore.applicationStore.notifyWarning(
|
|
205
|
+
this.editorStore.applicationStore.notificationService.notifyWarning(
|
|
206
|
+
error.message,
|
|
207
|
+
);
|
|
206
208
|
}
|
|
207
209
|
}
|
|
208
210
|
this.workspaceReview = review
|
|
@@ -210,11 +212,11 @@ export class WorkspaceReviewState {
|
|
|
210
212
|
: undefined;
|
|
211
213
|
} catch (error) {
|
|
212
214
|
assertErrorThrown(error);
|
|
213
|
-
this.editorStore.applicationStore.
|
|
215
|
+
this.editorStore.applicationStore.logService.error(
|
|
214
216
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
215
217
|
error,
|
|
216
218
|
);
|
|
217
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
219
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
218
220
|
this.sdlcState.handleChangeDetectionRefreshIssue(error);
|
|
219
221
|
} finally {
|
|
220
222
|
this.isFetchingCurrentWorkspaceReview = false;
|
|
@@ -224,7 +226,7 @@ export class WorkspaceReviewState {
|
|
|
224
226
|
*recreateWorkspaceAfterCommittingReview(): GeneratorFn<void> {
|
|
225
227
|
try {
|
|
226
228
|
this.isRecreatingWorkspaceAfterCommittingReview = true;
|
|
227
|
-
this.editorStore.applicationStore.setBlockingAlert({
|
|
229
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert({
|
|
228
230
|
message: 'Recreating workspace...',
|
|
229
231
|
prompt: 'Please do not close the application',
|
|
230
232
|
showLoading: true,
|
|
@@ -234,18 +236,20 @@ export class WorkspaceReviewState {
|
|
|
234
236
|
this.sdlcState.activeWorkspace.workspaceId,
|
|
235
237
|
this.sdlcState.activeWorkspace.workspaceType,
|
|
236
238
|
);
|
|
237
|
-
this.editorStore.applicationStore.navigator.reload({
|
|
239
|
+
this.editorStore.applicationStore.navigationService.navigator.reload({
|
|
238
240
|
ignoreBlocking: true,
|
|
239
241
|
});
|
|
240
242
|
} catch (error) {
|
|
241
243
|
assertErrorThrown(error);
|
|
242
|
-
this.editorStore.applicationStore.
|
|
244
|
+
this.editorStore.applicationStore.logService.error(
|
|
243
245
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
244
246
|
error,
|
|
245
247
|
);
|
|
246
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
248
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
247
249
|
} finally {
|
|
248
|
-
this.editorStore.applicationStore.setBlockingAlert(
|
|
250
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert(
|
|
251
|
+
undefined,
|
|
252
|
+
);
|
|
249
253
|
this.isRecreatingWorkspaceAfterCommittingReview = false;
|
|
250
254
|
}
|
|
251
255
|
}
|
|
@@ -263,11 +267,11 @@ export class WorkspaceReviewState {
|
|
|
263
267
|
this.workspaceReview = undefined;
|
|
264
268
|
} catch (error) {
|
|
265
269
|
assertErrorThrown(error);
|
|
266
|
-
this.editorStore.applicationStore.
|
|
270
|
+
this.editorStore.applicationStore.logService.error(
|
|
267
271
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
268
272
|
error,
|
|
269
273
|
);
|
|
270
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
274
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
271
275
|
} finally {
|
|
272
276
|
this.isClosingWorkspaceReview = false;
|
|
273
277
|
}
|
|
@@ -287,7 +291,7 @@ export class WorkspaceReviewState {
|
|
|
287
291
|
this.editorStore.projectConfigurationEditorState
|
|
288
292
|
.containsSnapshotDependencies
|
|
289
293
|
) {
|
|
290
|
-
this.editorStore.applicationStore.notifyWarning(
|
|
294
|
+
this.editorStore.applicationStore.notificationService.notifyWarning(
|
|
291
295
|
`Can't create review: workspace contains snapshot dependencies`,
|
|
292
296
|
);
|
|
293
297
|
return;
|
|
@@ -311,11 +315,11 @@ export class WorkspaceReviewState {
|
|
|
311
315
|
);
|
|
312
316
|
} catch (error) {
|
|
313
317
|
assertErrorThrown(error);
|
|
314
|
-
this.editorStore.applicationStore.
|
|
318
|
+
this.editorStore.applicationStore.logService.error(
|
|
315
319
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
316
320
|
error,
|
|
317
321
|
);
|
|
318
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
322
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
319
323
|
} finally {
|
|
320
324
|
this.isCreatingWorkspaceReview = false;
|
|
321
325
|
}
|
|
@@ -329,7 +333,7 @@ export class WorkspaceReviewState {
|
|
|
329
333
|
this.editorStore.projectConfigurationEditorState
|
|
330
334
|
.containsSnapshotDependencies
|
|
331
335
|
) {
|
|
332
|
-
this.editorStore.applicationStore.notifyWarning(
|
|
336
|
+
this.editorStore.applicationStore.notificationService.notifyWarning(
|
|
333
337
|
`Can't commit review: workspace contains snapshot dependencies`,
|
|
334
338
|
);
|
|
335
339
|
return;
|
|
@@ -343,7 +347,7 @@ export class WorkspaceReviewState {
|
|
|
343
347
|
this.sdlcState.checkIfCurrentWorkspaceIsInConflictResolutionMode(),
|
|
344
348
|
)) as boolean;
|
|
345
349
|
if (isInConflictResolutionMode) {
|
|
346
|
-
this.editorStore.applicationStore.setBlockingAlert({
|
|
350
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert({
|
|
347
351
|
message: 'Workspace is in conflict resolution mode',
|
|
348
352
|
prompt: 'Please refresh the application',
|
|
349
353
|
});
|
|
@@ -351,7 +355,7 @@ export class WorkspaceReviewState {
|
|
|
351
355
|
}
|
|
352
356
|
} catch (error) {
|
|
353
357
|
assertErrorThrown(error);
|
|
354
|
-
this.editorStore.applicationStore.notifyWarning(
|
|
358
|
+
this.editorStore.applicationStore.notificationService.notifyWarning(
|
|
355
359
|
'Failed to check if current workspace is in conflict resolution mode',
|
|
356
360
|
);
|
|
357
361
|
return;
|
|
@@ -363,7 +367,7 @@ export class WorkspaceReviewState {
|
|
|
363
367
|
review.id,
|
|
364
368
|
{ message: `${review.title} [review]` },
|
|
365
369
|
);
|
|
366
|
-
this.editorStore.applicationStore.setActionAlertInfo({
|
|
370
|
+
this.editorStore.applicationStore.alertService.setActionAlertInfo({
|
|
367
371
|
message: 'Committed review successfully',
|
|
368
372
|
prompt:
|
|
369
373
|
'You can create a new workspace with the same name or leave for the start page',
|
|
@@ -379,7 +383,7 @@ export class WorkspaceReviewState {
|
|
|
379
383
|
label: 'Leave',
|
|
380
384
|
type: ActionAlertActionType.PROCEED,
|
|
381
385
|
handler: (): void => {
|
|
382
|
-
this.editorStore.applicationStore.navigator.goToLocation(
|
|
386
|
+
this.editorStore.applicationStore.navigationService.navigator.goToLocation(
|
|
383
387
|
generateSetupRoute(
|
|
384
388
|
this.editorStore.sdlcState.activeProject.projectId,
|
|
385
389
|
),
|
|
@@ -394,11 +398,11 @@ export class WorkspaceReviewState {
|
|
|
394
398
|
});
|
|
395
399
|
} catch (error) {
|
|
396
400
|
assertErrorThrown(error);
|
|
397
|
-
this.editorStore.applicationStore.
|
|
401
|
+
this.editorStore.applicationStore.logService.error(
|
|
398
402
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
399
403
|
error,
|
|
400
404
|
);
|
|
401
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
405
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
402
406
|
} finally {
|
|
403
407
|
this.isCommittingWorkspaceReview = false;
|
|
404
408
|
}
|
|
@@ -429,7 +429,7 @@ export class WorkspaceSyncState {
|
|
|
429
429
|
*pullChanges(): GeneratorFn<void> {
|
|
430
430
|
try {
|
|
431
431
|
assertTrue(this.sdlcState.isWorkspaceOutOfSync);
|
|
432
|
-
this.editorStore.applicationStore.setBlockingAlert({
|
|
432
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert({
|
|
433
433
|
message: `Pulling latest changes...`,
|
|
434
434
|
showLoading: true,
|
|
435
435
|
});
|
|
@@ -446,8 +446,10 @@ export class WorkspaceSyncState {
|
|
|
446
446
|
this.editorStore.changeDetectionState.potentialWorkspacePullConflicts;
|
|
447
447
|
}
|
|
448
448
|
if (conflicts.length) {
|
|
449
|
-
this.editorStore.applicationStore.setBlockingAlert(
|
|
450
|
-
|
|
449
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert(
|
|
450
|
+
undefined,
|
|
451
|
+
);
|
|
452
|
+
this.editorStore.applicationStore.alertService.setActionAlertInfo({
|
|
451
453
|
message: 'Conflicts found while pulling changes',
|
|
452
454
|
prompt:
|
|
453
455
|
'You can either force-pull (override local changes) or resolve these conflicts manually',
|
|
@@ -482,7 +484,7 @@ export class WorkspaceSyncState {
|
|
|
482
484
|
yield flowResult(this.loadChanges(localChanges));
|
|
483
485
|
} catch (error) {
|
|
484
486
|
assertErrorThrown(error);
|
|
485
|
-
this.editorStore.applicationStore.notifyError(
|
|
487
|
+
this.editorStore.applicationStore.notificationService.notifyError(
|
|
486
488
|
`Can't pull changes. Error: ${error.message}`,
|
|
487
489
|
);
|
|
488
490
|
} finally {
|
|
@@ -533,23 +535,25 @@ export class WorkspaceSyncState {
|
|
|
533
535
|
try {
|
|
534
536
|
const changes = this.editorStore.graphState.computeLocalEntityChanges();
|
|
535
537
|
yield flowResult(this.loadChanges(changes));
|
|
536
|
-
this.editorStore.applicationStore.notifySuccess(
|
|
538
|
+
this.editorStore.applicationStore.notificationService.notifySuccess(
|
|
537
539
|
'Workspace changes were force-pulled',
|
|
538
540
|
);
|
|
539
541
|
} catch (error) {
|
|
540
542
|
assertErrorThrown(error);
|
|
541
543
|
this.resetConflictState();
|
|
542
|
-
this.editorStore.applicationStore.notifyError(
|
|
544
|
+
this.editorStore.applicationStore.notificationService.notifyError(
|
|
543
545
|
`Can't force-pull remote workspace changes. Error: ${error.message}`,
|
|
544
546
|
);
|
|
545
547
|
} finally {
|
|
546
|
-
this.editorStore.applicationStore.setBlockingAlert(
|
|
548
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert(
|
|
549
|
+
undefined,
|
|
550
|
+
);
|
|
547
551
|
}
|
|
548
552
|
}
|
|
549
553
|
|
|
550
554
|
*applyResolutionChanges(): GeneratorFn<void> {
|
|
551
555
|
try {
|
|
552
|
-
this.editorStore.applicationStore.setBlockingAlert({
|
|
556
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert({
|
|
553
557
|
message: `Applying resolutions and reloading graph...`,
|
|
554
558
|
showLoading: true,
|
|
555
559
|
});
|
|
@@ -561,11 +565,13 @@ export class WorkspaceSyncState {
|
|
|
561
565
|
} catch (error) {
|
|
562
566
|
assertErrorThrown(error);
|
|
563
567
|
this.resetConflictState();
|
|
564
|
-
this.editorStore.applicationStore.notifyError(
|
|
568
|
+
this.editorStore.applicationStore.notificationService.notifyError(
|
|
565
569
|
`Can't apply resolutions to local workspace. Error: ${error.message}`,
|
|
566
570
|
);
|
|
567
571
|
} finally {
|
|
568
|
-
this.editorStore.applicationStore.setBlockingAlert(
|
|
572
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert(
|
|
573
|
+
undefined,
|
|
574
|
+
);
|
|
569
575
|
}
|
|
570
576
|
}
|
|
571
577
|
}
|
|
@@ -270,7 +270,7 @@ export class WorkspaceUpdateConflictResolutionState extends AbstractConflictReso
|
|
|
270
270
|
true,
|
|
271
271
|
),
|
|
272
272
|
]);
|
|
273
|
-
this.editorStore.applicationStore.
|
|
273
|
+
this.editorStore.applicationStore.logService.info(
|
|
274
274
|
LogEvent.create(
|
|
275
275
|
CHANGE_DETECTION_EVENT.CHANGE_DETECTION_RESTART__SUCCESS,
|
|
276
276
|
),
|
|
@@ -280,11 +280,11 @@ export class WorkspaceUpdateConflictResolutionState extends AbstractConflictReso
|
|
|
280
280
|
// ======= FINISHED (RE)START CHANGE DETECTION =======
|
|
281
281
|
} catch (error) {
|
|
282
282
|
assertErrorThrown(error);
|
|
283
|
-
this.editorStore.applicationStore.
|
|
283
|
+
this.editorStore.applicationStore.logService.error(
|
|
284
284
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
285
285
|
error,
|
|
286
286
|
);
|
|
287
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
287
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
288
288
|
this.sdlcState.handleChangeDetectionRefreshIssue(error);
|
|
289
289
|
throw error;
|
|
290
290
|
}
|
|
@@ -363,7 +363,7 @@ export class WorkspaceUpdateConflictResolutionState extends AbstractConflictReso
|
|
|
363
363
|
this.editorStore.changeDetectionState.stop();
|
|
364
364
|
yield this.editorStore.changeDetectionState.preComputeGraphElementHashes();
|
|
365
365
|
this.editorStore.changeDetectionState.start();
|
|
366
|
-
this.editorStore.applicationStore.
|
|
366
|
+
this.editorStore.applicationStore.logService.info(
|
|
367
367
|
LogEvent.create(
|
|
368
368
|
CHANGE_DETECTION_EVENT.CHANGE_DETECTION_RESTART__SUCCESS,
|
|
369
369
|
),
|
|
@@ -372,11 +372,11 @@ export class WorkspaceUpdateConflictResolutionState extends AbstractConflictReso
|
|
|
372
372
|
// ======= FINISHED (RE)START CHANGE DETECTION =======
|
|
373
373
|
} catch (error) {
|
|
374
374
|
assertErrorThrown(error);
|
|
375
|
-
this.editorStore.applicationStore.
|
|
375
|
+
this.editorStore.applicationStore.logService.error(
|
|
376
376
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
377
377
|
error,
|
|
378
378
|
);
|
|
379
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
379
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
|
|
@@ -419,11 +419,11 @@ export class WorkspaceUpdateConflictResolutionState extends AbstractConflictReso
|
|
|
419
419
|
this.editorStore.tabManagerState.refreshCurrentEntityDiffViewer();
|
|
420
420
|
} catch (error) {
|
|
421
421
|
assertErrorThrown(error);
|
|
422
|
-
this.editorStore.applicationStore.
|
|
422
|
+
this.editorStore.applicationStore.logService.error(
|
|
423
423
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
424
424
|
error,
|
|
425
425
|
);
|
|
426
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
426
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
429
|
|
|
@@ -453,11 +453,11 @@ export class WorkspaceUpdateConflictResolutionState extends AbstractConflictReso
|
|
|
453
453
|
this.editorStore.tabManagerState.refreshCurrentEntityDiffViewer();
|
|
454
454
|
} catch (error) {
|
|
455
455
|
assertErrorThrown(error);
|
|
456
|
-
this.editorStore.applicationStore.
|
|
456
|
+
this.editorStore.applicationStore.logService.error(
|
|
457
457
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
458
458
|
error,
|
|
459
459
|
);
|
|
460
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
460
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
463
|
|
|
@@ -468,7 +468,7 @@ export class WorkspaceUpdateConflictResolutionState extends AbstractConflictReso
|
|
|
468
468
|
this.sdlcState.checkIfCurrentWorkspaceIsInConflictResolutionMode(),
|
|
469
469
|
)) as boolean;
|
|
470
470
|
if (!isInConflictResolutionMode) {
|
|
471
|
-
this.editorStore.applicationStore.setBlockingAlert({
|
|
471
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert({
|
|
472
472
|
message: 'Workspace is no longer in conflict resolution mode',
|
|
473
473
|
prompt: 'Please refresh the application',
|
|
474
474
|
});
|
|
@@ -480,12 +480,12 @@ export class WorkspaceUpdateConflictResolutionState extends AbstractConflictReso
|
|
|
480
480
|
error instanceof NetworkClientError &&
|
|
481
481
|
error.response.status === HttpStatus.NOT_FOUND
|
|
482
482
|
) {
|
|
483
|
-
this.editorStore.applicationStore.setBlockingAlert({
|
|
483
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert({
|
|
484
484
|
message: 'Current project or workspace no longer exists',
|
|
485
485
|
prompt: 'Please refresh the application',
|
|
486
486
|
});
|
|
487
487
|
} else {
|
|
488
|
-
this.editorStore.applicationStore.notifyWarning(
|
|
488
|
+
this.editorStore.applicationStore.notificationService.notifyWarning(
|
|
489
489
|
'Failed to check if current workspace is in conflict resolution mode',
|
|
490
490
|
);
|
|
491
491
|
}
|
|
@@ -494,7 +494,7 @@ export class WorkspaceUpdateConflictResolutionState extends AbstractConflictReso
|
|
|
494
494
|
|
|
495
495
|
try {
|
|
496
496
|
this.isAcceptingConflictResolution = true;
|
|
497
|
-
this.editorStore.applicationStore.setBlockingAlert({
|
|
497
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert({
|
|
498
498
|
message: 'Accepting conflict resolution...',
|
|
499
499
|
prompt: 'Please do not close the application',
|
|
500
500
|
showLoading: true,
|
|
@@ -516,16 +516,16 @@ export class WorkspaceUpdateConflictResolutionState extends AbstractConflictReso
|
|
|
516
516
|
revisionId: this.sdlcState.activeRevision.id,
|
|
517
517
|
},
|
|
518
518
|
);
|
|
519
|
-
this.editorStore.applicationStore.navigator.reload({
|
|
519
|
+
this.editorStore.applicationStore.navigationService.navigator.reload({
|
|
520
520
|
ignoreBlocking: true,
|
|
521
521
|
});
|
|
522
522
|
} catch (error) {
|
|
523
523
|
assertErrorThrown(error);
|
|
524
|
-
this.editorStore.applicationStore.
|
|
524
|
+
this.editorStore.applicationStore.logService.error(
|
|
525
525
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
526
526
|
error,
|
|
527
527
|
);
|
|
528
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
528
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
529
529
|
} finally {
|
|
530
530
|
this.isAcceptingConflictResolution = false;
|
|
531
531
|
}
|
|
@@ -538,7 +538,7 @@ export class WorkspaceUpdateConflictResolutionState extends AbstractConflictReso
|
|
|
538
538
|
this.sdlcState.checkIfCurrentWorkspaceIsInConflictResolutionMode(),
|
|
539
539
|
)) as boolean;
|
|
540
540
|
if (!isInConflictResolutionMode) {
|
|
541
|
-
this.editorStore.applicationStore.setBlockingAlert({
|
|
541
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert({
|
|
542
542
|
message: 'Workspace is no longer in conflict resolution mode',
|
|
543
543
|
prompt: 'Please refresh the application',
|
|
544
544
|
});
|
|
@@ -550,12 +550,12 @@ export class WorkspaceUpdateConflictResolutionState extends AbstractConflictReso
|
|
|
550
550
|
error instanceof NetworkClientError &&
|
|
551
551
|
error.response.status === HttpStatus.NOT_FOUND
|
|
552
552
|
) {
|
|
553
|
-
this.editorStore.applicationStore.setBlockingAlert({
|
|
553
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert({
|
|
554
554
|
message: 'Current project or workspace no longer exists',
|
|
555
555
|
prompt: 'Please refresh the application',
|
|
556
556
|
});
|
|
557
557
|
} else {
|
|
558
|
-
this.editorStore.applicationStore.notifyWarning(
|
|
558
|
+
this.editorStore.applicationStore.notificationService.notifyWarning(
|
|
559
559
|
'Failed to check if current workspace is in conflict resolution mode',
|
|
560
560
|
);
|
|
561
561
|
}
|
|
@@ -564,7 +564,7 @@ export class WorkspaceUpdateConflictResolutionState extends AbstractConflictReso
|
|
|
564
564
|
|
|
565
565
|
try {
|
|
566
566
|
this.isDiscardingConflictResolutionChanges = true;
|
|
567
|
-
this.editorStore.applicationStore.setBlockingAlert({
|
|
567
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert({
|
|
568
568
|
message: 'Discarding conflict resolution changes...',
|
|
569
569
|
prompt: 'Please do not close the application',
|
|
570
570
|
showLoading: true,
|
|
@@ -573,16 +573,16 @@ export class WorkspaceUpdateConflictResolutionState extends AbstractConflictReso
|
|
|
573
573
|
this.sdlcState.activeProject.projectId,
|
|
574
574
|
this.sdlcState.activeWorkspace,
|
|
575
575
|
);
|
|
576
|
-
this.editorStore.applicationStore.navigator.reload({
|
|
576
|
+
this.editorStore.applicationStore.navigationService.navigator.reload({
|
|
577
577
|
ignoreBlocking: true,
|
|
578
578
|
});
|
|
579
579
|
} catch (error) {
|
|
580
580
|
assertErrorThrown(error);
|
|
581
|
-
this.editorStore.applicationStore.
|
|
581
|
+
this.editorStore.applicationStore.logService.error(
|
|
582
582
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
583
583
|
error,
|
|
584
584
|
);
|
|
585
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
585
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
586
586
|
} finally {
|
|
587
587
|
this.isDiscardingConflictResolutionChanges = false;
|
|
588
588
|
}
|
|
@@ -595,7 +595,7 @@ export class WorkspaceUpdateConflictResolutionState extends AbstractConflictReso
|
|
|
595
595
|
this.sdlcState.checkIfCurrentWorkspaceIsInConflictResolutionMode(),
|
|
596
596
|
)) as boolean;
|
|
597
597
|
if (!isInConflictResolutionMode) {
|
|
598
|
-
this.editorStore.applicationStore.setBlockingAlert({
|
|
598
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert({
|
|
599
599
|
message: 'Workspace is no longer in conflict resolution mode',
|
|
600
600
|
prompt: 'Please refresh the application',
|
|
601
601
|
});
|
|
@@ -607,12 +607,12 @@ export class WorkspaceUpdateConflictResolutionState extends AbstractConflictReso
|
|
|
607
607
|
error instanceof NetworkClientError &&
|
|
608
608
|
error.response.status === HttpStatus.NOT_FOUND
|
|
609
609
|
) {
|
|
610
|
-
this.editorStore.applicationStore.setBlockingAlert({
|
|
610
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert({
|
|
611
611
|
message: 'Current project or workspace no longer exists',
|
|
612
612
|
prompt: 'Please refresh the application',
|
|
613
613
|
});
|
|
614
614
|
} else {
|
|
615
|
-
this.editorStore.applicationStore.notifyWarning(
|
|
615
|
+
this.editorStore.applicationStore.notificationService.notifyWarning(
|
|
616
616
|
'Failed to check if current workspace is in conflict resolution mode',
|
|
617
617
|
);
|
|
618
618
|
}
|
|
@@ -621,7 +621,7 @@ export class WorkspaceUpdateConflictResolutionState extends AbstractConflictReso
|
|
|
621
621
|
|
|
622
622
|
try {
|
|
623
623
|
this.isAbortingConflictResolution = true;
|
|
624
|
-
this.editorStore.applicationStore.setBlockingAlert({
|
|
624
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert({
|
|
625
625
|
message: 'Aborting conflict resolution...',
|
|
626
626
|
prompt: 'Please do not close the application',
|
|
627
627
|
showLoading: true,
|
|
@@ -630,16 +630,16 @@ export class WorkspaceUpdateConflictResolutionState extends AbstractConflictReso
|
|
|
630
630
|
this.sdlcState.activeProject.projectId,
|
|
631
631
|
this.sdlcState.activeWorkspace,
|
|
632
632
|
);
|
|
633
|
-
this.editorStore.applicationStore.navigator.reload({
|
|
633
|
+
this.editorStore.applicationStore.navigationService.navigator.reload({
|
|
634
634
|
ignoreBlocking: true,
|
|
635
635
|
});
|
|
636
636
|
} catch (error) {
|
|
637
637
|
assertErrorThrown(error);
|
|
638
|
-
this.editorStore.applicationStore.
|
|
638
|
+
this.editorStore.applicationStore.logService.error(
|
|
639
639
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
640
640
|
error,
|
|
641
641
|
);
|
|
642
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
642
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
643
643
|
} finally {
|
|
644
644
|
this.isAbortingConflictResolution = false;
|
|
645
645
|
}
|
|
@@ -723,13 +723,15 @@ export class WorkspaceUpdateConflictResolutionState extends AbstractConflictReso
|
|
|
723
723
|
*promptBuildGraphAfterAllConflictsResolved(): GeneratorFn<void> {
|
|
724
724
|
if (!this.conflicts.length) {
|
|
725
725
|
this.confirmHasResolvedAllConflicts();
|
|
726
|
-
this.editorStore.applicationStore.setBlockingAlert({
|
|
726
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert({
|
|
727
727
|
message: 'Building graph...',
|
|
728
728
|
prompt: 'Please do not close the application',
|
|
729
729
|
showLoading: true,
|
|
730
730
|
});
|
|
731
731
|
yield flowResult(this.buildGraphInConflictResolutionMode());
|
|
732
|
-
this.editorStore.applicationStore.setBlockingAlert(
|
|
732
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert(
|
|
733
|
+
undefined,
|
|
734
|
+
);
|
|
733
735
|
}
|
|
734
736
|
}
|
|
735
737
|
}
|