@finos/legend-application-studio 22.6.0 → 23.0.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/application/LegendStudio.d.ts.map +1 -1
- package/lib/application/LegendStudio.js +8 -5
- package/lib/application/LegendStudio.js.map +1 -1
- package/lib/application/LegendStudioApplicationConfig.d.ts +4 -0
- package/lib/application/LegendStudioApplicationConfig.d.ts.map +1 -1
- package/lib/application/LegendStudioApplicationConfig.js +7 -1
- package/lib/application/LegendStudioApplicationConfig.js.map +1 -1
- package/lib/application/LegendStudioApplicationNavigationContext.d.ts.map +1 -0
- package/lib/application/LegendStudioApplicationNavigationContext.js.map +1 -0
- package/lib/application/LegendStudioCommand.d.ts.map +1 -0
- package/lib/application/LegendStudioCommand.js.map +1 -0
- package/lib/application/LegendStudioDocumentation.d.ts.map +1 -0
- package/lib/application/LegendStudioDocumentation.js.map +1 -0
- package/lib/{stores/LegendStudioAppEvent.d.ts → application/LegendStudioEvent.d.ts} +1 -1
- package/lib/application/LegendStudioEvent.d.ts.map +1 -0
- package/lib/{stores/LegendStudioAppEvent.js → application/LegendStudioEvent.js} +1 -1
- package/lib/application/LegendStudioEvent.js.map +1 -0
- package/{src/stores/LegendStudioStorage.ts → lib/application/LegendStudioEventHelper.d.ts} +4 -4
- package/lib/application/LegendStudioEventHelper.d.ts.map +1 -0
- package/lib/{stores/LegendStudioEventService.d.ts → application/LegendStudioEventHelper.js} +6 -7
- package/lib/application/LegendStudioEventHelper.js.map +1 -0
- package/lib/{stores/LegendStudioRouter.d.ts → application/LegendStudioNavigation.d.ts} +24 -24
- package/lib/application/LegendStudioNavigation.d.ts.map +1 -0
- package/lib/{stores/LegendStudioRouter.js → application/LegendStudioNavigation.js} +28 -28
- package/lib/application/LegendStudioNavigation.js.map +1 -0
- package/lib/{stores/LegendStudioStorage.d.ts → application/LegendStudioSetting.d.ts} +4 -2
- package/lib/application/LegendStudioSetting.d.ts.map +1 -0
- package/lib/{stores/LegendStudioEventService.js → application/LegendStudioSetting.js} +14 -14
- package/lib/application/LegendStudioSetting.js.map +1 -0
- package/lib/{stores/LegendStudioTelemetry.d.ts → application/LegendStudioTelemetryHelper.d.ts} +8 -8
- package/lib/application/LegendStudioTelemetryHelper.d.ts.map +1 -0
- package/lib/application/LegendStudioTelemetryHelper.js +37 -0
- package/lib/application/LegendStudioTelemetryHelper.js.map +1 -0
- package/lib/components/Core_LegendStudioApplicationPlugin.d.ts +2 -1
- package/lib/components/Core_LegendStudioApplicationPlugin.d.ts.map +1 -1
- package/lib/components/Core_LegendStudioApplicationPlugin.js +11 -6
- package/lib/components/Core_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/EditorComponentTestUtils.d.ts.map +1 -1
- package/lib/components/EditorComponentTestUtils.js +4 -5
- package/lib/components/EditorComponentTestUtils.js.map +1 -1
- package/lib/components/EmbeddedQueryBuilder.js +1 -1
- package/lib/components/EmbeddedQueryBuilder.js.map +1 -1
- package/lib/components/LegendStudioAppInfo.d.ts.map +1 -1
- package/lib/components/LegendStudioAppInfo.js +0 -1
- package/lib/components/LegendStudioAppInfo.js.map +1 -1
- package/lib/components/LegendStudioApplication.d.ts +0 -2
- package/lib/components/LegendStudioApplication.d.ts.map +1 -1
- package/lib/components/LegendStudioApplication.js +8 -8
- package/lib/components/LegendStudioApplication.js.map +1 -1
- package/lib/components/editor/ActivityBar.js +6 -6
- package/lib/components/editor/ActivityBar.js.map +1 -1
- package/lib/components/editor/Editor.d.ts.map +1 -1
- package/lib/components/editor/Editor.js +6 -2
- package/lib/components/editor/Editor.js.map +1 -1
- package/lib/components/editor/EditorStoreProvider.d.ts.map +1 -1
- package/lib/components/editor/EditorStoreProvider.js +1 -3
- package/lib/components/editor/EditorStoreProvider.js.map +1 -1
- package/lib/components/editor/StatusBar.d.ts.map +1 -1
- package/lib/components/editor/StatusBar.js +5 -8
- package/lib/components/editor/StatusBar.js.map +1 -1
- package/lib/components/editor/aux-panel/DevTool.js +2 -2
- package/lib/components/editor/aux-panel/DevTool.js.map +1 -1
- package/lib/components/editor/aux-panel/Problems.d.ts.map +1 -1
- package/lib/components/editor/aux-panel/Problems.js +4 -10
- package/lib/components/editor/aux-panel/Problems.js.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.js +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.js.map +1 -1
- package/lib/components/editor/edit-panel/FileGenerationViewer.js +1 -1
- package/lib/components/editor/edit-panel/FileGenerationViewer.js.map +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.js +3 -3
- package/lib/components/editor/edit-panel/FunctionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js +2 -2
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.js +8 -7
- package/lib/components/editor/edit-panel/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/ModelImporter.js +1 -1
- package/lib/components/editor/edit-panel/ModelImporter.js.map +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.js +3 -3
- package/lib/components/editor/edit-panel/RuntimeEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js +1 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js +1 -1
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js +1 -1
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js +1 -1
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.js +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js +1 -3
- 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/MappingExplorer.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js +1 -3
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.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.js +2 -2
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.js +2 -2
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js +2 -2
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js +2 -2
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js +0 -2
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js +2 -2
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js +8 -8
- 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 +1 -3
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js +2 -2
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/StereotypeSelector.js +1 -1
- package/lib/components/editor/edit-panel/uml-editor/StereotypeSelector.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/TaggedValueEditor.js +1 -1
- package/lib/components/editor/edit-panel/uml-editor/TaggedValueEditor.js.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.js +4 -0
- package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -1
- package/lib/components/editor/side-bar/Explorer.d.ts.map +1 -1
- package/lib/components/editor/side-bar/Explorer.js +18 -10
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.d.ts.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.js +4 -3
- package/lib/components/editor/side-bar/LocalChanges.js.map +1 -1
- package/lib/components/editor/side-bar/ProjectDependantsEditor.js +1 -1
- package/lib/components/editor/side-bar/ProjectDependantsEditor.js.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.js +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.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.d.ts.map +1 -1
- package/lib/components/project-viewer/ProjectViewer.js +7 -4
- package/lib/components/project-viewer/ProjectViewer.js.map +1 -1
- package/lib/components/shared/ProjectSelectorUtils.js +1 -1
- 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 +2 -2
- package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.js +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.js.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSetup.js +6 -6
- 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/index.d.ts +6 -5
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +5 -5
- package/lib/index.js.map +1 -1
- package/lib/package.json +4 -4
- package/lib/stores/{LegendStudioCodeSnippets.d.ts → Core_CodeSnippets.d.ts} +1 -1
- package/lib/stores/Core_CodeSnippets.d.ts.map +1 -0
- package/lib/stores/{LegendStudioCodeSnippets.js → Core_CodeSnippets.js} +1 -1
- package/lib/stores/Core_CodeSnippets.js.map +1 -0
- package/lib/stores/DependencyProjectViewerHelper.js +1 -1
- package/lib/stores/DependencyProjectViewerHelper.js.map +1 -1
- package/lib/stores/EditorGraphState.d.ts +10 -71
- package/lib/stores/EditorGraphState.d.ts.map +1 -1
- package/lib/stores/EditorGraphState.js +46 -540
- package/lib/stores/EditorGraphState.js.map +1 -1
- package/lib/stores/EditorSDLCState.js +1 -1
- package/lib/stores/EditorSDLCState.js.map +1 -1
- package/lib/stores/EditorStore.d.ts +11 -16
- package/lib/stores/EditorStore.d.ts.map +1 -1
- package/lib/stores/EditorStore.js +73 -215
- package/lib/stores/EditorStore.js.map +1 -1
- package/lib/stores/EditorStoreTestUtils.d.ts.map +1 -1
- package/lib/stores/EditorStoreTestUtils.js +1 -2
- package/lib/stores/EditorStoreTestUtils.js.map +1 -1
- package/lib/stores/EditorTabManagerState.d.ts +2 -1
- package/lib/stores/EditorTabManagerState.d.ts.map +1 -1
- package/lib/stores/EditorTabManagerState.js +63 -19
- package/lib/stores/EditorTabManagerState.js.map +1 -1
- package/lib/stores/EmbeddedQueryBuilderState.d.ts +0 -1
- package/lib/stores/EmbeddedQueryBuilderState.d.ts.map +1 -1
- package/lib/stores/EmbeddedQueryBuilderState.js +10 -9
- package/lib/stores/EmbeddedQueryBuilderState.js.map +1 -1
- package/lib/stores/ExplorerTreeState.d.ts.map +1 -1
- package/lib/stores/ExplorerTreeState.js +2 -2
- package/lib/stores/ExplorerTreeState.js.map +1 -1
- package/lib/stores/GraphEditFormModeState.d.ts +81 -0
- package/lib/stores/GraphEditFormModeState.d.ts.map +1 -0
- package/lib/stores/GraphEditFormModeState.js +370 -0
- package/lib/stores/GraphEditFormModeState.js.map +1 -0
- package/lib/stores/GraphEditGrammarModeState.d.ts +65 -0
- package/lib/stores/GraphEditGrammarModeState.d.ts.map +1 -0
- package/lib/stores/GraphEditGrammarModeState.js +315 -0
- package/lib/stores/GraphEditGrammarModeState.js.map +1 -0
- package/lib/stores/GraphEditorMode.d.ts +51 -0
- package/lib/stores/GraphEditorMode.d.ts.map +1 -0
- package/lib/stores/GraphEditorMode.js +35 -0
- package/lib/stores/GraphEditorMode.js.map +1 -0
- package/lib/stores/LegendStudioApplicationPlugin.d.ts +12 -5
- package/lib/stores/LegendStudioApplicationPlugin.d.ts.map +1 -1
- package/lib/stores/LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/stores/LegendStudioBaseStore.d.ts.map +1 -1
- package/lib/stores/LegendStudioBaseStore.js +25 -9
- package/lib/stores/LegendStudioBaseStore.js.map +1 -1
- package/lib/stores/editor/NewElementState.d.ts +2 -2
- package/lib/stores/editor/NewElementState.d.ts.map +1 -1
- package/lib/stores/editor/NewElementState.js +19 -10
- package/lib/stores/editor/NewElementState.js.map +1 -1
- package/lib/stores/editor/StandardEditorMode.js +1 -1
- package/lib/stores/editor/StandardEditorMode.js.map +1 -1
- package/lib/stores/editor-state/ExternalFormatState.js +1 -1
- package/lib/stores/editor-state/ExternalFormatState.js.map +1 -1
- package/lib/stores/editor-state/FileGenerationState.js +1 -1
- 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 +2 -2
- package/lib/stores/editor-state/GrammarTextEditorState.js.map +1 -1
- package/lib/stores/editor-state/GraphGenerationState.d.ts.map +1 -1
- package/lib/stores/editor-state/GraphGenerationState.js +2 -2
- package/lib/stores/editor-state/GraphGenerationState.js.map +1 -1
- package/lib/stores/editor-state/ModelImporterState.js +1 -1
- package/lib/stores/editor-state/ModelImporterState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js +6 -3
- 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.js +1 -1
- 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/MappingEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.d.ts +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js +8 -15
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js +6 -11
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.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 +7 -14
- 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 +1 -1
- 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 +3 -3
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js +1 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js.map +1 -1
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js +1 -1
- 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 +1 -1
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js.map +1 -1
- package/lib/stores/project-viewer/ProjectViewerEditorMode.js +1 -1
- package/lib/stores/project-viewer/ProjectViewerEditorMode.js.map +1 -1
- package/lib/stores/project-viewer/ProjectViewerStore.d.ts +1 -1
- package/lib/stores/project-viewer/ProjectViewerStore.d.ts.map +1 -1
- package/lib/stores/project-viewer/ProjectViewerStore.js +9 -15
- package/lib/stores/project-viewer/ProjectViewerStore.js.map +1 -1
- package/lib/stores/sidebar-state/BulkServiceRegistrationState.js +1 -1
- package/lib/stores/sidebar-state/BulkServiceRegistrationState.js.map +1 -1
- package/lib/stores/sidebar-state/LocalChangesState.d.ts +6 -3
- package/lib/stores/sidebar-state/LocalChangesState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/LocalChangesState.js +45 -12
- package/lib/stores/sidebar-state/LocalChangesState.js.map +1 -1
- package/lib/stores/sidebar-state/ProjectOverviewState.js +2 -2
- package/lib/stores/sidebar-state/ProjectOverviewState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkflowManagerState.js +1 -1
- package/lib/stores/sidebar-state/WorkflowManagerState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceReviewState.js +2 -2
- 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 +2 -2
- package/lib/stores/sidebar-state/WorkspaceSyncState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js +2 -2
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.js +1 -1
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.js.map +1 -1
- package/lib/stores/workspace-review/WorkspaceReviewStore.js +1 -1
- package/lib/stores/workspace-review/WorkspaceReviewStore.js.map +1 -1
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js +2 -2
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js.map +1 -1
- package/package.json +13 -13
- package/src/application/LegendStudio.tsx +8 -7
- package/src/application/LegendStudioApplicationConfig.ts +7 -0
- package/src/{stores/LegendStudioEventService.ts → application/LegendStudioEventHelper.ts} +3 -13
- package/src/{stores/LegendStudioRouter.ts → application/LegendStudioNavigation.ts} +40 -39
- package/{lib/stores/LegendStudioStorage.js → src/application/LegendStudioSetting.ts} +16 -6
- package/src/{stores/LegendStudioTelemetry.ts → application/LegendStudioTelemetryHelper.ts} +14 -26
- package/src/components/Core_LegendStudioApplicationPlugin.tsx +14 -5
- package/src/components/EditorComponentTestUtils.tsx +8 -14
- package/src/components/EmbeddedQueryBuilder.tsx +1 -1
- package/src/components/LegendStudioAppInfo.tsx +0 -1
- package/src/components/LegendStudioApplication.tsx +24 -21
- package/src/components/editor/ActivityBar.tsx +6 -6
- package/src/components/editor/Editor.tsx +10 -6
- package/src/components/editor/EditorStoreProvider.tsx +1 -8
- package/src/components/editor/StatusBar.tsx +10 -9
- package/src/components/editor/aux-panel/DevTool.tsx +3 -3
- package/src/components/editor/aux-panel/Problems.tsx +5 -10
- package/src/components/editor/command-center/ProjectSearchCommand.tsx +1 -4
- package/src/components/editor/edit-panel/FileGenerationViewer.tsx +1 -1
- package/src/components/editor/edit-panel/FunctionEditor.tsx +3 -3
- package/src/components/editor/edit-panel/GenerationSpecificationEditor.tsx +2 -2
- package/src/components/editor/edit-panel/GrammarTextEditor.tsx +13 -8
- package/src/components/editor/edit-panel/ModelImporter.tsx +1 -1
- package/src/components/editor/edit-panel/RuntimeEditor.tsx +3 -3
- package/src/components/editor/edit-panel/connection-editor/ConnectionEditor.tsx +1 -1
- package/src/components/editor/edit-panel/connection-editor/DatabaseBuilder.tsx +1 -1
- package/src/components/editor/edit-panel/data-editor/DataElementEditor.tsx +1 -1
- package/src/components/editor/edit-panel/data-editor/EmbeddedDataEditor.tsx +1 -1
- package/src/components/editor/edit-panel/diff-editor/EntityDiffView.tsx +1 -1
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.tsx +0 -1
- package/src/components/editor/edit-panel/mapping-editor/MappingEditor.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.tsx +1 -4
- package/src/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.tsx +3 -2
- package/src/components/editor/edit-panel/mapping-editor/MappingExplorer.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/MappingTestEditor.tsx +1 -4
- package/src/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.tsx +1 -1
- package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx +3 -3
- package/src/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.tsx +2 -2
- package/src/components/editor/edit-panel/service-editor/ServiceEditor.tsx +2 -2
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionEditor.tsx +2 -2
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.tsx +0 -3
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.tsx +1 -1
- package/src/components/editor/edit-panel/uml-editor/AssociationEditor.tsx +2 -2
- package/src/components/editor/edit-panel/uml-editor/ClassEditor.tsx +8 -8
- package/src/components/editor/edit-panel/uml-editor/ClassQueryBuilder.tsx +3 -4
- package/src/components/editor/edit-panel/uml-editor/EnumerationEditor.tsx +2 -2
- package/src/components/editor/edit-panel/uml-editor/ProfileEditor.tsx +1 -1
- package/src/components/editor/edit-panel/uml-editor/StereotypeSelector.tsx +1 -1
- package/src/components/editor/edit-panel/uml-editor/TaggedValueEditor.tsx +1 -1
- package/src/components/editor/side-bar/CreateNewElementModal.tsx +4 -0
- package/src/components/editor/side-bar/Explorer.tsx +25 -15
- package/src/components/editor/side-bar/LocalChanges.tsx +4 -8
- package/src/components/editor/side-bar/ProjectDependantsEditor.tsx +1 -1
- package/src/components/editor/side-bar/ProjectOverview.tsx +1 -1
- package/src/components/editor/side-bar/WorkspaceReview.tsx +1 -1
- package/src/components/editor/side-bar/WorkspaceUpdater.tsx +1 -1
- package/src/components/project-viewer/ProjectViewer.tsx +8 -5
- package/src/components/shared/ProjectSelectorUtils.tsx +1 -1
- package/src/components/workspace-review/WorkspaceReview.tsx +1 -1
- package/src/components/workspace-setup/CreateProjectModal.tsx +2 -2
- package/src/components/workspace-setup/CreateWorkspaceModal.tsx +1 -1
- package/src/components/workspace-setup/WorkspaceSetup.tsx +7 -7
- package/src/index.ts +9 -5
- package/src/stores/DependencyProjectViewerHelper.ts +1 -1
- package/src/stores/EditorGraphState.ts +49 -798
- package/src/stores/EditorSDLCState.ts +1 -1
- package/src/stores/EditorStore.ts +98 -323
- package/src/stores/EditorStoreTestUtils.ts +0 -2
- package/src/stores/EditorTabManagerState.ts +90 -25
- package/src/stores/EmbeddedQueryBuilderState.ts +11 -11
- package/src/stores/ExplorerTreeState.ts +2 -4
- package/src/stores/GraphEditFormModeState.ts +605 -0
- package/src/stores/GraphEditGrammarModeState.ts +512 -0
- package/src/stores/GraphEditorMode.ts +77 -0
- package/src/stores/LegendStudioApplicationPlugin.ts +14 -4
- package/src/stores/LegendStudioBaseStore.ts +35 -11
- package/src/stores/editor/NewElementState.ts +36 -20
- package/src/stores/editor/StandardEditorMode.ts +1 -1
- package/src/stores/editor-state/ExternalFormatState.ts +1 -1
- package/src/stores/editor-state/FileGenerationState.ts +1 -1
- package/src/stores/editor-state/GrammarTextEditorState.ts +4 -5
- package/src/stores/editor-state/GraphGenerationState.ts +6 -2
- package/src/stores/editor-state/ModelImporterState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/ElementFileGenerationState.ts +5 -1
- package/src/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +12 -5
- package/src/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/mapping/MappingEditorState.ts +1 -3
- package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +12 -21
- package/src/stores/editor-state/element-editor-state/mapping/MappingTestState.ts +6 -15
- package/src/stores/editor-state/element-editor-state/service/ServiceExecutionState.ts +7 -20
- package/src/stores/editor-state/element-editor-state/service/ServiceRegistrationState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +3 -3
- package/src/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.ts +1 -1
- package/src/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.ts +1 -1
- package/src/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.ts +1 -1
- package/src/stores/project-viewer/ProjectViewerEditorMode.ts +1 -1
- package/src/stores/project-viewer/ProjectViewerStore.ts +14 -25
- package/src/stores/sidebar-state/BulkServiceRegistrationState.ts +1 -1
- package/src/stores/sidebar-state/LocalChangesState.ts +57 -16
- package/src/stores/sidebar-state/ProjectOverviewState.ts +2 -2
- package/src/stores/sidebar-state/WorkflowManagerState.ts +1 -1
- package/src/stores/sidebar-state/WorkspaceReviewState.ts +2 -2
- package/src/stores/sidebar-state/WorkspaceSyncState.ts +3 -2
- package/src/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.ts +2 -2
- package/src/stores/sidebar-state/WorkspaceUpdaterState.ts +1 -1
- package/src/stores/workspace-review/WorkspaceReviewStore.ts +1 -1
- package/src/stores/workspace-setup/WorkspaceSetupStore.ts +2 -2
- package/tsconfig.json +13 -11
- package/tsconfig.package.json +1 -2
- package/lib/stores/LegendStudioAppEvent.d.ts.map +0 -1
- package/lib/stores/LegendStudioAppEvent.js.map +0 -1
- package/lib/stores/LegendStudioApplicationNavigationContext.d.ts.map +0 -1
- package/lib/stores/LegendStudioApplicationNavigationContext.js.map +0 -1
- package/lib/stores/LegendStudioCodeSnippets.d.ts.map +0 -1
- package/lib/stores/LegendStudioCodeSnippets.js.map +0 -1
- package/lib/stores/LegendStudioCommand.d.ts.map +0 -1
- package/lib/stores/LegendStudioCommand.js.map +0 -1
- package/lib/stores/LegendStudioDocumentation.d.ts.map +0 -1
- package/lib/stores/LegendStudioDocumentation.js.map +0 -1
- package/lib/stores/LegendStudioEventService.d.ts.map +0 -1
- package/lib/stores/LegendStudioEventService.js.map +0 -1
- package/lib/stores/LegendStudioRouter.d.ts.map +0 -1
- package/lib/stores/LegendStudioRouter.js.map +0 -1
- package/lib/stores/LegendStudioStorage.d.ts.map +0 -1
- package/lib/stores/LegendStudioStorage.js.map +0 -1
- package/lib/stores/LegendStudioTelemetry.d.ts.map +0 -1
- package/lib/stores/LegendStudioTelemetry.js +0 -37
- package/lib/stores/LegendStudioTelemetry.js.map +0 -1
- /package/lib/{stores → application}/LegendStudioApplicationNavigationContext.d.ts +0 -0
- /package/lib/{stores → application}/LegendStudioApplicationNavigationContext.js +0 -0
- /package/lib/{stores → application}/LegendStudioCommand.d.ts +0 -0
- /package/lib/{stores → application}/LegendStudioCommand.js +0 -0
- /package/lib/{stores → application}/LegendStudioDocumentation.d.ts +0 -0
- /package/lib/{stores → application}/LegendStudioDocumentation.js +0 -0
- /package/src/{stores → application}/LegendStudioApplicationNavigationContext.ts +0 -0
- /package/src/{stores → application}/LegendStudioCommand.ts +0 -0
- /package/src/{stores → application}/LegendStudioDocumentation.ts +0 -0
- /package/src/{stores/LegendStudioAppEvent.ts → application/LegendStudioEvent.ts} +0 -0
- /package/src/stores/{LegendStudioCodeSnippets.ts → Core_CodeSnippets.ts} +0 -0
|
@@ -22,14 +22,16 @@ import {
|
|
|
22
22
|
ActionState,
|
|
23
23
|
LogEvent,
|
|
24
24
|
assertErrorThrown,
|
|
25
|
+
NetworkClient,
|
|
25
26
|
} from '@finos/legend-shared';
|
|
26
27
|
import {
|
|
27
28
|
type ApplicationStore,
|
|
28
29
|
ActionAlertActionType,
|
|
29
30
|
ActionAlertType,
|
|
30
|
-
|
|
31
|
+
LegendApplicationTelemetryHelper,
|
|
31
32
|
matchPath,
|
|
32
33
|
APPLICATION_EVENT,
|
|
34
|
+
generateExtensionUrlPattern,
|
|
33
35
|
} from '@finos/legend-application';
|
|
34
36
|
import {
|
|
35
37
|
action,
|
|
@@ -40,12 +42,12 @@ import {
|
|
|
40
42
|
observable,
|
|
41
43
|
} from 'mobx';
|
|
42
44
|
import { User, SDLCServerClient } from '@finos/legend-server-sdlc';
|
|
43
|
-
import { LEGEND_STUDIO_APP_EVENT } from '
|
|
45
|
+
import { LEGEND_STUDIO_APP_EVENT } from '../application/LegendStudioEvent.js';
|
|
44
46
|
import type { DepotServerClient } from '@finos/legend-server-depot';
|
|
45
47
|
import type { LegendStudioPluginManager } from '../application/LegendStudioPluginManager.js';
|
|
46
48
|
import type { LegendStudioApplicationConfig } from '../application/LegendStudioApplicationConfig.js';
|
|
47
|
-
import {
|
|
48
|
-
import { LEGEND_STUDIO_SDLC_BYPASSED_ROUTE_PATTERN } from '
|
|
49
|
+
import { LegendStudioEventHelper } from '../application/LegendStudioEventHelper.js';
|
|
50
|
+
import { LEGEND_STUDIO_SDLC_BYPASSED_ROUTE_PATTERN } from '../application/LegendStudioNavigation.js';
|
|
49
51
|
|
|
50
52
|
export type LegendStudioApplicationStore = ApplicationStore<
|
|
51
53
|
LegendStudioApplicationConfig,
|
|
@@ -99,14 +101,20 @@ export class LegendStudioBaseStore {
|
|
|
99
101
|
}
|
|
100
102
|
this.initState.inProgress();
|
|
101
103
|
|
|
104
|
+
const SDLCBypassedRoutePatterns = this.applicationStore.pluginManager
|
|
105
|
+
.getApplicationPlugins()
|
|
106
|
+
.flatMap((plugin) => plugin.getExtraApplicationPageEntries?.() ?? [])
|
|
107
|
+
.filter((entry) => entry.bypassSDLC)
|
|
108
|
+
.flatMap((entry) => entry.urlPatterns.map(generateExtensionUrlPattern));
|
|
109
|
+
|
|
102
110
|
// authorize SDLC, unless navigation location match SDLC-bypassed patterns
|
|
103
111
|
if (
|
|
104
112
|
!matchPath(
|
|
105
113
|
this.applicationStore.navigationService.navigator.getCurrentLocation(),
|
|
106
114
|
[
|
|
107
|
-
// TODO: we might want to consider making this extensible
|
|
108
115
|
LEGEND_STUDIO_SDLC_BYPASSED_ROUTE_PATTERN.VIEW_BY_GAV,
|
|
109
116
|
LEGEND_STUDIO_SDLC_BYPASSED_ROUTE_PATTERN.VIEW_BY_GAV_ENTITY,
|
|
117
|
+
...SDLCBypassedRoutePatterns,
|
|
110
118
|
],
|
|
111
119
|
)
|
|
112
120
|
) {
|
|
@@ -124,9 +132,7 @@ export class LegendStudioBaseStore {
|
|
|
124
132
|
} catch (error) {
|
|
125
133
|
assertErrorThrown(error);
|
|
126
134
|
this.applicationStore.logService.error(
|
|
127
|
-
LogEvent.create(
|
|
128
|
-
APPLICATION_EVENT.APPLICATION_IDENTITY_AUTO_FETCH__FAILURE,
|
|
129
|
-
),
|
|
135
|
+
LogEvent.create(APPLICATION_EVENT.IDENTITY_AUTO_FETCH__FAILURE),
|
|
130
136
|
error,
|
|
131
137
|
);
|
|
132
138
|
this.applicationStore.notificationService.notifyWarning(error.message);
|
|
@@ -138,14 +144,32 @@ export class LegendStudioBaseStore {
|
|
|
138
144
|
this.isSDLCAuthorized = undefined;
|
|
139
145
|
}
|
|
140
146
|
|
|
141
|
-
|
|
147
|
+
// retrieved the user identity is not already configured
|
|
148
|
+
if (this.applicationStore.identityService.isAnonymous) {
|
|
149
|
+
try {
|
|
150
|
+
this.applicationStore.identityService.setCurrentUser(
|
|
151
|
+
(yield new NetworkClient().get(
|
|
152
|
+
`${this.applicationStore.config.engineServerUrl}/server/v1/currentUser`,
|
|
153
|
+
)) as string,
|
|
154
|
+
);
|
|
155
|
+
} catch (error) {
|
|
156
|
+
assertErrorThrown(error);
|
|
157
|
+
this.applicationStore.logService.error(
|
|
158
|
+
LogEvent.create(APPLICATION_EVENT.IDENTITY_AUTO_FETCH__FAILURE),
|
|
159
|
+
error,
|
|
160
|
+
);
|
|
161
|
+
this.applicationStore.notificationService.notifyWarning(error.message);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
LegendApplicationTelemetryHelper.logEvent_ApplicationInitializationSucceeded(
|
|
142
166
|
this.applicationStore.telemetryService,
|
|
143
167
|
this.applicationStore,
|
|
144
168
|
);
|
|
145
169
|
|
|
146
|
-
|
|
170
|
+
LegendStudioEventHelper.notify_ApplicationLoadSucceeded(
|
|
147
171
|
this.applicationStore.eventService,
|
|
148
|
-
)
|
|
172
|
+
);
|
|
149
173
|
|
|
150
174
|
this.initState.complete();
|
|
151
175
|
}
|
|
@@ -143,7 +143,7 @@ export const handlePostCreateAction = async (
|
|
|
143
143
|
DEFAULT_GENERATION_SPECIFICATION_NAME,
|
|
144
144
|
);
|
|
145
145
|
await flowResult(
|
|
146
|
-
editorStore.addElement(
|
|
146
|
+
editorStore.graphEditorMode.addElement(
|
|
147
147
|
generationSpec,
|
|
148
148
|
guaranteeNonNullable(generationElement.package).path,
|
|
149
149
|
false,
|
|
@@ -338,7 +338,7 @@ export class NewRelationalDatabaseConnectionDriver extends NewConnectionValueDri
|
|
|
338
338
|
|
|
339
339
|
export class NewPackageableConnectionDriver extends NewElementDriver<PackageableConnection> {
|
|
340
340
|
store: Store;
|
|
341
|
-
newConnectionValueDriver: NewConnectionValueDriver<Connection
|
|
341
|
+
newConnectionValueDriver: NewConnectionValueDriver<Connection> | undefined;
|
|
342
342
|
|
|
343
343
|
constructor(editorStore: EditorStore) {
|
|
344
344
|
super(editorStore);
|
|
@@ -356,7 +356,7 @@ export class NewPackageableConnectionDriver extends NewElementDriver<Packageable
|
|
|
356
356
|
}
|
|
357
357
|
|
|
358
358
|
geDriverConnectionType(): string {
|
|
359
|
-
return this.newConnectionValueDriver
|
|
359
|
+
return this.newConnectionValueDriver?.getConnectionType() ?? '';
|
|
360
360
|
}
|
|
361
361
|
|
|
362
362
|
changeConnectionState(val: string): void {
|
|
@@ -391,9 +391,11 @@ export class NewPackageableConnectionDriver extends NewElementDriver<Packageable
|
|
|
391
391
|
return;
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
394
|
+
this.editorStore.applicationStore.notificationService.notifyError(
|
|
395
|
+
new UnsupportedOperationError(
|
|
396
|
+
`Can't create new connection driver for type: no compatible creator available from plugins`,
|
|
397
|
+
val,
|
|
398
|
+
),
|
|
397
399
|
);
|
|
398
400
|
}
|
|
399
401
|
}
|
|
@@ -401,11 +403,13 @@ export class NewPackageableConnectionDriver extends NewElementDriver<Packageable
|
|
|
401
403
|
|
|
402
404
|
getNewConnectionValueDriverBasedOnStore(
|
|
403
405
|
store: Store,
|
|
404
|
-
): NewConnectionValueDriver<Connection> {
|
|
406
|
+
): NewConnectionValueDriver<Connection> | undefined {
|
|
405
407
|
if (store instanceof ModelStore) {
|
|
406
408
|
return new NewPureModelConnectionDriver(this.editorStore);
|
|
407
409
|
} else if (store instanceof FlatData) {
|
|
408
410
|
return new NewFlatDataConnectionDriver(this.editorStore);
|
|
411
|
+
} else if (store instanceof Database) {
|
|
412
|
+
return new NewRelationalDatabaseConnectionDriver(this.editorStore);
|
|
409
413
|
}
|
|
410
414
|
const extraNewConnectionDriverCreators = this.editorStore.pluginManager
|
|
411
415
|
.getApplicationPlugins()
|
|
@@ -421,29 +425,37 @@ export class NewPackageableConnectionDriver extends NewElementDriver<Packageable
|
|
|
421
425
|
return driver;
|
|
422
426
|
}
|
|
423
427
|
}
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
428
|
+
this.editorStore.applicationStore.notificationService.notifyError(
|
|
429
|
+
new UnsupportedOperationError(
|
|
430
|
+
`Can't create new connection driver for store: no compatible creator available from plugins`,
|
|
431
|
+
store,
|
|
432
|
+
),
|
|
427
433
|
);
|
|
434
|
+
return undefined;
|
|
428
435
|
}
|
|
429
436
|
|
|
430
437
|
setStore(store: Store): void {
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
this.
|
|
438
|
+
const newDriver = this.getNewConnectionValueDriverBasedOnStore(store);
|
|
439
|
+
if (newDriver) {
|
|
440
|
+
this.store = store;
|
|
441
|
+
this.newConnectionValueDriver = newDriver;
|
|
442
|
+
}
|
|
443
|
+
return;
|
|
434
444
|
}
|
|
435
445
|
|
|
436
446
|
get isValid(): boolean {
|
|
437
|
-
return this.newConnectionValueDriver
|
|
447
|
+
return this.newConnectionValueDriver?.isValid ?? true;
|
|
438
448
|
}
|
|
439
449
|
|
|
440
450
|
createElement(name: string): PackageableConnection {
|
|
441
451
|
const connection = new PackageableConnection(name);
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
452
|
+
if (this.newConnectionValueDriver) {
|
|
453
|
+
packageableConnection_setConnectionValue(
|
|
454
|
+
connection,
|
|
455
|
+
this.newConnectionValueDriver.createConnection(this.store),
|
|
456
|
+
this.editorStore.changeDetectionState.observerContext,
|
|
457
|
+
); // default to model store
|
|
458
|
+
}
|
|
447
459
|
return connection;
|
|
448
460
|
}
|
|
449
461
|
}
|
|
@@ -776,7 +788,11 @@ export class NewElementState {
|
|
|
776
788
|
} else {
|
|
777
789
|
const element = this.createElement(elementName);
|
|
778
790
|
yield flowResult(
|
|
779
|
-
this.editorStore.addElement(
|
|
791
|
+
this.editorStore.graphEditorMode.addElement(
|
|
792
|
+
element,
|
|
793
|
+
packagePath,
|
|
794
|
+
true,
|
|
795
|
+
),
|
|
780
796
|
);
|
|
781
797
|
|
|
782
798
|
// post creation handling
|
|
@@ -24,7 +24,7 @@ import type { EditorStore } from '../EditorStore.js';
|
|
|
24
24
|
import {
|
|
25
25
|
generateEditorRoute,
|
|
26
26
|
generateViewProjectByGAVRoute,
|
|
27
|
-
} from '
|
|
27
|
+
} from '../../application/LegendStudioNavigation.js';
|
|
28
28
|
import { EditorMode } from './EditorMode.js';
|
|
29
29
|
|
|
30
30
|
export class StandardEditorMode extends EditorMode {
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from '@finos/legend-shared';
|
|
24
24
|
import { flow, action, makeObservable, observable } from 'mobx';
|
|
25
25
|
import type { EditorStore } from '../EditorStore.js';
|
|
26
|
-
import { LEGEND_STUDIO_APP_EVENT } from '
|
|
26
|
+
import { LEGEND_STUDIO_APP_EVENT } from '../../application/LegendStudioEvent.js';
|
|
27
27
|
import { ElementXTSchemaGenerationState } from './element-editor-state/ElementExternalFormatGenerationState.js';
|
|
28
28
|
|
|
29
29
|
export type ExternalFormatTypeOption = {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
import type { EditorStore } from '../EditorStore.js';
|
|
18
18
|
import { observable, action, makeObservable, flow } from 'mobx';
|
|
19
|
-
import { LEGEND_STUDIO_APP_EVENT } from '
|
|
19
|
+
import { LEGEND_STUDIO_APP_EVENT } from '../../application/LegendStudioEvent.js';
|
|
20
20
|
import {
|
|
21
21
|
type FileSystem_File,
|
|
22
22
|
type FileResult,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
} from '@finos/legend-graph';
|
|
46
46
|
import type { TextEditorPosition } from '@finos/legend-art';
|
|
47
47
|
import { generatePackageableElementTreeNodeDataLabel } from '../shared/PackageTreeUtils.js';
|
|
48
|
-
import {
|
|
48
|
+
import { LEGEND_STUDIO_SETTING_KEY } from '../../application/LegendStudioSetting.js';
|
|
49
49
|
|
|
50
50
|
const getGrammarElementTypeLabelRegexString = (
|
|
51
51
|
typeLabel: string,
|
|
@@ -87,10 +87,9 @@ export class GrammarTextEditorState {
|
|
|
87
87
|
|
|
88
88
|
this.editorStore = editorStore;
|
|
89
89
|
this.wrapText =
|
|
90
|
-
this.editorStore.applicationStore.
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
);
|
|
90
|
+
this.editorStore.applicationStore.settingService.getBooleanValue(
|
|
91
|
+
LEGEND_STUDIO_SETTING_KEY.EDITOR_WRAP_TEXT,
|
|
92
|
+
) ?? false;
|
|
94
93
|
}
|
|
95
94
|
|
|
96
95
|
get currentTextGraphHash(): string {
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
isNonNullable,
|
|
32
32
|
ActionState,
|
|
33
33
|
} from '@finos/legend-shared';
|
|
34
|
-
import { LEGEND_STUDIO_APP_EVENT } from '
|
|
34
|
+
import { LEGEND_STUDIO_APP_EVENT } from '../../application/LegendStudioEvent.js';
|
|
35
35
|
import {
|
|
36
36
|
type FileSystemTreeNodeData,
|
|
37
37
|
type FileResult,
|
|
@@ -398,7 +398,11 @@ export class GraphGenerationState {
|
|
|
398
398
|
[...modelGenerationElements, ...fileGenerations][0]?.package,
|
|
399
399
|
);
|
|
400
400
|
yield flowResult(
|
|
401
|
-
this.editorStore.addElement(
|
|
401
|
+
this.editorStore.graphEditorMode.addElement(
|
|
402
|
+
generationSpec,
|
|
403
|
+
specPackage.path,
|
|
404
|
+
false,
|
|
405
|
+
),
|
|
402
406
|
);
|
|
403
407
|
}
|
|
404
408
|
}
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
ActionState,
|
|
33
33
|
assertTrue,
|
|
34
34
|
} from '@finos/legend-shared';
|
|
35
|
-
import { LEGEND_STUDIO_APP_EVENT } from '
|
|
35
|
+
import { LEGEND_STUDIO_APP_EVENT } from '../../application/LegendStudioEvent.js';
|
|
36
36
|
import type { EditorStore } from '../EditorStore.js';
|
|
37
37
|
import type { Entity } from '@finos/legend-storage';
|
|
38
38
|
import { TAB_SIZE } from '@finos/legend-application';
|
package/src/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.ts
CHANGED
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
} from '@finos/legend-shared';
|
|
37
37
|
import { action, flow, flowResult, makeObservable, observable } from 'mobx';
|
|
38
38
|
import type { EditorStore } from '../../EditorStore.js';
|
|
39
|
-
import { LEGEND_STUDIO_APP_EVENT } from '
|
|
39
|
+
import { LEGEND_STUDIO_APP_EVENT } from '../../../application/LegendStudioEvent.js';
|
|
40
40
|
import { GENERATION_FILE_ROOT_NAME } from '../../shared/FileSystemTreeUtils.js';
|
|
41
41
|
import {
|
|
42
42
|
configurationProperty_addConfigurationProperty,
|
|
@@ -67,7 +67,11 @@ export class ElementFileGenerationState {
|
|
|
67
67
|
const fileGeneration = this.fileGenerationState.fileGeneration;
|
|
68
68
|
fileGeneration.name = name;
|
|
69
69
|
yield flowResult(
|
|
70
|
-
this.editorStore.addElement(
|
|
70
|
+
this.editorStore.graphEditorMode.addElement(
|
|
71
|
+
fileGeneration,
|
|
72
|
+
packagePath,
|
|
73
|
+
true,
|
|
74
|
+
),
|
|
71
75
|
);
|
|
72
76
|
yield handlePostCreateAction(fileGeneration, this.editorStore);
|
|
73
77
|
// reset file generation state so since the current file generation is promoted to a packageable element in the graph
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
ActionState,
|
|
31
31
|
} from '@finos/legend-shared';
|
|
32
32
|
import { observable, action, makeObservable, flow, flowResult } from 'mobx';
|
|
33
|
-
import { LEGEND_STUDIO_APP_EVENT } from '
|
|
33
|
+
import { LEGEND_STUDIO_APP_EVENT } from '../../../../application/LegendStudioEvent.js';
|
|
34
34
|
import type { EditorStore } from '../../../EditorStore.js';
|
|
35
35
|
import {
|
|
36
36
|
type RelationalDatabaseConnection,
|
|
@@ -50,6 +50,7 @@ import {
|
|
|
50
50
|
getNullableTable,
|
|
51
51
|
} from '@finos/legend-graph';
|
|
52
52
|
import { connection_setStore } from '../../../shared/modifier/DSL_Mapping_GraphModifierHelper.js';
|
|
53
|
+
import { GraphEditFormModeState } from '../../../GraphEditFormModeState.js';
|
|
53
54
|
|
|
54
55
|
export abstract class DatabaseBuilderTreeNodeData implements TreeNodeData {
|
|
55
56
|
isOpen?: boolean | undefined;
|
|
@@ -563,7 +564,11 @@ export class DatabaseBuilderState {
|
|
|
563
564
|
'Database package is missing',
|
|
564
565
|
);
|
|
565
566
|
yield flowResult(
|
|
566
|
-
this.editorStore.addElement(
|
|
567
|
+
this.editorStore.graphEditorMode.addElement(
|
|
568
|
+
newDatabase,
|
|
569
|
+
packagePath,
|
|
570
|
+
false,
|
|
571
|
+
),
|
|
567
572
|
);
|
|
568
573
|
currentDatabase = newDatabase;
|
|
569
574
|
} else {
|
|
@@ -580,9 +585,11 @@ export class DatabaseBuilderState {
|
|
|
580
585
|
this.fetchSchemaDefinitions();
|
|
581
586
|
if (isUpdating) {
|
|
582
587
|
yield flowResult(
|
|
583
|
-
this.editorStore
|
|
584
|
-
|
|
585
|
-
|
|
588
|
+
this.editorStore
|
|
589
|
+
.getGraphEditorMode(GraphEditFormModeState)
|
|
590
|
+
.globalCompile({
|
|
591
|
+
message: `Can't compile graph after editing database. Redirecting you to text mode`,
|
|
592
|
+
}),
|
|
586
593
|
);
|
|
587
594
|
}
|
|
588
595
|
}
|
|
@@ -53,7 +53,7 @@ import type { Entity } from '@finos/legend-storage';
|
|
|
53
53
|
import { type EntityChange, EntityChangeType } from '@finos/legend-server-sdlc';
|
|
54
54
|
import type { EditorStore } from '../../../EditorStore.js';
|
|
55
55
|
import { ElementEditorState } from '../ElementEditorState.js';
|
|
56
|
-
import { LEGEND_STUDIO_APP_EVENT } from '
|
|
56
|
+
import { LEGEND_STUDIO_APP_EVENT } from '../../../../application/LegendStudioEvent.js';
|
|
57
57
|
import {
|
|
58
58
|
configurationProperty_addConfigurationProperty,
|
|
59
59
|
configurationProperty_setValue,
|
|
@@ -842,9 +842,7 @@ export class MappingEditorState extends ElementEditorState {
|
|
|
842
842
|
}
|
|
843
843
|
// Open mapping element from included mapping in another mapping editor tab
|
|
844
844
|
if (mappingElement._PARENT !== this.element) {
|
|
845
|
-
this.editorStore.
|
|
846
|
-
mappingElement._PARENT,
|
|
847
|
-
);
|
|
845
|
+
this.editorStore.graphEditorMode.openElement(mappingElement._PARENT);
|
|
848
846
|
}
|
|
849
847
|
const currentMappingEditorState =
|
|
850
848
|
this.editorStore.tabManagerState.getCurrentEditorState(
|
package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.ts
CHANGED
|
@@ -26,9 +26,9 @@ export class MappingExecutionQueryBuilderState extends QueryBuilderState {
|
|
|
26
26
|
renderMappingExecutionQueryBuilderSetupPanelContent(this);
|
|
27
27
|
|
|
28
28
|
constructor(
|
|
29
|
-
mapping: Mapping,
|
|
30
29
|
applicationStore: GenericLegendApplicationStore,
|
|
31
30
|
graphManagerState: GraphManagerState,
|
|
31
|
+
mapping: Mapping,
|
|
32
32
|
) {
|
|
33
33
|
super(applicationStore, graphManagerState);
|
|
34
34
|
|
|
@@ -131,11 +131,10 @@ import {
|
|
|
131
131
|
import { SERIALIZATION_FORMAT } from '../service/testable/ServiceTestEditorState.js';
|
|
132
132
|
import {
|
|
133
133
|
LambdaEditorState,
|
|
134
|
-
|
|
134
|
+
QueryBuilderTelemetryHelper,
|
|
135
135
|
QUERY_BUILDER_EVENT,
|
|
136
136
|
} from '@finos/legend-query-builder';
|
|
137
137
|
import { MappingEditorTabState } from './MappingTabManagerState.js';
|
|
138
|
-
import { LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../../LegendStudioApplicationNavigationContext.js';
|
|
139
138
|
|
|
140
139
|
export class MappingExecutionQueryState extends LambdaEditorState {
|
|
141
140
|
editorStore: EditorStore;
|
|
@@ -737,7 +736,11 @@ export class MappingExecutionState extends MappingEditorTabState {
|
|
|
737
736
|
this.editorStore.changeDetectionState.observerContext,
|
|
738
737
|
);
|
|
739
738
|
yield flowResult(
|
|
740
|
-
this.editorStore.addElement(
|
|
739
|
+
this.editorStore.graphEditorMode.addElement(
|
|
740
|
+
service,
|
|
741
|
+
packagePath,
|
|
742
|
+
true,
|
|
743
|
+
),
|
|
741
744
|
);
|
|
742
745
|
} else {
|
|
743
746
|
throw new UnsupportedOperationError(
|
|
@@ -767,12 +770,8 @@ export class MappingExecutionState extends MappingEditorTabState {
|
|
|
767
770
|
) {
|
|
768
771
|
this.isExecuting = true;
|
|
769
772
|
|
|
770
|
-
|
|
773
|
+
QueryBuilderTelemetryHelper.logEvent_QueryRunLaunched(
|
|
771
774
|
this.editorStore.applicationStore.telemetryService,
|
|
772
|
-
{
|
|
773
|
-
applicationContext:
|
|
774
|
-
LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.MAPPING_EXECUTION_EDITOR,
|
|
775
|
-
},
|
|
776
775
|
);
|
|
777
776
|
|
|
778
777
|
const stopWatch = new StopWatch();
|
|
@@ -806,7 +805,7 @@ export class MappingExecutionState extends MappingEditorTabState {
|
|
|
806
805
|
stopWatch,
|
|
807
806
|
report.timings,
|
|
808
807
|
);
|
|
809
|
-
|
|
808
|
+
QueryBuilderTelemetryHelper.logEvent_QueryRunSucceeded(
|
|
810
809
|
this.editorStore.applicationStore.telemetryService,
|
|
811
810
|
report,
|
|
812
811
|
);
|
|
@@ -842,12 +841,8 @@ export class MappingExecutionState extends MappingEditorTabState {
|
|
|
842
841
|
);
|
|
843
842
|
|
|
844
843
|
if (debug) {
|
|
845
|
-
|
|
844
|
+
QueryBuilderTelemetryHelper.logEvent_ExecutionPlanDebugLaunched(
|
|
846
845
|
this.editorStore.applicationStore.telemetryService,
|
|
847
|
-
{
|
|
848
|
-
applicationContext:
|
|
849
|
-
LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.MAPPING_EXECUTION_EDITOR,
|
|
850
|
-
},
|
|
851
846
|
);
|
|
852
847
|
const debugResult =
|
|
853
848
|
(yield this.editorStore.graphManagerState.graphManager.debugExecutionPlanGeneration(
|
|
@@ -861,12 +856,8 @@ export class MappingExecutionState extends MappingEditorTabState {
|
|
|
861
856
|
rawPlan = debugResult.plan;
|
|
862
857
|
this.executionPlanState.setDebugText(debugResult.debug);
|
|
863
858
|
} else {
|
|
864
|
-
|
|
859
|
+
QueryBuilderTelemetryHelper.logEvent_ExecutionPlanGenerationLaunched(
|
|
865
860
|
this.editorStore.applicationStore.telemetryService,
|
|
866
|
-
{
|
|
867
|
-
applicationContext:
|
|
868
|
-
LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.MAPPING_EXECUTION_EDITOR,
|
|
869
|
-
},
|
|
870
861
|
);
|
|
871
862
|
rawPlan =
|
|
872
863
|
(yield this.editorStore.graphManagerState.graphManager.generateExecutionPlan(
|
|
@@ -899,12 +890,12 @@ export class MappingExecutionState extends MappingEditorTabState {
|
|
|
899
890
|
report.timings,
|
|
900
891
|
);
|
|
901
892
|
if (debug) {
|
|
902
|
-
|
|
893
|
+
QueryBuilderTelemetryHelper.logEvent_ExecutionPlanDebugSucceeded(
|
|
903
894
|
this.editorStore.applicationStore.telemetryService,
|
|
904
895
|
report,
|
|
905
896
|
);
|
|
906
897
|
} else {
|
|
907
|
-
|
|
898
|
+
QueryBuilderTelemetryHelper.logEvent_ExecutionPlanGenerationSucceeded(
|
|
908
899
|
this.editorStore.applicationStore.telemetryService,
|
|
909
900
|
report,
|
|
910
901
|
);
|
|
@@ -97,11 +97,10 @@ import {
|
|
|
97
97
|
} from '../../../shared/modifier/STO_Relational_GraphModifierHelper.js';
|
|
98
98
|
import {
|
|
99
99
|
LambdaEditorState,
|
|
100
|
-
|
|
100
|
+
QueryBuilderTelemetryHelper,
|
|
101
101
|
QUERY_BUILDER_EVENT,
|
|
102
102
|
} from '@finos/legend-query-builder';
|
|
103
103
|
import { MappingEditorTabState } from './MappingTabManagerState.js';
|
|
104
|
-
import { LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../../LegendStudioApplicationNavigationContext.js';
|
|
105
104
|
|
|
106
105
|
export enum TEST_RESULT {
|
|
107
106
|
NONE = 'NONE', // test has not run yet
|
|
@@ -786,7 +785,7 @@ export class MappingTestState extends MappingEditorTabState {
|
|
|
786
785
|
LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE),
|
|
787
786
|
error.message,
|
|
788
787
|
);
|
|
789
|
-
yield flowResult(this.editorStore.
|
|
788
|
+
yield flowResult(this.editorStore.graphEditorMode.globalCompile()); // recompile graph if there is problem with the deep fetch tree of a test
|
|
790
789
|
}
|
|
791
790
|
}
|
|
792
791
|
|
|
@@ -809,12 +808,8 @@ export class MappingTestState extends MappingEditorTabState {
|
|
|
809
808
|
);
|
|
810
809
|
|
|
811
810
|
if (debug) {
|
|
812
|
-
|
|
811
|
+
QueryBuilderTelemetryHelper.logEvent_ExecutionPlanDebugLaunched(
|
|
813
812
|
this.editorStore.applicationStore.telemetryService,
|
|
814
|
-
{
|
|
815
|
-
applicationContext:
|
|
816
|
-
LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.MAPPING_TEST_EDITOR,
|
|
817
|
-
},
|
|
818
813
|
);
|
|
819
814
|
const debugResult =
|
|
820
815
|
(yield this.editorStore.graphManagerState.graphManager.debugExecutionPlanGeneration(
|
|
@@ -827,12 +822,8 @@ export class MappingTestState extends MappingEditorTabState {
|
|
|
827
822
|
rawPlan = debugResult.plan;
|
|
828
823
|
this.executionPlanState.setDebugText(debugResult.debug);
|
|
829
824
|
} else {
|
|
830
|
-
|
|
825
|
+
QueryBuilderTelemetryHelper.logEvent_ExecutionPlanGenerationLaunched(
|
|
831
826
|
this.editorStore.applicationStore.telemetryService,
|
|
832
|
-
{
|
|
833
|
-
applicationContext:
|
|
834
|
-
LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.MAPPING_TEST_EDITOR,
|
|
835
|
-
},
|
|
836
827
|
);
|
|
837
828
|
rawPlan =
|
|
838
829
|
(yield this.editorStore.graphManagerState.graphManager.generateExecutionPlan(
|
|
@@ -865,12 +856,12 @@ export class MappingTestState extends MappingEditorTabState {
|
|
|
865
856
|
report.timings,
|
|
866
857
|
);
|
|
867
858
|
if (debug) {
|
|
868
|
-
|
|
859
|
+
QueryBuilderTelemetryHelper.logEvent_ExecutionPlanDebugSucceeded(
|
|
869
860
|
this.editorStore.applicationStore.telemetryService,
|
|
870
861
|
report,
|
|
871
862
|
);
|
|
872
863
|
} else {
|
|
873
|
-
|
|
864
|
+
QueryBuilderTelemetryHelper.logEvent_ExecutionPlanGenerationSucceeded(
|
|
874
865
|
this.editorStore.applicationStore.telemetryService,
|
|
875
866
|
report,
|
|
876
867
|
);
|
|
@@ -92,10 +92,9 @@ import {
|
|
|
92
92
|
LambdaParametersState,
|
|
93
93
|
LambdaParameterState,
|
|
94
94
|
PARAMETER_SUBMIT_ACTION,
|
|
95
|
-
|
|
95
|
+
QueryBuilderTelemetryHelper,
|
|
96
96
|
QUERY_BUILDER_EVENT,
|
|
97
97
|
} from '@finos/legend-query-builder';
|
|
98
|
-
import { LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../../LegendStudioApplicationNavigationContext.js';
|
|
99
98
|
|
|
100
99
|
enum DSL_SERVICE_PATH_PARAM_TOKEN {
|
|
101
100
|
PROJECT_ID = 'projectId',
|
|
@@ -569,12 +568,8 @@ export abstract class ServicePureExecutionState extends ServiceExecutionState {
|
|
|
569
568
|
);
|
|
570
569
|
|
|
571
570
|
if (debug) {
|
|
572
|
-
|
|
571
|
+
QueryBuilderTelemetryHelper.logEvent_ExecutionPlanDebugLaunched(
|
|
573
572
|
this.editorStore.applicationStore.telemetryService,
|
|
574
|
-
{
|
|
575
|
-
applicationContext:
|
|
576
|
-
LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.SERVICE_EDITOR_EXECUTION,
|
|
577
|
-
},
|
|
578
573
|
);
|
|
579
574
|
const debugResult =
|
|
580
575
|
(yield this.editorStore.graphManagerState.graphManager.debugExecutionPlanGeneration(
|
|
@@ -587,12 +582,8 @@ export abstract class ServicePureExecutionState extends ServiceExecutionState {
|
|
|
587
582
|
rawPlan = debugResult.plan;
|
|
588
583
|
this.executionPlanState.setDebugText(debugResult.debug);
|
|
589
584
|
} else {
|
|
590
|
-
|
|
585
|
+
QueryBuilderTelemetryHelper.logEvent_ExecutionPlanGenerationLaunched(
|
|
591
586
|
this.editorStore.applicationStore.telemetryService,
|
|
592
|
-
{
|
|
593
|
-
applicationContext:
|
|
594
|
-
LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.SERVICE_EDITOR_EXECUTION,
|
|
595
|
-
},
|
|
596
587
|
);
|
|
597
588
|
rawPlan =
|
|
598
589
|
(yield this.editorStore.graphManagerState.graphManager.generateExecutionPlan(
|
|
@@ -625,12 +616,12 @@ export abstract class ServicePureExecutionState extends ServiceExecutionState {
|
|
|
625
616
|
report.timings,
|
|
626
617
|
);
|
|
627
618
|
if (debug) {
|
|
628
|
-
|
|
619
|
+
QueryBuilderTelemetryHelper.logEvent_ExecutionPlanDebugSucceeded(
|
|
629
620
|
this.editorStore.applicationStore.telemetryService,
|
|
630
621
|
report,
|
|
631
622
|
);
|
|
632
623
|
} else {
|
|
633
|
-
|
|
624
|
+
QueryBuilderTelemetryHelper.logEvent_ExecutionPlanGenerationSucceeded(
|
|
634
625
|
this.editorStore.applicationStore.telemetryService,
|
|
635
626
|
report,
|
|
636
627
|
);
|
|
@@ -665,12 +656,8 @@ export abstract class ServicePureExecutionState extends ServiceExecutionState {
|
|
|
665
656
|
return;
|
|
666
657
|
}
|
|
667
658
|
|
|
668
|
-
|
|
659
|
+
QueryBuilderTelemetryHelper.logEvent_QueryRunLaunched(
|
|
669
660
|
this.editorStore.applicationStore.telemetryService,
|
|
670
|
-
{
|
|
671
|
-
applicationContext:
|
|
672
|
-
LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.SERVICE_EDITOR_EXECUTION,
|
|
673
|
-
},
|
|
674
661
|
);
|
|
675
662
|
|
|
676
663
|
try {
|
|
@@ -710,7 +697,7 @@ export abstract class ServicePureExecutionState extends ServiceExecutionState {
|
|
|
710
697
|
stopWatch,
|
|
711
698
|
report.timings,
|
|
712
699
|
);
|
|
713
|
-
|
|
700
|
+
QueryBuilderTelemetryHelper.logEvent_QueryRunSucceeded(
|
|
714
701
|
this.editorStore.applicationStore.telemetryService,
|
|
715
702
|
report,
|
|
716
703
|
);
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
URL_SEPARATOR,
|
|
32
32
|
filterByType,
|
|
33
33
|
} from '@finos/legend-shared';
|
|
34
|
-
import { LEGEND_STUDIO_APP_EVENT } from '
|
|
34
|
+
import { LEGEND_STUDIO_APP_EVENT } from '../../../../application/LegendStudioEvent.js';
|
|
35
35
|
import { Version } from '@finos/legend-server-sdlc';
|
|
36
36
|
import {
|
|
37
37
|
type Service,
|