@finos/legend-application-studio 28.16.22 → 28.16.24
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/LegendStudioNavigation.js.map +1 -1
- package/lib/__lib__/LegendStudioTesting.d.ts +12 -12
- package/lib/__lib__/LegendStudioTesting.d.ts.map +1 -1
- package/lib/application/LegendStudioApplicationConfig.js.map +1 -1
- package/lib/components/ElementIconUtils.js.map +1 -1
- package/lib/components/LegendStudioAppInfo.js.map +1 -1
- package/lib/components/ShowcaseManager.js.map +1 -1
- package/lib/components/editor/ActivityBar.js.map +1 -1
- package/lib/components/editor/Editor.js.map +1 -1
- package/lib/components/editor/EmbeddedQueryBuilder.js.map +1 -1
- package/lib/components/editor/QuickInput.js.map +1 -1
- package/lib/components/editor/StatusBar.js.map +1 -1
- package/lib/components/editor/__test-utils__/EditorComponentTestUtils.js.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.js.map +1 -1
- package/lib/components/editor/editor-group/EditorGroup.js.map +1 -1
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/editor-group/ModelImporter.js.map +1 -1
- package/lib/components/editor/editor-group/ProtocolValueBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/RuntimeEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseEditorHelper.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/database/IsolatedQueryDatabase.d.ts.map +1 -1
- package/lib/components/editor/editor-group/database/IsolatedQueryDatabase.js +8 -6
- package/lib/components/editor/editor-group/database/IsolatedQueryDatabase.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.d.ts.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.js.map +1 -1
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.d.ts.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionQueryBuilder.d.ts.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionQueryBuilder.js +7 -7
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionQueryBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/TypeTree.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/relational/TableOrViewSourceTree.js.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/NewServiceModal.d.ts.map +1 -1
- package/lib/components/editor/editor-group/service-editor/NewServiceModal.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js +3 -3
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js.map +1 -1
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.d.ts.map +1 -1
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js +1 -1
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.d.ts.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.js.map +1 -1
- package/lib/components/editor/panel-group/PanelGroup.js.map +1 -1
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.js.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -1
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.js.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
- package/lib/components/editor/side-bar/RegisterService.js.map +1 -1
- package/lib/components/editor/side-bar/SideBar.js.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.js.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/lazy-text-editor/LazyTextEditor.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewSideBar.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewStoreProvider.d.ts.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewer.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewerPanel.js.map +1 -1
- package/lib/components/project-view/ProjectViewer.js.map +1 -1
- package/lib/components/showcase/ShowcaseViewer.js.map +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.js.map +1 -1
- package/lib/components/workspace-setup/ProjectSelectorUtils.d.ts +1 -1
- package/lib/components/workspace-setup/ProjectSelectorUtils.d.ts.map +1 -1
- package/lib/components/workspace-setup/ProjectSelectorUtils.js.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSetup.d.ts.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSetup.js +1 -2
- package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +15 -15
- package/lib/stores/LegendStudioBaseStore.js.map +1 -1
- package/lib/stores/ShowcaseManagerState.js.map +1 -1
- package/lib/stores/editor/ChangeDetectionState.js +1 -1
- package/lib/stores/editor/ChangeDetectionState.js.map +1 -1
- package/lib/stores/editor/EditorGraphState.js.map +1 -1
- package/lib/stores/editor/EditorSDLCState.js.map +1 -1
- package/lib/stores/editor/EditorStore.js +1 -1
- package/lib/stores/editor/EditorStore.js.map +1 -1
- package/lib/stores/editor/EditorTabManagerState.js.map +1 -1
- package/lib/stores/editor/EmbeddedQueryBuilderState.js.map +1 -1
- package/lib/stores/editor/ExplorerTreeState.js.map +1 -1
- package/lib/stores/editor/GraphEditFormModeState.js.map +1 -1
- package/lib/stores/editor/GraphEditGrammarModeState.js.map +1 -1
- package/lib/stores/editor/NewElementState.js.map +1 -1
- package/lib/stores/editor/StandardEditorMode.js.map +1 -1
- package/lib/stores/editor/editor-state/ArtifactGenerationViewerState.js.map +1 -1
- package/lib/stores/editor/editor-state/ExternalFormatState.js.map +1 -1
- package/lib/stores/editor/editor-state/FileGenerationState.js.map +1 -1
- package/lib/stores/editor/editor-state/FileSystemState.js.map +1 -1
- package/lib/stores/editor/editor-state/GenerationSpecificationEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/GraphGenerationState.js.map +1 -1
- package/lib/stores/editor/editor-state/ModelImporterState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/ClassEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/ClassState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/ElementFileGenerationState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/FunctionActivatorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/ProtocolValueBuilderState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/ToDelete_FunctionActivatorBuilderState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/UMLEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderWizardState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseModelBuilderState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/database/QueryDatabaseState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/function-activator/HostedServiceFunctionActivatorEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/function-activator/INTERNAL__UnknownFunctionActivatorEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.js +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingElementDecorator.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingElementDecorator.js +1 -2
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingElementDecorator.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/mapping/legacy/DEPRECATED__MappingTestState.d.ts +3 -3
- package/lib/stores/editor/editor-state/element-editor-state/mapping/legacy/DEPRECATED__MappingTestState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/mapping/legacy/DEPRECATED__MappingTestState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/mapping/legacy/MappingTestMigrationState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestingHelper.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceExecutionState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/ServicePostValidationState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestAssertionState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/end-to-end-workflow-state/QueryConnectionEndToEndWorkflowEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.js.map +1 -1
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js.map +1 -1
- package/lib/stores/editor/panel-group/DevToolPanelState.js.map +1 -1
- package/lib/stores/editor/panel-group/SQLPlaygroundPanelState.js.map +1 -1
- package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.js.map +1 -1
- package/lib/stores/editor/sidebar-state/LocalChangesState.js +1 -1
- package/lib/stores/editor/sidebar-state/LocalChangesState.js.map +1 -1
- package/lib/stores/editor/sidebar-state/ProjectOverviewState.js.map +1 -1
- package/lib/stores/editor/sidebar-state/WorkflowManagerState.js.map +1 -1
- package/lib/stores/editor/sidebar-state/WorkspaceReviewState.js.map +1 -1
- package/lib/stores/editor/sidebar-state/WorkspaceSyncState.js.map +1 -1
- package/lib/stores/editor/sidebar-state/WorkspaceUpdateConflictResolutionState.js.map +1 -1
- package/lib/stores/editor/sidebar-state/WorkspaceUpdaterState.js.map +1 -1
- package/lib/stores/editor/sidebar-state/end-to-end-workflow/GlobalEndToEndFlowState.js.map +1 -1
- package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.js.map +1 -1
- package/lib/stores/editor/utils/FileSystemTreeUtils.js.map +1 -1
- package/lib/stores/editor/utils/MockDataUtils.js.map +1 -1
- package/lib/stores/editor/utils/ModelClassifierUtils.js.map +1 -1
- package/lib/stores/editor/utils/PackageTreeUtils.d.ts +6 -6
- package/lib/stores/editor/utils/PackageTreeUtils.d.ts.map +1 -1
- package/lib/stores/editor/utils/PackageTreeUtils.js.map +1 -1
- package/lib/stores/editor/utils/TestableUtils.js.map +1 -1
- package/lib/stores/graph-modifier/DSL_Data_GraphModifierHelper.js.map +1 -1
- package/lib/stores/graph-modifier/DSL_Generation_GraphModifierHelper.js.map +1 -1
- package/lib/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.js.map +1 -1
- package/lib/stores/graph-modifier/DSL_Service_GraphModifierHelper.js.map +1 -1
- package/lib/stores/graph-modifier/DomainGraphModifierHelper.d.ts.map +1 -1
- package/lib/stores/graph-modifier/DomainGraphModifierHelper.js.map +1 -1
- package/lib/stores/graph-modifier/GraphModifierHelper.js.map +1 -1
- package/lib/stores/project-reviewer/ProjectReviewerStore.js +2 -2
- package/lib/stores/project-reviewer/ProjectReviewerStore.js.map +1 -1
- package/lib/stores/project-view/ProjectViewerEditorMode.js.map +1 -1
- package/lib/stores/project-view/ProjectViewerStore.js.map +1 -1
- package/lib/stores/showcase/ShowcaseViewerStore.js.map +1 -1
- package/lib/stores/workspace-setup/ProjectConfigurationStatus.js.map +1 -1
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js.map +1 -1
- package/package.json +26 -26
- package/src/__lib__/LegendStudioNavigation.ts +22 -22
- package/src/components/editor/StatusBar.tsx +22 -22
- package/src/components/editor/editor-group/connection-editor/DatabaseModelBuilder.tsx +2 -2
- package/src/components/editor/editor-group/database/IsolatedQueryDatabase.tsx +56 -60
- package/src/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.tsx +2 -2
- package/src/components/editor/editor-group/function-activator/FunctionEditor.tsx +4 -4
- package/src/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.tsx +18 -18
- package/src/components/editor/editor-group/mapping-editor/MappingExecutionQueryBuilder.tsx +35 -37
- package/src/components/editor/editor-group/mapping-editor/NewMappingElementModal.tsx +2 -2
- package/src/components/editor/editor-group/mapping-editor/TypeTree.tsx +2 -2
- package/src/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.tsx +4 -4
- package/src/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.tsx +3 -3
- package/src/components/editor/editor-group/service-editor/ServiceExecutionEditor.tsx +4 -4
- package/src/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.tsx +3 -0
- package/src/components/editor/editor-group/service-editor/ServicePostValidationEditor.tsx +4 -4
- package/src/components/editor/editor-group/service-editor/ServiceRegistrationEditor.tsx +2 -2
- package/src/components/editor/editor-group/testable/TestableSharedComponents.tsx +1 -0
- package/src/components/editor/editor-group/uml-editor/AssociationEditor.tsx +2 -2
- package/src/components/editor/editor-group/uml-editor/ClassEditor.tsx +4 -4
- package/src/components/editor/side-bar/Explorer.tsx +10 -10
- package/src/components/editor/side-bar/ProjectOverview.tsx +4 -4
- package/src/components/editor/side-bar/WorkspaceReview.tsx +12 -12
- package/src/components/lazy-text-editor/LazyTextEditor.tsx +11 -11
- package/src/components/project-reviewer/ProjectReviewer.tsx +8 -8
- package/src/components/project-view/ProjectViewer.tsx +2 -2
- package/src/components/workspace-setup/WorkspaceSetup.tsx +5 -6
- package/src/stores/editor/NewElementState.ts +6 -6
- package/src/stores/editor/editor-state/element-editor-state/ProtocolValueBuilderState.ts +2 -2
- package/src/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.ts +1 -0
- package/src/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.ts +4 -4
- package/src/stores/editor/editor-state/element-editor-state/mapping/MappingElementDecorator.ts +1 -2
- package/src/stores/project-reviewer/ProjectReviewerStore.ts +2 -2
- package/src/stores/project-view/ProjectViewerEditorMode.ts +15 -15
- package/src/stores/project-view/ProjectViewerStore.ts +2 -2
- package/src/stores/workspace-setup/WorkspaceSetupStore.ts +5 -5
- package/tsconfig.json +17 -1
- package/tsconfig.package.json +17 -1
@@ -21,11 +21,7 @@ import {
|
|
21
21
|
import { QueryBuilderClassSelector } from '@finos/legend-query-builder';
|
22
22
|
import type { IsolatedDatabaseBuilderState } from '../../../../stores/editor/editor-state/element-editor-state/database/QueryDatabaseState.js';
|
23
23
|
import { observer } from 'mobx-react-lite';
|
24
|
-
import {
|
25
|
-
CustomSelectorInput,
|
26
|
-
PURE_ConnectionIcon,
|
27
|
-
PURE_DatabaseIcon,
|
28
|
-
} from '@finos/legend-art';
|
24
|
+
import { CustomSelectorInput, PanelHeader } from '@finos/legend-art';
|
29
25
|
import { returnUndefOnError } from '@finos/legend-shared';
|
30
26
|
|
31
27
|
const IsolatedDatabseQueryBuilderSetupPanelContext = observer(
|
@@ -40,9 +36,9 @@ const IsolatedDatabseQueryBuilderSetupPanelContext = observer(
|
|
40
36
|
);
|
41
37
|
const database = queryBuilderState.database;
|
42
38
|
const compConnections = queryBuilderState.compatibleConnections;
|
43
|
-
const compConnectionsOptions = Array.from(compConnections.keys())
|
44
|
-
(e) => ({ value: e, label: getConnectionValue(e)?.name ?? e })
|
45
|
-
|
39
|
+
const compConnectionsOptions = Array.from(compConnections.keys())
|
40
|
+
.map((e) => ({ value: e, label: getConnectionValue(e)?.name ?? e }))
|
41
|
+
.sort((a, b) => a.label.localeCompare(b.label));
|
46
42
|
const changeConnection = (
|
47
43
|
val: { value: string; label: string } | null,
|
48
44
|
): void => {
|
@@ -70,61 +66,61 @@ const IsolatedDatabseQueryBuilderSetupPanelContext = observer(
|
|
70
66
|
)
|
71
67
|
: [];
|
72
68
|
return (
|
73
|
-
|
74
|
-
<
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
</
|
69
|
+
<div className="query-builder__setup__config-group">
|
70
|
+
<PanelHeader title="properties" />
|
71
|
+
<div className="query-builder__setup__config-group__content">
|
72
|
+
<div className="query-builder__setup__config-group__item">
|
73
|
+
<label
|
74
|
+
className="btn--sm query-builder__setup__config-group__item__label"
|
75
|
+
title="store"
|
76
|
+
htmlFor="query-builder__setup__store-selector"
|
77
|
+
>
|
78
|
+
Store
|
79
|
+
</label>
|
80
|
+
<CustomSelectorInput
|
81
|
+
inputId="query-builder__setup__store-selector"
|
82
|
+
className="panel__content__form__section__dropdown query-builder__setup__config-group__item__selector"
|
83
|
+
noMatchMessage="No compatible mapping found for specified class"
|
84
|
+
disabled={true}
|
85
|
+
options={[]}
|
86
|
+
value={databaseOption}
|
87
|
+
darkMode={
|
88
|
+
!queryBuilderState.applicationStore.layoutService
|
89
|
+
.TEMPORARY__isLightColorThemeEnabled
|
90
|
+
}
|
91
|
+
/>
|
92
|
+
</div>
|
93
|
+
<div className="query-builder__setup__config-group__item">
|
94
|
+
<label
|
95
|
+
className="btn--sm query-builder__setup__config-group__item__label"
|
96
|
+
title="connection"
|
97
|
+
htmlFor="query-builder__setup__connection-selector"
|
98
|
+
>
|
99
|
+
Connection
|
100
|
+
</label>
|
101
|
+
<CustomSelectorInput
|
102
|
+
inputId="query-builder__setup__connection-selector"
|
103
|
+
className="panel__content__form__section__dropdown query-builder__setup__config-group__item__selector"
|
104
|
+
noMatchMessage="No compatible mapping found for specified class"
|
105
|
+
disabled={compConnectionsOptions.length < 2}
|
106
|
+
options={compConnectionsOptions}
|
107
|
+
onChange={changeConnection}
|
108
|
+
value={selectedConnection}
|
109
|
+
darkMode={
|
110
|
+
!queryBuilderState.applicationStore.layoutService
|
111
|
+
.TEMPORARY__isLightColorThemeEnabled
|
112
|
+
}
|
113
|
+
/>
|
84
114
|
</div>
|
85
|
-
<div className="query-builder__setup__config-
|
86
|
-
<
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
<PURE_DatabaseIcon />
|
92
|
-
</div>
|
93
|
-
<CustomSelectorInput
|
94
|
-
className="panel__content__form__section__dropdown query-builder__setup__config-group__item__selector"
|
95
|
-
noMatchMessage="No compatible mapping found for specified class"
|
96
|
-
disabled={true}
|
97
|
-
options={[]}
|
98
|
-
value={databaseOption}
|
99
|
-
darkMode={
|
100
|
-
!queryBuilderState.applicationStore.layoutService
|
101
|
-
.TEMPORARY__isLightColorThemeEnabled
|
102
|
-
}
|
103
|
-
/>
|
104
|
-
</div>
|
105
|
-
<div className="query-builder__setup__config-group__item">
|
106
|
-
<div
|
107
|
-
className="btn--sm query-builder__setup__config-group__item__label"
|
108
|
-
title="connection"
|
109
|
-
>
|
110
|
-
<PURE_ConnectionIcon />
|
111
|
-
</div>
|
112
|
-
<CustomSelectorInput
|
113
|
-
className="panel__content__form__section__dropdown query-builder__setup__config-group__item__selector"
|
114
|
-
noMatchMessage="No compatible mapping found for specified class"
|
115
|
-
disabled={compConnectionsOptions.length < 2}
|
116
|
-
options={compConnectionsOptions}
|
117
|
-
onChange={changeConnection}
|
118
|
-
value={selectedConnection}
|
119
|
-
darkMode={
|
120
|
-
!queryBuilderState.applicationStore.layoutService
|
121
|
-
.TEMPORARY__isLightColorThemeEnabled
|
122
|
-
}
|
123
|
-
/>
|
124
|
-
</div>
|
115
|
+
<div className="query-builder__setup__config-group__item">
|
116
|
+
<QueryBuilderClassSelector
|
117
|
+
queryBuilderState={queryBuilderState}
|
118
|
+
classes={classes}
|
119
|
+
noMatchMessage="No entities selected from"
|
120
|
+
/>
|
125
121
|
</div>
|
126
122
|
</div>
|
127
|
-
|
123
|
+
</div>
|
128
124
|
);
|
129
125
|
},
|
130
126
|
);
|
@@ -695,8 +695,8 @@ export const EntityChangeConflictEditor = observer(
|
|
695
695
|
{isReadOnly
|
696
696
|
? 'Merge preview'
|
697
697
|
: conflictEditorState.mergeSucceeded
|
698
|
-
|
699
|
-
|
698
|
+
? 'Merged successfully'
|
699
|
+
: 'Merged with conflict(s)'}
|
700
700
|
</div>
|
701
701
|
</div>
|
702
702
|
<div className="entity-change-conflict-editor__header__info__comparison-summary">
|
@@ -274,8 +274,8 @@ const ParameterBasicEditor = observer(
|
|
274
274
|
upper === MULTIPLICITY_INFINITE
|
275
275
|
? undefined
|
276
276
|
: typeof upper === 'number'
|
277
|
-
|
278
|
-
|
277
|
+
? upper
|
278
|
+
: parseInt(upper, 10);
|
279
279
|
if (!isNaN(lBound) && (uBound === undefined || !isNaN(uBound))) {
|
280
280
|
rawVariableExpression_setMultiplicity(
|
281
281
|
parameter,
|
@@ -540,8 +540,8 @@ const ReturnTypeEditor = observer(
|
|
540
540
|
upper === MULTIPLICITY_INFINITE
|
541
541
|
? undefined
|
542
542
|
: typeof upper === 'number'
|
543
|
-
|
544
|
-
|
543
|
+
? upper
|
544
|
+
: parseInt(upper, 10);
|
545
545
|
if (!isNaN(lBound) && (uBound === undefined || !isNaN(uBound))) {
|
546
546
|
function_setReturnMultiplicity(
|
547
547
|
functionElement,
|
@@ -165,24 +165,24 @@ export const InstanceSetImplementationSourceSelectorModal = observer(
|
|
165
165
|
}),
|
166
166
|
)
|
167
167
|
: sourceElementToFilter instanceof Class
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
168
|
+
? ([sourceElementToFilter] as MappingElementSource[])
|
169
|
+
: sourceElementToFilter instanceof FlatData
|
170
|
+
? [sourceElementToFilter].flatMap(getAllRecordTypes)
|
171
|
+
: [sourceElementToFilter as Database]
|
172
|
+
.flatMap((e) =>
|
173
|
+
e.schemas.flatMap((schema) =>
|
174
|
+
(schema.tables as (Table | View)[]).concat(schema.views),
|
175
|
+
),
|
176
|
+
)
|
177
|
+
.map((relation) => {
|
178
|
+
const mainTableAlias = new TableAlias();
|
179
|
+
mainTableAlias.relation =
|
180
|
+
relation instanceof Table
|
181
|
+
? TableExplicitReference.create(relation)
|
182
|
+
: ViewExplicitReference.create(relation);
|
183
|
+
mainTableAlias.name = mainTableAlias.relation.value.name;
|
184
|
+
return mainTableAlias;
|
185
|
+
})
|
186
186
|
).map(buildMappingElementSourceOption);
|
187
187
|
const sourceFilterOption = createFilter({
|
188
188
|
ignoreCase: true,
|
@@ -20,7 +20,7 @@ import {
|
|
20
20
|
buildElementOption,
|
21
21
|
getPackageableElementOptionFormatter,
|
22
22
|
} from '@finos/legend-lego/graph-editor';
|
23
|
-
import { CustomSelectorInput,
|
23
|
+
import { CustomSelectorInput, PanelHeader } from '@finos/legend-art';
|
24
24
|
import { getMappingCompatibleClasses } from '@finos/legend-graph';
|
25
25
|
import { QueryBuilderClassSelector } from '@finos/legend-query-builder';
|
26
26
|
import type { MappingExecutionQueryBuilderState } from '../../../../stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js';
|
@@ -46,45 +46,43 @@ const MappingExecutionQueryBuilderSetupPanelContent = observer(
|
|
46
46
|
);
|
47
47
|
|
48
48
|
return (
|
49
|
-
|
50
|
-
<
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
49
|
+
<div className="query-builder__setup__config-group">
|
50
|
+
<PanelHeader title="properties" />
|
51
|
+
<div className="query-builder__setup__config-group__content">
|
52
|
+
<div className="query-builder__setup__config-group__item">
|
53
|
+
<label
|
54
|
+
className="btn--sm query-builder__setup__config-group__item__label"
|
55
|
+
title="mapping"
|
56
|
+
htmlFor="query-builder__setup__mapping-selector"
|
57
|
+
>
|
58
|
+
Mapping
|
59
|
+
</label>
|
60
|
+
<CustomSelectorInput
|
61
|
+
inputId="query-builder__setup__mapping-selector"
|
62
|
+
className="panel__content__form__section__dropdown query-builder__setup__config-group__item__selector"
|
63
|
+
disabled={true}
|
64
|
+
options={[]}
|
65
|
+
value={selectedMappingOption}
|
66
|
+
darkMode={
|
67
|
+
!applicationStore.layoutService
|
68
|
+
.TEMPORARY__isLightColorThemeEnabled
|
69
|
+
}
|
70
|
+
formatOptionLabel={getPackageableElementOptionFormatter({
|
71
|
+
darkMode:
|
70
72
|
!applicationStore.layoutService
|
71
|
-
.TEMPORARY__isLightColorThemeEnabled
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
73
|
+
.TEMPORARY__isLightColorThemeEnabled,
|
74
|
+
})}
|
75
|
+
/>
|
76
|
+
</div>
|
77
|
+
<div className="query-builder__setup__config-group__item">
|
78
|
+
<QueryBuilderClassSelector
|
79
|
+
queryBuilderState={queryBuilderState}
|
80
|
+
classes={classes}
|
81
|
+
noMatchMessage="No compatible entity found for specified mapping"
|
82
|
+
/>
|
80
83
|
</div>
|
81
84
|
</div>
|
82
|
-
|
83
|
-
queryBuilderState={queryBuilderState}
|
84
|
-
classes={classes}
|
85
|
-
noMatchMessage="No compatible class found for specified mapping"
|
86
|
-
/>
|
87
|
-
</>
|
85
|
+
</div>
|
88
86
|
);
|
89
87
|
},
|
90
88
|
);
|
@@ -197,8 +197,8 @@ export const NewMappingElementModal = observer(() => {
|
|
197
197
|
spec.target instanceof Class
|
198
198
|
? 'Class'
|
199
199
|
: spec.target instanceof Enumeration
|
200
|
-
|
201
|
-
|
200
|
+
? 'Enumeration'
|
201
|
+
: 'Association'
|
202
202
|
} Mapping ${spec.target ? `for ${spec.target.name}` : ''}`
|
203
203
|
: undefined;
|
204
204
|
|
@@ -266,8 +266,8 @@ export const TypeTree: React.FC<{
|
|
266
266
|
(b.type instanceof Class
|
267
267
|
? 2
|
268
268
|
: b.type instanceof Enumeration
|
269
|
-
|
270
|
-
|
269
|
+
? 1
|
270
|
+
: 0) -
|
271
271
|
(a.type instanceof Class ? 2 : a.type instanceof Enumeration ? 1 : 0),
|
272
272
|
);
|
273
273
|
return childrenNodes;
|
package/src/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.tsx
CHANGED
@@ -891,8 +891,8 @@ const ProjectVersionDependencyEditor = observer(
|
|
891
891
|
const projectSelectorPlaceholder = !projectDependency.projectId.length
|
892
892
|
? 'Choose project'
|
893
893
|
: versionDisabled
|
894
|
-
|
895
|
-
|
894
|
+
? 'No project version found. Please create a new one.'
|
895
|
+
: 'Select version';
|
896
896
|
|
897
897
|
return (
|
898
898
|
<div className="project-dependency-editor">
|
@@ -1005,8 +1005,8 @@ export const ProjectDependencyEditor = observer(() => {
|
|
1005
1005
|
{configState.updatingConfigurationState.isInProgress
|
1006
1006
|
? `Updating configuration...`
|
1007
1007
|
: configState.fetchingProjectVersionsState.isInProgress
|
1008
|
-
|
1009
|
-
|
1008
|
+
? `Fetching dependency versions`
|
1009
|
+
: 'Updating project dependency tree and potential conflicts'}
|
1010
1010
|
</div>
|
1011
1011
|
)}
|
1012
1012
|
<ProjectDependencyActions dependencyEditorState={dependencyEditorState} />
|
@@ -119,9 +119,9 @@ export const BulkServiceRegistrationEditor = observer(() => {
|
|
119
119
|
ServiceExecutionMode.SEMI_INTERACTIVE,
|
120
120
|
)} and ${prettyCONSTName(ServiceExecutionMode.PROD)} service types`
|
121
121
|
: !globalBulkServiceRegistrationState.serviceConfigState.versionOptions
|
122
|
-
|
123
|
-
|
124
|
-
|
122
|
+
.length
|
123
|
+
? 'Project has no versions'
|
124
|
+
: undefined;
|
125
125
|
|
126
126
|
// activate
|
127
127
|
const toggleActivatePostRegistration = (): void => {
|
@@ -565,10 +565,10 @@ export const NewExecutionParameterModal = observer(
|
|
565
565
|
keyValue === ''
|
566
566
|
? `Execution context key can't be empty`
|
567
567
|
: executionState.execution.executionParameters?.find(
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
568
|
+
(e) => e.key === keyValue,
|
569
|
+
)
|
570
|
+
? 'Execution context key already exists'
|
571
|
+
: undefined;
|
572
572
|
|
573
573
|
const closeModal = (): void =>
|
574
574
|
executionState.setNewKeyParameterModal(false);
|
@@ -54,6 +54,7 @@ import {
|
|
54
54
|
QueryLoaderDialog,
|
55
55
|
ExecutionPlanViewer,
|
56
56
|
QueryBuilderAdvancedWorkflowState,
|
57
|
+
QueryBuilderActionConfig,
|
57
58
|
} from '@finos/legend-query-builder';
|
58
59
|
import { ProjectViewerEditorMode } from '../../../../stores/project-view/ProjectViewerEditorMode.js';
|
59
60
|
import { useLegendStudioApplicationStore } from '../../../LegendStudioFrameworkProvider.js';
|
@@ -145,6 +146,7 @@ export const ServiceExecutionQueryEditor = observer(
|
|
145
146
|
embeddedQueryBuilderState.editorStore.applicationStore,
|
146
147
|
embeddedQueryBuilderState.editorStore.graphManagerState,
|
147
148
|
QueryBuilderAdvancedWorkflowState.INSTANCE,
|
149
|
+
QueryBuilderActionConfig.INSTANCE,
|
148
150
|
service,
|
149
151
|
undefined,
|
150
152
|
selectedExecutionState?.executionContext instanceof
|
@@ -491,6 +493,7 @@ export const queryService = async (
|
|
491
493
|
embeddedQueryBuilderState.editorStore.applicationStore,
|
492
494
|
embeddedQueryBuilderState.editorStore.graphManagerState,
|
493
495
|
QueryBuilderAdvancedWorkflowState.INSTANCE,
|
496
|
+
QueryBuilderActionConfig.INSTANCE,
|
494
497
|
service,
|
495
498
|
undefined,
|
496
499
|
selectedExec,
|
@@ -71,8 +71,8 @@ const ServicePostValidationAssertionEditor = observer(
|
|
71
71
|
assertion.id === ''
|
72
72
|
? `assertion ID can't be empty`
|
73
73
|
: assertion.id.includes(' ')
|
74
|
-
|
75
|
-
|
74
|
+
? `assertion ID can't include spaced`
|
75
|
+
: undefined;
|
76
76
|
|
77
77
|
return (
|
78
78
|
<div className="service-post-validation-editor__parameters">
|
@@ -469,8 +469,8 @@ const ServicePostValidationResultsViewer = observer(
|
|
469
469
|
/>
|
470
470
|
))
|
471
471
|
: isInProgress
|
472
|
-
|
473
|
-
|
472
|
+
? 'Post validation(s) running...'
|
473
|
+
: 'Run post validation(s) to see results'}
|
474
474
|
</div>
|
475
475
|
);
|
476
476
|
},
|
@@ -94,8 +94,8 @@ export const ServiceRegistrationEditor = observer(() => {
|
|
94
94
|
ServiceExecutionMode.SEMI_INTERACTIVE,
|
95
95
|
)} and ${prettyCONSTName(ServiceExecutionMode.PROD)} service types`
|
96
96
|
: !registrationState.versionOptions.length
|
97
|
-
|
98
|
-
|
97
|
+
? 'Project has no versions'
|
98
|
+
: undefined;
|
99
99
|
|
100
100
|
// activate
|
101
101
|
const toggleActivatePostRegistration = (): void => {
|
@@ -183,8 +183,8 @@ const AssociationPropertyBasicEditor = observer(
|
|
183
183
|
upper === MULTIPLICITY_INFINITE
|
184
184
|
? undefined
|
185
185
|
: typeof upper === 'number'
|
186
|
-
|
187
|
-
|
186
|
+
? upper
|
187
|
+
: parseInt(upper, 10);
|
188
188
|
if (!isNaN(lBound) && (uBound === undefined || !isNaN(uBound))) {
|
189
189
|
property_setMultiplicity(
|
190
190
|
property,
|
@@ -210,8 +210,8 @@ const PropertyBasicEditor = observer(
|
|
210
210
|
upper === MULTIPLICITY_INFINITE
|
211
211
|
? undefined
|
212
212
|
: typeof upper === 'number'
|
213
|
-
|
214
|
-
|
213
|
+
? upper
|
214
|
+
: parseInt(upper, 10);
|
215
215
|
if (!isNaN(lBound) && (uBound === undefined || !isNaN(uBound))) {
|
216
216
|
property_setMultiplicity(
|
217
217
|
property,
|
@@ -557,8 +557,8 @@ const DerivedPropertyBasicEditor = observer(
|
|
557
557
|
upper === MULTIPLICITY_INFINITE
|
558
558
|
? undefined
|
559
559
|
: typeof upper === 'number'
|
560
|
-
|
561
|
-
|
560
|
+
? upper
|
561
|
+
: parseInt(upper, 10);
|
562
562
|
if (!isNaN(lBound) && (uBound === undefined || !isNaN(uBound))) {
|
563
563
|
property_setMultiplicity(
|
564
564
|
derivedProperty,
|
@@ -190,12 +190,12 @@ const ElementRenamer = observer(() => {
|
|
190
190
|
const errorMessage = !isElementPathNonEmpty
|
191
191
|
? `Element path cannot be empty`
|
192
192
|
: !isNotTopLevelElement
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
193
|
+
? `Creating top level element is not allowed`
|
194
|
+
: !isValidElementPath
|
195
|
+
? `Element path is not valid`
|
196
|
+
: !isElementUnique
|
197
|
+
? `Element of the same path already existed`
|
198
|
+
: '';
|
199
199
|
setElementRenameValidationErrorMessage(errorMessage);
|
200
200
|
setCanRenameElement(
|
201
201
|
isElementPathNonEmpty &&
|
@@ -960,10 +960,10 @@ const PackageTreeNodeContainer = observer(
|
|
960
960
|
const iconPackageColor = isGeneratedElement(node.packageableElement)
|
961
961
|
? 'color--generated'
|
962
962
|
: isSystemElement(node.packageableElement)
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
963
|
+
? 'color--system'
|
964
|
+
: isDependencyElement(node.packageableElement)
|
965
|
+
? 'color--dependency'
|
966
|
+
: '';
|
967
967
|
|
968
968
|
const nodeIcon = isPackage ? (
|
969
969
|
node.isOpen ? (
|
@@ -350,10 +350,10 @@ const ReleaseEditor = observer(() => {
|
|
350
350
|
const disabledCreateVersionTitle = isCurrentProjectVersionLatest
|
351
351
|
? `Can't create version: project version not the latest`
|
352
352
|
: !editorStore.sdlcServerClient.features.canCreateVersion
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
353
|
+
? `Can't create version: current svn system does not support creating versions`
|
354
|
+
: !editorStore.sdlcState.canCreateVersion
|
355
|
+
? `Can't create version: You do not have the rights to create a version`
|
356
|
+
: undefined;
|
357
357
|
|
358
358
|
// since this can be affected by other users, we refresh it more proactively
|
359
359
|
useEffect(() => {
|
@@ -140,12 +140,12 @@ export const WorkspaceReview = observer(() => {
|
|
140
140
|
const commitReviewTitle = workspaceContainsSnapshotDependencies
|
141
141
|
? `Can't commit review: workspace has snapshot dependencies`
|
142
142
|
: workspaceReviewState.sdlcState.isActiveProjectSandbox
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
143
|
+
? `Can't commit review: reviews are not allowed on sandbox projects`
|
144
|
+
: !workspaceReviewState.canMergeReview
|
145
|
+
? workspaceReviewState.sdlcState.unAuthorizedActionMessage(
|
146
|
+
AuthorizableProjectAction.COMMIT_REVIEW,
|
147
|
+
)
|
148
|
+
: 'Commit review';
|
149
149
|
const commitReview = (): void => {
|
150
150
|
if (workspaceReview && !isDispatchingAction) {
|
151
151
|
editorStore.localChangesState.alertUnsavedChanges((): void => {
|
@@ -167,12 +167,12 @@ export const WorkspaceReview = observer(() => {
|
|
167
167
|
const createReviewTitle = workspaceContainsSnapshotDependencies
|
168
168
|
? `Can't create review: workspace has snapshot dependencies`
|
169
169
|
: workspaceReviewState.sdlcState.isActiveProjectSandbox
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
170
|
+
? `Can't create review: reviews are not allowed on sandbox projects`
|
171
|
+
: !workspaceReviewState.canCreateReview
|
172
|
+
? workspaceReviewState.sdlcState.unAuthorizedActionMessage(
|
173
|
+
AuthorizableProjectAction.SUBMIT_REVIEW,
|
174
|
+
)
|
175
|
+
: 'Create review';
|
176
176
|
const createReview = (): void => {
|
177
177
|
if (
|
178
178
|
workspaceReviewState.reviewTitle &&
|
@@ -108,17 +108,17 @@ const LazyStatusBar = observer((props: { actionsDisabled: boolean }) => {
|
|
108
108
|
editorStore.changeDetectionState.initState.hasFailed
|
109
109
|
? 'change detection halted'
|
110
110
|
: !editorStore.changeDetectionState.initState.hasSucceeded
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
111
|
+
? editorStore.changeDetectionState.workspaceLocalLatestRevisionState
|
112
|
+
.isBuildingEntityHashesIndex
|
113
|
+
? 'building indexes...'
|
114
|
+
: 'starting change detection...'
|
115
|
+
: editorStore.localChangesState.pushChangesState.isInProgress
|
116
|
+
? 'pushing local changes...'
|
117
|
+
: configurationState.updatingConfigurationState.isInProgress
|
118
|
+
? 'updating configuration...'
|
119
|
+
: changes
|
120
|
+
? `${changes} unpushed changes`
|
121
|
+
: 'no changes detected';
|
122
122
|
const workspaceOutOfSync =
|
123
123
|
!actionsDisabled && editorStore.sdlcState.isWorkspaceOutOfSync;
|
124
124
|
|
@@ -60,14 +60,14 @@ const ProjectReviewerStatusBar = observer(() => {
|
|
60
60
|
const reviewStatus = reviewStore.approveState.isInProgress
|
61
61
|
? 'approving review...'
|
62
62
|
: reviewStore.commitState.isInProgress
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
63
|
+
? 'committing review...'
|
64
|
+
: reviewStore.closeState.isInProgress
|
65
|
+
? 'closing review...'
|
66
|
+
: reviewStore.reOpenState.isInProgress
|
67
|
+
? 'reopening review...'
|
68
|
+
: reviewStore.buildReviewReportState.isInProgress
|
69
|
+
? 'loading changes...'
|
70
|
+
: undefined;
|
71
71
|
const toggleAssistant = (): void =>
|
72
72
|
applicationStore.assistantService.toggleAssistant();
|
73
73
|
|