@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkspaceReviewStore.js","sourceRoot":"","sources":["../../../src/stores/workspace-review/WorkspaceReviewStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAGL,iBAAiB,EACjB,QAAQ,EACR,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,cAAc,EACd,MAAM,EACN,UAAU,EACV,UAAU,EACV,IAAI,EACJ,QAAQ,GACT,MAAM,MAAM,CAAC;AAEd,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"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AC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;SAC1E;gBAAS;YACR,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;SAChC;IACH,CAAC;IAED,CAAC,WAAW;QACV,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;QAC5B,IAAI;YACF,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC,aAAa,CAAC,QAAQ,CAChD,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,WAAW,CAClD,IAAI,CAAC,SAAS,EACd,IAAI,CAAC,MAAM,CAAC,EAAE,CACf,CAAwB,CAC1B,CAAC;SACH;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,UAAU,CAAC,KAAK,CAChD,QAAQ,CAAC,MAAM,CAAC,uBAAuB,CAAC,oBAAoB,CAAC,EAC7D,KAAK,CACN,CAAC;YACF,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;SAC1E;gBAAS;YACR,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;SAC9B;IACH,CAAC;CACF"}
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { observable, action, flowResult, makeObservable, flow } from 'mobx';
|
|
17
|
-
import { LEGEND_STUDIO_APP_EVENT } from '
|
|
17
|
+
import { LEGEND_STUDIO_APP_EVENT } from '../../application/LegendStudioEvent.js';
|
|
18
18
|
import { assertErrorThrown, LogEvent, ActionState, IllegalStateError, } from '@finos/legend-shared';
|
|
19
|
-
import { generateSetupRoute } from '
|
|
19
|
+
import { generateSetupRoute } from '../../application/LegendStudioNavigation.js';
|
|
20
20
|
import { WorkspaceType, ImportReport, Project, Review, Workspace, } from '@finos/legend-server-sdlc';
|
|
21
21
|
import { DEFAULT_TYPEAHEAD_SEARCH_LIMIT, DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH, } from '@finos/legend-application';
|
|
22
22
|
import { fetchProjectConfigurationStatus, } from './ProjectConfigurationStatus.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkspaceSetupStore.js","sourceRoot":"","sources":["../../../src/stores/workspace-setup/WorkspaceSetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"WorkspaceSetupStore.js","sourceRoot":"","sources":["../../../src/stores/workspace-setup/WorkspaceSetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAGL,iBAAiB,EACjB,QAAQ,EACR,WAAW,EACX,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACjF,OAAO,EAEL,aAAa,EACb,YAAY,EACZ,OAAO,EACP,MAAM,EACN,SAAS,GACV,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,8BAA8B,EAC9B,8CAA8C,GAC/C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,+BAA+B,GAEhC,MAAM,iCAAiC,CAAC;AAQzC,MAAM,OAAO,mBAAmB;IAC9B,gBAAgB,CAA+B;IAC/C,gBAAgB,CAAmB;IACnC,SAAS,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IAEjC,QAAQ,GAAc,EAAE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G,iBAAiB,IAAI,YAAY,CAAC;YAC/D,IAAI,CAAC,eAAe,CAAC,oBAAoB,CAAC,CAAC;YAC3C,IAAI,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;YAExC,yDAAyD;YACzD,mEAAmE;YACnE,IAAI,CAAC,iBAAiB,EAAE;gBACtB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;aACpC;SACF;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,gBAAgB,CAAC,UAAU,CAAC,KAAK,CACpC,QAAQ,CAAC,MAAM,CAAC,uBAAuB,CAAC,uBAAuB,CAAC,EAChE,KAAK,CACN,CAAC;YACF,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;SAC9D;gBAAS;YACR,IAAI,CAAC,oBAAoB,CAAC,KAAK,EAAE,CAAC;SACnC;IACH,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-application-studio",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "23.0.0",
|
|
4
4
|
"description": "Legend Studio application core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"test:watch": "jest --watch"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@finos/legend-application": "
|
|
48
|
-
"@finos/legend-art": "5.0.
|
|
49
|
-
"@finos/legend-graph": "
|
|
50
|
-
"@finos/legend-query-builder": "0.
|
|
51
|
-
"@finos/legend-server-depot": "4.4.
|
|
52
|
-
"@finos/legend-server-sdlc": "4.1.
|
|
53
|
-
"@finos/legend-shared": "8.0.
|
|
54
|
-
"@finos/legend-storage": "3.0.
|
|
47
|
+
"@finos/legend-application": "13.0.0",
|
|
48
|
+
"@finos/legend-art": "5.0.34",
|
|
49
|
+
"@finos/legend-graph": "24.0.0",
|
|
50
|
+
"@finos/legend-query-builder": "1.0.0",
|
|
51
|
+
"@finos/legend-server-depot": "4.4.6",
|
|
52
|
+
"@finos/legend-server-sdlc": "4.1.29",
|
|
53
|
+
"@finos/legend-shared": "8.0.1",
|
|
54
|
+
"@finos/legend-storage": "3.0.41",
|
|
55
55
|
"@testing-library/react": "14.0.0",
|
|
56
56
|
"@types/react": "18.0.28",
|
|
57
57
|
"@types/react-dom": "18.0.11",
|
|
@@ -68,15 +68,15 @@
|
|
|
68
68
|
"yaml": "2.2.1"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@finos/legend-dev-utils": "2.0.
|
|
71
|
+
"@finos/legend-dev-utils": "2.0.46",
|
|
72
72
|
"@jest/globals": "29.5.0",
|
|
73
73
|
"cross-env": "7.0.3",
|
|
74
|
-
"eslint": "8.
|
|
74
|
+
"eslint": "8.36.0",
|
|
75
75
|
"jest": "29.5.0",
|
|
76
76
|
"npm-run-all": "4.1.5",
|
|
77
77
|
"rimraf": "4.4.0",
|
|
78
|
-
"sass": "1.
|
|
79
|
-
"typescript": "
|
|
78
|
+
"sass": "1.59.3",
|
|
79
|
+
"typescript": "5.0.2"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
82
|
"react": "^18.0.0"
|
|
@@ -26,8 +26,9 @@ import {
|
|
|
26
26
|
WebApplicationNavigatorProvider,
|
|
27
27
|
type LegendApplicationConfigurationInput,
|
|
28
28
|
BrowserRouter,
|
|
29
|
+
Core_LegendApplicationPlugin,
|
|
29
30
|
} from '@finos/legend-application';
|
|
30
|
-
import {
|
|
31
|
+
import { Core_GraphManagerPreset } from '@finos/legend-graph';
|
|
31
32
|
import { getRootElement } from '@finos/legend-art';
|
|
32
33
|
import {
|
|
33
34
|
type LegendStudioApplicationConfigurationData,
|
|
@@ -54,12 +55,15 @@ export class LegendStudio extends LegendApplication {
|
|
|
54
55
|
|
|
55
56
|
static create(): LegendStudio {
|
|
56
57
|
const application = new LegendStudio(LegendStudioPluginManager.create());
|
|
58
|
+
application.withBasePresets([
|
|
59
|
+
new Core_GraphManagerPreset(),
|
|
60
|
+
new QueryBuilder_GraphManagerPreset(),
|
|
61
|
+
]);
|
|
57
62
|
application.withBasePlugins([
|
|
58
|
-
new
|
|
63
|
+
new Core_LegendApplicationPlugin(),
|
|
59
64
|
new Core_LegendStudioApplicationPlugin(),
|
|
60
65
|
new QueryBuilder_LegendApplicationPlugin(),
|
|
61
66
|
]);
|
|
62
|
-
application.withBasePresets([new QueryBuilder_GraphManagerPreset()]);
|
|
63
67
|
return application;
|
|
64
68
|
}
|
|
65
69
|
|
|
@@ -85,10 +89,7 @@ export class LegendStudio extends LegendApplication {
|
|
|
85
89
|
config={this.config}
|
|
86
90
|
pluginManager={this.pluginManager}
|
|
87
91
|
>
|
|
88
|
-
<LegendStudioApplication
|
|
89
|
-
config={this.config}
|
|
90
|
-
pluginManager={this.pluginManager}
|
|
91
|
-
/>
|
|
92
|
+
<LegendStudioApplication config={this.config} />
|
|
92
93
|
</ApplicationStoreProvider>
|
|
93
94
|
</WebApplicationNavigatorProvider>
|
|
94
95
|
</BrowserRouter>,
|
|
@@ -58,6 +58,12 @@ class LegendStudioApplicationCoreOptions {
|
|
|
58
58
|
*/
|
|
59
59
|
enableGraphBuilderStrictMode = false;
|
|
60
60
|
projectCreationGroupIdSuggestion = 'org.finos.legend.*';
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* TO BE REMOVED post DEMO
|
|
64
|
+
*/
|
|
65
|
+
HACKY__previewExperimentalFeatures = false;
|
|
66
|
+
|
|
61
67
|
/**
|
|
62
68
|
* Indicates if we should keep section index and do not rewrite/flatten the paths shortened by section
|
|
63
69
|
* imports.
|
|
@@ -82,6 +88,7 @@ class LegendStudioApplicationCoreOptions {
|
|
|
82
88
|
createModelSchema(LegendStudioApplicationCoreOptions, {
|
|
83
89
|
enableGraphBuilderStrictMode: optional(primitive()),
|
|
84
90
|
projectCreationGroupIdSuggestion: optional(primitive()),
|
|
91
|
+
HACKY__previewExperimentalFeatures: optional(primitive()),
|
|
85
92
|
TEMPORARY__preserveSectionIndex: optional(primitive()),
|
|
86
93
|
TEMPORARY__serviceRegistrationConfig: list(
|
|
87
94
|
object(ServiceRegistrationEnvironmentConfig),
|
|
@@ -19,18 +19,8 @@ import {
|
|
|
19
19
|
type EventService,
|
|
20
20
|
} from '@finos/legend-application';
|
|
21
21
|
|
|
22
|
-
export class
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
private constructor(eventService: EventService) {
|
|
26
|
-
this.eventService = eventService;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
static create(eventService: EventService): LegendStudioEventService {
|
|
30
|
-
return new LegendStudioEventService(eventService);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
notify_ApplicationLoaded(): void {
|
|
34
|
-
this.eventService.notify(APPLICATION_EVENT.APPLICATION_LOAD__SUCCESS, {});
|
|
22
|
+
export class LegendStudioEventHelper {
|
|
23
|
+
static notify_ApplicationLoadSucceeded(service: EventService): void {
|
|
24
|
+
service.notify(APPLICATION_EVENT.APPLICATION_LOAD__SUCCESS, {});
|
|
35
25
|
}
|
|
36
26
|
}
|
|
@@ -19,7 +19,7 @@ import { WorkspaceType } from '@finos/legend-server-sdlc';
|
|
|
19
19
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
|
20
20
|
import { generatePath } from '@finos/legend-application';
|
|
21
21
|
|
|
22
|
-
export enum
|
|
22
|
+
export enum LEGEND_STUDIO_ROUTE_PATTERN_TOKEN {
|
|
23
23
|
PROJECT_ID = 'projectId',
|
|
24
24
|
WORKSPACE_ID = 'workspaceId',
|
|
25
25
|
GROUP_WORKSPACE_ID = 'groupWorkspaceId',
|
|
@@ -31,52 +31,53 @@ export enum LEGEND_STUDIO_PATH_PARAM_TOKEN {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
export const LEGEND_STUDIO_ROUTE_PATTERN = Object.freeze({
|
|
34
|
-
VIEW: `/view/:${
|
|
35
|
-
VIEW_BY_ENTITY: `/view/:${
|
|
36
|
-
VIEW_BY_REVISION: `/view/:${
|
|
37
|
-
VIEW_BY_VERSION: `/view/:${
|
|
38
|
-
VIEW_BY_REVISION_ENTITY: `/view/:${
|
|
39
|
-
VIEW_BY_VERSION_ENTITY: `/view/:${
|
|
40
|
-
REVIEW: `/review/:${
|
|
41
|
-
EDIT_WORKSPACE: `/edit/:${
|
|
42
|
-
EDIT_WORKSPACE_ENTITY: `/edit/:${
|
|
43
|
-
EDIT_GROUP_WORKSPACE: `/edit/:${
|
|
44
|
-
EDIT_GROUP_WORKSPACE_ENTITY: `/edit/:${
|
|
45
|
-
SETUP_WORKSPACE: `/setup/:${
|
|
46
|
-
SETUP_GROUP_WORKSPACE: `/setup/:${
|
|
34
|
+
VIEW: `/view/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.PROJECT_ID}`,
|
|
35
|
+
VIEW_BY_ENTITY: `/view/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.PROJECT_ID}/entity/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.ENTITY_PATH}`,
|
|
36
|
+
VIEW_BY_REVISION: `/view/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.PROJECT_ID}/revision/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.REVISION_ID}`,
|
|
37
|
+
VIEW_BY_VERSION: `/view/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.PROJECT_ID}/version/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.VERSION_ID}`,
|
|
38
|
+
VIEW_BY_REVISION_ENTITY: `/view/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.PROJECT_ID}/revision/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.REVISION_ID}/entity/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.ENTITY_PATH}`,
|
|
39
|
+
VIEW_BY_VERSION_ENTITY: `/view/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.PROJECT_ID}/version/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.VERSION_ID}/entity/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.ENTITY_PATH}`,
|
|
40
|
+
REVIEW: `/review/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.PROJECT_ID}/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.REVIEW_ID}`,
|
|
41
|
+
EDIT_WORKSPACE: `/edit/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.PROJECT_ID}/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.WORKSPACE_ID}/`,
|
|
42
|
+
EDIT_WORKSPACE_ENTITY: `/edit/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.PROJECT_ID}/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.WORKSPACE_ID}/entity/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.ENTITY_PATH}`,
|
|
43
|
+
EDIT_GROUP_WORKSPACE: `/edit/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.PROJECT_ID}/groupWorkspace/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.GROUP_WORKSPACE_ID}/`,
|
|
44
|
+
EDIT_GROUP_WORKSPACE_ENTITY: `/edit/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.PROJECT_ID}/groupWorkspace/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.GROUP_WORKSPACE_ID}/entity/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.ENTITY_PATH}`,
|
|
45
|
+
SETUP_WORKSPACE: `/setup/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.PROJECT_ID}?/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.WORKSPACE_ID}?`,
|
|
46
|
+
SETUP_GROUP_WORKSPACE: `/setup/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.PROJECT_ID}/groupWorkspace/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.GROUP_WORKSPACE_ID}/`,
|
|
47
47
|
});
|
|
48
48
|
|
|
49
49
|
export const LEGEND_STUDIO_SDLC_BYPASSED_ROUTE_PATTERN = Object.freeze({
|
|
50
|
-
VIEW_BY_GAV: `/view/archive/:${
|
|
51
|
-
VIEW_BY_GAV_ENTITY: `/view/archive/:${
|
|
50
|
+
VIEW_BY_GAV: `/view/archive/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.GAV}`,
|
|
51
|
+
VIEW_BY_GAV_ENTITY: `/view/archive/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.GAV}/entity/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.ENTITY_PATH}`,
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
export const LEGEND_DEPENDENCY_ROUTE_PATTERN = `/dependencies/:${
|
|
54
|
+
export const LEGEND_DEPENDENCY_ROUTE_PATTERN = `/dependencies/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.PROJECT_ID}?/:${LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.GAV}?/:testsBatchId?`;
|
|
55
55
|
|
|
56
|
-
export
|
|
57
|
-
[
|
|
58
|
-
[
|
|
59
|
-
}
|
|
56
|
+
export type ReviewPathParams = {
|
|
57
|
+
[LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.PROJECT_ID]: string;
|
|
58
|
+
[LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.REVIEW_ID]: string;
|
|
59
|
+
};
|
|
60
60
|
|
|
61
|
-
export
|
|
62
|
-
[
|
|
63
|
-
[
|
|
64
|
-
[
|
|
65
|
-
[
|
|
66
|
-
[
|
|
67
|
-
}
|
|
61
|
+
export type ViewerPathParams = {
|
|
62
|
+
[LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.GAV]?: string;
|
|
63
|
+
[LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.PROJECT_ID]?: string;
|
|
64
|
+
[LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.VERSION_ID]?: string;
|
|
65
|
+
[LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.REVISION_ID]?: string;
|
|
66
|
+
[LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.ENTITY_PATH]?: string;
|
|
67
|
+
};
|
|
68
68
|
|
|
69
|
-
export
|
|
70
|
-
[
|
|
71
|
-
[
|
|
72
|
-
[
|
|
73
|
-
[
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
[
|
|
78
|
-
[
|
|
79
|
-
|
|
69
|
+
export type WorkspaceEditorPathParams = {
|
|
70
|
+
[LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.PROJECT_ID]: string;
|
|
71
|
+
[LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.WORKSPACE_ID]?: string;
|
|
72
|
+
[LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.GROUP_WORKSPACE_ID]?: string;
|
|
73
|
+
[LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.ENTITY_PATH]?: string;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export type SetupPathParams = {
|
|
77
|
+
[LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.PROJECT_ID]?: string;
|
|
78
|
+
[LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.WORKSPACE_ID]?: string;
|
|
79
|
+
[LEGEND_STUDIO_ROUTE_PATTERN_TOKEN.GROUP_WORKSPACE_ID]?: string;
|
|
80
|
+
};
|
|
80
81
|
|
|
81
82
|
const generateGroupWorkspaceSetupRoute = (
|
|
82
83
|
projectId: string | undefined,
|
|
@@ -13,9 +13,19 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
|
|
17
|
+
import type { SettingConfigurationData } from '@finos/legend-application';
|
|
18
|
+
|
|
19
|
+
export enum LEGEND_STUDIO_SETTING_KEY {
|
|
20
|
+
EDITOR_STRICT_MODE = 'editor.strictMode',
|
|
21
|
+
EDITOR_WRAP_TEXT = 'editor.wrapText',
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export const LEGEND_STUDIO_SETTING_CONFIG: SettingConfigurationData = {
|
|
25
|
+
[LEGEND_STUDIO_SETTING_KEY.EDITOR_STRICT_MODE]: {
|
|
26
|
+
defaultValue: false,
|
|
27
|
+
},
|
|
28
|
+
[LEGEND_STUDIO_SETTING_KEY.EDITOR_WRAP_TEXT]: {
|
|
29
|
+
defaultValue: false,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
import type { GraphManagerOperationReport } from '@finos/legend-graph';
|
|
18
18
|
import type { TelemetryService } from '@finos/legend-application';
|
|
19
|
-
import { LEGEND_STUDIO_APP_EVENT } from './
|
|
19
|
+
import { LEGEND_STUDIO_APP_EVENT } from './LegendStudioEvent.js';
|
|
20
20
|
|
|
21
21
|
type Compilation_TelemetryData = GraphManagerOperationReport & {
|
|
22
22
|
dependenciesCount: number;
|
|
@@ -26,56 +26,44 @@ type TestDataGeneration_TelemetryData = GraphManagerOperationReport & {
|
|
|
26
26
|
dependenciesCount: number;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
export class
|
|
30
|
-
static logEvent_GraphCompilationLaunched(
|
|
31
|
-
|
|
32
|
-
): void {
|
|
33
|
-
telemetryService.logEvent(
|
|
34
|
-
LEGEND_STUDIO_APP_EVENT.COMPILE_GRAPH__LAUNCH,
|
|
35
|
-
{},
|
|
36
|
-
);
|
|
29
|
+
export class LegendStudioTelemetryHelper {
|
|
30
|
+
static logEvent_GraphCompilationLaunched(service: TelemetryService): void {
|
|
31
|
+
service.logEvent(LEGEND_STUDIO_APP_EVENT.COMPILE_GRAPH__LAUNCH, {});
|
|
37
32
|
}
|
|
38
33
|
|
|
39
|
-
static logEvent_TextCompilationLaunched(
|
|
40
|
-
|
|
41
|
-
): void {
|
|
42
|
-
telemetryService.logEvent(LEGEND_STUDIO_APP_EVENT.COMPILE_TEXT__LAUNCH, {});
|
|
34
|
+
static logEvent_TextCompilationLaunched(service: TelemetryService): void {
|
|
35
|
+
service.logEvent(LEGEND_STUDIO_APP_EVENT.COMPILE_TEXT__LAUNCH, {});
|
|
43
36
|
}
|
|
44
37
|
|
|
45
|
-
static logEvent_TestDataGenerationLaunched(
|
|
46
|
-
|
|
47
|
-
): void {
|
|
48
|
-
telemetryService.logEvent(
|
|
49
|
-
LEGEND_STUDIO_APP_EVENT.TEST_DATA_GENERATION__LAUNCH,
|
|
50
|
-
{},
|
|
51
|
-
);
|
|
38
|
+
static logEvent_TestDataGenerationLaunched(service: TelemetryService): void {
|
|
39
|
+
service.logEvent(LEGEND_STUDIO_APP_EVENT.TEST_DATA_GENERATION__LAUNCH, {});
|
|
52
40
|
}
|
|
53
41
|
|
|
54
42
|
static logEvent_GraphCompilationSucceeded(
|
|
55
|
-
|
|
43
|
+
service: TelemetryService,
|
|
56
44
|
data: Compilation_TelemetryData,
|
|
57
45
|
): void {
|
|
58
|
-
|
|
46
|
+
service.logEvent(
|
|
59
47
|
LEGEND_STUDIO_APP_EVENT.FORM_MODE_COMPILATION__SUCCESS,
|
|
60
48
|
data,
|
|
61
49
|
);
|
|
62
50
|
}
|
|
63
51
|
|
|
64
52
|
static logEvent_TextCompilationSucceeded(
|
|
65
|
-
|
|
53
|
+
service: TelemetryService,
|
|
66
54
|
data: Compilation_TelemetryData,
|
|
67
55
|
): void {
|
|
68
|
-
|
|
56
|
+
service.logEvent(
|
|
69
57
|
LEGEND_STUDIO_APP_EVENT.TEXT_MODE_COMPILATION__SUCCESS,
|
|
70
58
|
data,
|
|
71
59
|
);
|
|
72
60
|
}
|
|
73
61
|
|
|
74
62
|
static logEvent_TestDataGenerationSucceeded(
|
|
75
|
-
|
|
63
|
+
service: TelemetryService,
|
|
76
64
|
data: TestDataGeneration_TelemetryData,
|
|
77
65
|
): void {
|
|
78
|
-
|
|
66
|
+
service.logEvent(
|
|
79
67
|
LEGEND_STUDIO_APP_EVENT.TEST_DATA_GENERATION__SUCCESS,
|
|
80
68
|
data,
|
|
81
69
|
);
|
|
@@ -15,19 +15,22 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
collectContextualDocumentationEntries,
|
|
19
19
|
collectKeyedCommandConfigEntriesFromConfig,
|
|
20
20
|
type KeyedCommandConfigEntry,
|
|
21
21
|
type ContextualDocumentationEntry,
|
|
22
|
+
type SettingConfigurationEntry,
|
|
23
|
+
collectSettingConfigurationEntriesFromConfig,
|
|
22
24
|
} from '@finos/legend-application';
|
|
23
25
|
import packageJson from '../../package.json';
|
|
24
|
-
import { LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../
|
|
26
|
+
import { LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../application/LegendStudioApplicationNavigationContext.js';
|
|
25
27
|
import {
|
|
26
28
|
CORE_CONTEXTUAL_DOCUMENTATION_CONFIG,
|
|
27
29
|
LEGEND_STUDIO_DOCUMENTATION_KEY,
|
|
28
|
-
} from '../
|
|
30
|
+
} from '../application/LegendStudioDocumentation.js';
|
|
29
31
|
import { LegendStudioApplicationPlugin } from '../stores/LegendStudioApplicationPlugin.js';
|
|
30
|
-
import { LEGEND_STUDIO_COMMAND_CONFIG } from '../
|
|
32
|
+
import { LEGEND_STUDIO_COMMAND_CONFIG } from '../application/LegendStudioCommand.js';
|
|
33
|
+
import { LEGEND_STUDIO_SETTING_CONFIG } from '../application/LegendStudioSetting.js';
|
|
31
34
|
|
|
32
35
|
export class Core_LegendStudioApplicationPlugin extends LegendStudioApplicationPlugin {
|
|
33
36
|
static NAME = packageJson.extensions.applicationStudioPlugin;
|
|
@@ -78,7 +81,7 @@ export class Core_LegendStudioApplicationPlugin extends LegendStudioApplicationP
|
|
|
78
81
|
}
|
|
79
82
|
|
|
80
83
|
override getExtraContextualDocumentationEntries(): ContextualDocumentationEntry[] {
|
|
81
|
-
return
|
|
84
|
+
return collectContextualDocumentationEntries(
|
|
82
85
|
CORE_CONTEXTUAL_DOCUMENTATION_CONFIG,
|
|
83
86
|
);
|
|
84
87
|
}
|
|
@@ -100,4 +103,10 @@ export class Core_LegendStudioApplicationPlugin extends LegendStudioApplicationP
|
|
|
100
103
|
LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.SERVICE_EDITOR,
|
|
101
104
|
];
|
|
102
105
|
}
|
|
106
|
+
|
|
107
|
+
override getExtraSettingConfigurationEntries(): SettingConfigurationEntry[] {
|
|
108
|
+
return collectSettingConfigurationEntriesFromConfig(
|
|
109
|
+
LEGEND_STUDIO_SETTING_CONFIG,
|
|
110
|
+
);
|
|
111
|
+
}
|
|
103
112
|
}
|
|
@@ -28,7 +28,7 @@ import { Editor } from './editor/Editor.js';
|
|
|
28
28
|
import {
|
|
29
29
|
generateEditorRoute,
|
|
30
30
|
LEGEND_STUDIO_ROUTE_PATTERN,
|
|
31
|
-
} from '../
|
|
31
|
+
} from '../application/LegendStudioNavigation.js';
|
|
32
32
|
import {
|
|
33
33
|
createMock,
|
|
34
34
|
createSpy,
|
|
@@ -54,8 +54,6 @@ import {
|
|
|
54
54
|
type GenerationConfigurationDescription,
|
|
55
55
|
type GenerationMode,
|
|
56
56
|
type GraphManagerState,
|
|
57
|
-
TEST__GraphManagerStateProvider,
|
|
58
|
-
TEST__getTestGraphManagerState,
|
|
59
57
|
ELEMENT_PATH_DELIMITER,
|
|
60
58
|
} from '@finos/legend-graph';
|
|
61
59
|
import {
|
|
@@ -170,8 +168,6 @@ export const TEST__provideMockedEditorStore = (customization?: {
|
|
|
170
168
|
),
|
|
171
169
|
customization?.sdlcServerClient ?? TEST__getTestSDLCServerClient(),
|
|
172
170
|
customization?.depotServerClient ?? TEST__getTestDepotServerClient(),
|
|
173
|
-
customization?.graphManagerState ??
|
|
174
|
-
TEST__getTestGraphManagerState(customization?.pluginManager),
|
|
175
171
|
);
|
|
176
172
|
const MOCK__EditorStoreProvider = require('./editor/EditorStoreProvider.js'); // eslint-disable-line @typescript-eslint/no-unsafe-assignment
|
|
177
173
|
MOCK__EditorStoreProvider.useEditorStore = createMock();
|
|
@@ -362,15 +358,13 @@ export const TEST__setUpEditor = async (
|
|
|
362
358
|
>
|
|
363
359
|
<TEST__SDLCServerClientProvider>
|
|
364
360
|
<TEST__DepotServerClientProvider>
|
|
365
|
-
<
|
|
366
|
-
<
|
|
367
|
-
<
|
|
368
|
-
<
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
</TEST__LegendStudioBaseStoreProvider>
|
|
373
|
-
</TEST__GraphManagerStateProvider>
|
|
361
|
+
<TEST__LegendStudioBaseStoreProvider>
|
|
362
|
+
<LegendApplicationComponentFrameworkProvider>
|
|
363
|
+
<Route path={[LEGEND_STUDIO_ROUTE_PATTERN.EDIT_WORKSPACE]}>
|
|
364
|
+
<Editor />
|
|
365
|
+
</Route>
|
|
366
|
+
</LegendApplicationComponentFrameworkProvider>
|
|
367
|
+
</TEST__LegendStudioBaseStoreProvider>
|
|
374
368
|
</TEST__DepotServerClientProvider>
|
|
375
369
|
</TEST__SDLCServerClientProvider>
|
|
376
370
|
</TEST__ApplicationStoreProvider>
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
QueryBuilder,
|
|
35
35
|
type QueryBuilderState,
|
|
36
36
|
} from '@finos/legend-query-builder';
|
|
37
|
-
import { LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../
|
|
37
|
+
import { LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../application/LegendStudioApplicationNavigationContext.js';
|
|
38
38
|
import { useEditorStore } from './editor/EditorStoreProvider.js';
|
|
39
39
|
import type { EmbeddedQueryBuilderState } from '../stores/EmbeddedQueryBuilderState.js';
|
|
40
40
|
|
|
@@ -171,7 +171,6 @@ export const LegendStudioAppInfo: React.FC<{
|
|
|
171
171
|
`SDLC Server: ${config.sdlcServerUrl}`,
|
|
172
172
|
`Engine Server: ${config.engineServerUrl}`,
|
|
173
173
|
`Depot Server: ${config.depotServerUrl}`,
|
|
174
|
-
`User Agent: ${window.navigator.userAgent}`,
|
|
175
174
|
]
|
|
176
175
|
.filter(isNonNullable)
|
|
177
176
|
.join('\n'),
|