@finos/legend-application-studio 28.10.0 → 28.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/editor/editor-group/EditorGroup.js +4 -4
- package/lib/components/editor/editor-group/EditorGroup.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.d.ts.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js +2 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js.map +1 -1
- package/lib/components/editor/editor-group/end-to-end-flow-editor/{QueryConnectionWorkflowEditor.d.ts → ConnectionToQueryWorkflowEditor.d.ts} +7 -14
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.d.ts.map +1 -0
- package/lib/components/editor/editor-group/end-to-end-flow-editor/{QueryConnectionWorkflowEditor.js → ConnectionToQueryWorkflowEditor.js} +30 -25
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js.map +1 -0
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
- package/lib/components/editor/side-bar/Explorer.d.ts.map +1 -1
- package/lib/components/editor/side-bar/Explorer.js +6 -6
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.d.ts.map +1 -1
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.js +6 -4
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +10 -10
- package/lib/stores/editor/EditorStore.d.ts +1 -0
- package/lib/stores/editor/EditorStore.d.ts.map +1 -1
- package/lib/stores/editor/EditorStore.js +4 -0
- package/lib/stores/editor/EditorStore.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.js +2 -1
- package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/end-to-end-workflow-state/EndToEndWorkflowEditorState.d.ts +3 -3
- package/lib/stores/editor/editor-state/end-to-end-workflow-state/EndToEndWorkflowEditorState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/end-to-end-workflow-state/EndToEndWorkflowEditorState.js +4 -6
- package/lib/stores/editor/editor-state/end-to-end-workflow-state/EndToEndWorkflowEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/end-to-end-workflow-state/QueryConnectionEndToEndWorkflowEditorState.d.ts +111 -0
- package/lib/stores/editor/editor-state/end-to-end-workflow-state/QueryConnectionEndToEndWorkflowEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/end-to-end-workflow-state/QueryConnectionEndToEndWorkflowEditorState.js +453 -0
- package/lib/stores/editor/editor-state/end-to-end-workflow-state/QueryConnectionEndToEndWorkflowEditorState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/end-to-end-workflow/GlobalEndToEndFlowState.d.ts +2 -91
- package/lib/stores/editor/sidebar-state/end-to-end-workflow/GlobalEndToEndFlowState.d.ts.map +1 -1
- package/lib/stores/editor/sidebar-state/end-to-end-workflow/GlobalEndToEndFlowState.js +8 -465
- package/lib/stores/editor/sidebar-state/end-to-end-workflow/GlobalEndToEndFlowState.js.map +1 -1
- package/package.json +21 -21
- package/src/components/editor/editor-group/EditorGroup.tsx +4 -4
- package/src/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.tsx +2 -1
- package/src/components/editor/editor-group/end-to-end-flow-editor/{QueryConnectionWorkflowEditor.tsx → ConnectionToQueryWorkflowEditor.tsx} +83 -43
- package/src/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.tsx +1 -1
- package/src/components/editor/side-bar/Explorer.tsx +7 -6
- package/src/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.tsx +8 -7
- package/src/stores/editor/EditorStore.ts +5 -0
- package/src/stores/editor/editor-state/element-editor-state/ElementEditorState.ts +2 -1
- package/src/stores/editor/editor-state/end-to-end-workflow-state/EndToEndWorkflowEditorState.ts +4 -6
- package/src/stores/editor/{sidebar-state/end-to-end-workflow/GlobalEndToEndFlowState.tsx → editor-state/end-to-end-workflow-state/QueryConnectionEndToEndWorkflowEditorState.ts} +168 -277
- package/src/stores/editor/sidebar-state/end-to-end-workflow/GlobalEndToEndFlowState.ts +43 -0
- package/tsconfig.json +4 -3
- package/lib/components/editor/editor-group/end-to-end-flow-editor/QueryConnectionWorkflowEditor.d.ts.map +0 -1
- package/lib/components/editor/editor-group/end-to-end-flow-editor/QueryConnectionWorkflowEditor.js.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"GlobalEndToEndFlowState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/sidebar-state/end-to-end-workflow/GlobalEndToEndFlowState.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE5E,OAAO,EAAE,0CAA0C,EAAE,MAAM,6EAA6E,CAAC;AACzI,OAAO,EAAE,sCAAsC,EAAE,MAAM,6EAA6E,CAAC;AACrI,OAAO,EACL,4BAA4B,EAC5B,8BAA8B,EAC9B,mCAAmC,EACnC,aAAa,EACb,YAAY,EACZ,+BAA+B,EAG/B,qBAAqB,EACrB,aAAa,EACb,oBAAoB,EACpB,8BAA8B,EAC9B,kBAAkB,EAClB,0BAA0B,EAC1B,kBAAkB,EAClB,0BAA0B,EAC1B,2BAA2B,EAC3B,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,oCAAoC,GACrC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,C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AAC;CACF;AAED,MAAM,OAAO,2BAA2B;IACtC,WAAW,CAAc;IACzB,oCAAoC,CAAuC;IAC3E,0CAA0C,CAA6C;IAEvF,YAAY,WAAwB;QAClC,cAAc,CAAC,IAAI,EAAE;YACnB,WAAW,EAAE,KAAK;YAClB,oCAAoC,EAAE,UAAU;YAChD,0CAA0C,EAAE,UAAU;SACvD,CAAC,CAAC;QACH,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,oCAAoC;YACvC,IAAI,oCAAoC,CAAC,IAAI,CAAC,CAAC;QACjD,IAAI,CAAC,0CAA0C;YAC7C,IAAI,0CAA0C,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACrE,CAAC;IAED,aAAa,CAAC,QAAgB;QAC5B,IAAI,QAAQ,KAAK,yBAAyB,CAAC,4BAA4B,EAAE;YACvE,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,OAAO,CACtC,IAAI,CAAC,0CAA0C,CAChD,CAAC;SACH;IACH,CAAC;CACF"}
|
1
|
+
{"version":3,"file":"GlobalEndToEndFlowState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/sidebar-state/end-to-end-workflow/GlobalEndToEndFlowState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,OAAO,EAAE,0CAA0C,EAAE,MAAM,4FAA4F,CAAC;AACxJ,OAAO,EAAE,oBAAoB,EAAE,MAAM,6EAA6E,CAAC;AAEnH,MAAM,OAAO,2BAA2B;IACtC,WAAW,CAAc;IACzB,oCAAoC,CAA6C;IAEjF,YAAY,WAAwB;QAClC,cAAc,CAAC,IAAI,EAAE;YACnB,WAAW,EAAE,KAAK;YAClB,oCAAoC,EAAE,UAAU;SACjD,CAAC,CAAC;QACH,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,oCAAoC;YACvC,IAAI,0CAA0C,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACrE,CAAC;IAED,aAAa,CAAC,QAAgB;QAC5B,IAAI,QAAQ,KAAK,oBAAoB,CAAC,4BAA4B,EAAE;YAClE,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,OAAO,CACtC,IAAI,CAAC,oCAAoC,CAC1C,CAAC;SACH;IACH,CAAC;CACF"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-application-studio",
|
3
|
-
"version": "28.10.
|
3
|
+
"version": "28.10.2",
|
4
4
|
"description": "Legend Studio application core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -45,40 +45,40 @@
|
|
45
45
|
"test:watch": "jest --watch"
|
46
46
|
},
|
47
47
|
"dependencies": {
|
48
|
-
"@finos/legend-application": "15.0.
|
49
|
-
"@finos/legend-art": "7.1.
|
50
|
-
"@finos/legend-graph": "31.3.
|
51
|
-
"@finos/legend-lego": "1.1.
|
52
|
-
"@finos/legend-query-builder": "4.11.
|
53
|
-
"@finos/legend-server-depot": "6.0.
|
54
|
-
"@finos/legend-server-sdlc": "5.2.
|
55
|
-
"@finos/legend-server-showcase": "0.2.
|
56
|
-
"@finos/legend-shared": "10.0.
|
57
|
-
"@finos/legend-storage": "3.0.
|
48
|
+
"@finos/legend-application": "15.0.50",
|
49
|
+
"@finos/legend-art": "7.1.4",
|
50
|
+
"@finos/legend-graph": "31.3.9",
|
51
|
+
"@finos/legend-lego": "1.1.45",
|
52
|
+
"@finos/legend-query-builder": "4.11.3",
|
53
|
+
"@finos/legend-server-depot": "6.0.32",
|
54
|
+
"@finos/legend-server-sdlc": "5.2.3",
|
55
|
+
"@finos/legend-server-showcase": "0.2.1",
|
56
|
+
"@finos/legend-shared": "10.0.28",
|
57
|
+
"@finos/legend-storage": "3.0.78",
|
58
58
|
"@testing-library/react": "14.0.0",
|
59
|
-
"@types/react": "18.2.
|
60
|
-
"@types/react-dom": "18.2.
|
61
|
-
"fast-xml-parser": "4.2
|
59
|
+
"@types/react": "18.2.31",
|
60
|
+
"@types/react-dom": "18.2.14",
|
61
|
+
"fast-xml-parser": "4.3.2",
|
62
62
|
"mobx": "6.10.2",
|
63
|
-
"mobx-react-lite": "
|
63
|
+
"mobx-react-lite": "4.0.5",
|
64
64
|
"mobx-utils": "6.0.8",
|
65
|
-
"monaco-editor": "0.
|
65
|
+
"monaco-editor": "0.44.0",
|
66
66
|
"node-diff3": "3.1.2",
|
67
67
|
"react": "18.2.0",
|
68
68
|
"react-dnd": "16.0.1",
|
69
69
|
"react-dom": "18.2.0",
|
70
70
|
"serializr": "3.0.2",
|
71
|
-
"yaml": "2.3.
|
71
|
+
"yaml": "2.3.3"
|
72
72
|
},
|
73
73
|
"devDependencies": {
|
74
|
-
"@finos/legend-dev-utils": "2.0.
|
74
|
+
"@finos/legend-dev-utils": "2.0.82",
|
75
75
|
"@jest/globals": "29.7.0",
|
76
76
|
"cross-env": "7.0.3",
|
77
|
-
"eslint": "8.
|
77
|
+
"eslint": "8.52.0",
|
78
78
|
"jest": "29.7.0",
|
79
79
|
"npm-run-all": "4.1.5",
|
80
|
-
"rimraf": "5.0.
|
81
|
-
"sass": "1.
|
80
|
+
"rimraf": "5.0.5",
|
81
|
+
"sass": "1.69.4",
|
82
82
|
"typescript": "5.2.2"
|
83
83
|
},
|
84
84
|
"peerDependencies": {
|
@@ -77,8 +77,8 @@ import { INTERNAL__UnknownFunctionActivatorEdtiorState } from '../../../stores/e
|
|
77
77
|
import { INTERNAL__UnknownFunctionActivatorEdtior } from './INTERNAL__UnknownFunctionActivatorEdtior.js';
|
78
78
|
import { getElementIcon } from '../../ElementIconUtils.js';
|
79
79
|
import { ArtifactGenerationViewerState } from '../../../stores/editor/editor-state/ArtifactGenerationViewerState.js';
|
80
|
-
import {
|
81
|
-
import {
|
80
|
+
import { QueryConnectionWorflowEditor } from './end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js';
|
81
|
+
import { QueryConnectionEndToEndWorkflowEditorState } from '../../../stores/editor/editor-state/end-to-end-workflow-state/QueryConnectionEndToEndWorkflowEditorState.js';
|
82
82
|
|
83
83
|
export const ViewerEditorGroupSplashScreen: React.FC = () => {
|
84
84
|
const commandListWidth = 300;
|
@@ -329,9 +329,9 @@ export const EditorGroup = observer(() => {
|
|
329
329
|
) {
|
330
330
|
return (
|
331
331
|
<QueryConnectionWorflowEditor
|
332
|
-
|
332
|
+
connectionToQueryWorkflowState={
|
333
333
|
editorStore.globalEndToEndWorkflowState
|
334
|
-
.
|
334
|
+
.queryToConnectionWorkflowEditorState
|
335
335
|
}
|
336
336
|
/>
|
337
337
|
);
|
@@ -143,7 +143,8 @@ export const DatabaseBuilderModalContent = observer(
|
|
143
143
|
|
144
144
|
const isExecutingAction =
|
145
145
|
schemaExplorerState.isGeneratingDatabase ||
|
146
|
-
schemaExplorerState.isUpdatingDatabase
|
146
|
+
schemaExplorerState.isUpdatingDatabase ||
|
147
|
+
schemaExplorerState.previewDataState.isInProgress;
|
147
148
|
|
148
149
|
const onTargetPathChange: React.ChangeEventHandler<HTMLInputElement> = (
|
149
150
|
event,
|
@@ -30,13 +30,6 @@ import {
|
|
30
30
|
BlankPanelContent,
|
31
31
|
} from '@finos/legend-art';
|
32
32
|
import { observer } from 'mobx-react-lite';
|
33
|
-
import type {
|
34
|
-
ConnectionValueStepperState,
|
35
|
-
DatabaseGrammarEditorStepperState,
|
36
|
-
DatabaseModelBuilderStepperState,
|
37
|
-
QueryConnectionConfirmationAndGrammarEditorStepperState,
|
38
|
-
QueryConnectionEndToEndWorkflowState,
|
39
|
-
} from '../../../../stores/editor/sidebar-state/end-to-end-workflow/GlobalEndToEndFlowState.js';
|
40
33
|
import { useEffect, useMemo } from 'react';
|
41
34
|
import { RelationalConnectionGeneralEditor } from '../connection-editor/RelationalDatabaseConnectionEditor.js';
|
42
35
|
import { flowResult } from 'mobx';
|
@@ -52,18 +45,19 @@ import {
|
|
52
45
|
DatabaseModelPackageInput,
|
53
46
|
DatabaseModelPreviewEditor,
|
54
47
|
} from '../connection-editor/DatabaseModelBuilder.js';
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
48
|
+
import {
|
49
|
+
ConnectionValueStepperState,
|
50
|
+
DatabaseBuilderStepperState,
|
51
|
+
DatabaseGrammarEditorStepperState,
|
52
|
+
DatabaseModelBuilderStepperState,
|
53
|
+
QUERY_CONNECTION_WORKFLOW_STEPS,
|
54
|
+
QueryConnectionConfirmationAndGrammarEditorStepperState,
|
55
|
+
type QueryConnectionEndToEndWorkflowEditorState,
|
56
|
+
} from '../../../../stores/editor/editor-state/end-to-end-workflow-state/QueryConnectionEndToEndWorkflowEditorState.js';
|
63
57
|
|
64
58
|
export const QueryConnectionRelationalConnectionEditor = observer(
|
65
59
|
(props: {
|
66
|
-
queryConnectionEndToEndWorkflowState:
|
60
|
+
queryConnectionEndToEndWorkflowState: QueryConnectionEndToEndWorkflowEditorState;
|
67
61
|
connectionValueStepperState: ConnectionValueStepperState;
|
68
62
|
}) => {
|
69
63
|
const {
|
@@ -71,7 +65,7 @@ export const QueryConnectionRelationalConnectionEditor = observer(
|
|
71
65
|
connectionValueStepperState,
|
72
66
|
} = props;
|
73
67
|
const elementAlreadyExistsMessage =
|
74
|
-
queryConnectionEndToEndWorkflowState.
|
68
|
+
queryConnectionEndToEndWorkflowState.editorStore.graphManagerState.graph.allElements
|
75
69
|
.map((s) => s.path)
|
76
70
|
.includes(connectionValueStepperState.targetConnectionPath)
|
77
71
|
? 'Element with same path already exists'
|
@@ -156,7 +150,7 @@ export const QueryConnectionDatabaseBuilderEditor = observer(
|
|
156
150
|
|
157
151
|
export const QueryConnectionDatabaseGrammarEditor = observer(
|
158
152
|
(props: {
|
159
|
-
queryConnectionEndToEndWorkflowState:
|
153
|
+
queryConnectionEndToEndWorkflowState: QueryConnectionEndToEndWorkflowEditorState;
|
160
154
|
databaseGrammarEditorStepperState: DatabaseGrammarEditorStepperState;
|
161
155
|
}) => {
|
162
156
|
const {
|
@@ -215,7 +209,7 @@ export const QueryConnectionDatabaseGrammarEditor = observer(
|
|
215
209
|
export const QueryConnectionModelsEditor = observer(
|
216
210
|
(props: {
|
217
211
|
databaseModelBuilderStepperState: DatabaseModelBuilderStepperState;
|
218
|
-
queryConnectionEndToEndWorkflowState:
|
212
|
+
queryConnectionEndToEndWorkflowState: QueryConnectionEndToEndWorkflowEditorState;
|
219
213
|
}) => {
|
220
214
|
const {
|
221
215
|
databaseModelBuilderStepperState,
|
@@ -224,7 +218,7 @@ export const QueryConnectionModelsEditor = observer(
|
|
224
218
|
const applicationStore = useApplicationStore();
|
225
219
|
|
226
220
|
const runtimeElementAlreadyExistsMessage =
|
227
|
-
queryConnectionEndToEndWorkflowState.
|
221
|
+
queryConnectionEndToEndWorkflowState.editorStore.graphManagerState.graph.allElements
|
228
222
|
.map((s) => s.path)
|
229
223
|
.includes(queryConnectionEndToEndWorkflowState.targetRuntimePath)
|
230
224
|
? 'Element with same path already exists or must contain ::'
|
@@ -339,7 +333,7 @@ export const QueryConnectionModelsEditor = observer(
|
|
339
333
|
|
340
334
|
export const QueryConnectionConfirmationAndGrammarEditor = observer(
|
341
335
|
(props: {
|
342
|
-
queryConnectionEndToEndWorkflowState:
|
336
|
+
queryConnectionEndToEndWorkflowState: QueryConnectionEndToEndWorkflowEditorState;
|
343
337
|
queryConnectionConfirmationAndGrammarEditorStepperState: QueryConnectionConfirmationAndGrammarEditorStepperState;
|
344
338
|
}) => {
|
345
339
|
const {
|
@@ -395,25 +389,24 @@ export const QueryConnectionConfirmationAndGrammarEditor = observer(
|
|
395
389
|
|
396
390
|
export const QueryConnectionWorflowEditor = observer(
|
397
391
|
(props: {
|
398
|
-
|
392
|
+
connectionToQueryWorkflowState: QueryConnectionEndToEndWorkflowEditorState;
|
399
393
|
}) => {
|
400
|
-
const {
|
394
|
+
const { connectionToQueryWorkflowState } = props;
|
401
395
|
const applicationStore = useApplicationStore();
|
402
|
-
const stepLabel =
|
403
|
-
|
404
|
-
|
405
|
-
);
|
396
|
+
const stepLabel = connectionToQueryWorkflowState.activeStepToStepLabel.get(
|
397
|
+
connectionToQueryWorkflowState.activeStep,
|
398
|
+
);
|
406
399
|
const increaseActiveStep = (): void => {
|
407
|
-
if (
|
408
|
-
|
409
|
-
|
400
|
+
if (connectionToQueryWorkflowState.isValid) {
|
401
|
+
connectionToQueryWorkflowState.setActiveStep(
|
402
|
+
connectionToQueryWorkflowState.activeStep + 1,
|
410
403
|
);
|
411
404
|
}
|
412
405
|
};
|
413
406
|
const handleNext = (): void => {
|
414
407
|
if (stepLabel) {
|
415
408
|
flowResult(
|
416
|
-
|
409
|
+
connectionToQueryWorkflowState.activeStepToBaseStepperState
|
417
410
|
.get(stepLabel)
|
418
411
|
?.handleNext(),
|
419
412
|
)
|
@@ -422,29 +415,76 @@ export const QueryConnectionWorflowEditor = observer(
|
|
422
415
|
}
|
423
416
|
};
|
424
417
|
const handleBack = (): void => {
|
425
|
-
|
426
|
-
|
427
|
-
|
418
|
+
connectionToQueryWorkflowState.setCompileError(undefined);
|
419
|
+
connectionToQueryWorkflowState.setActiveStep(
|
420
|
+
connectionToQueryWorkflowState.activeStep - 1,
|
428
421
|
);
|
429
422
|
};
|
430
423
|
|
431
424
|
const renderStepContent = (): React.ReactNode => {
|
432
425
|
if (stepLabel) {
|
433
|
-
|
434
|
-
.get(
|
435
|
-
|
436
|
-
|
437
|
-
|
426
|
+
const currentState =
|
427
|
+
connectionToQueryWorkflowState.activeStepToBaseStepperState.get(
|
428
|
+
stepLabel,
|
429
|
+
);
|
430
|
+
if (currentState instanceof ConnectionValueStepperState) {
|
431
|
+
return (
|
432
|
+
<QueryConnectionRelationalConnectionEditor
|
433
|
+
queryConnectionEndToEndWorkflowState={
|
434
|
+
currentState.workflowEditorState
|
435
|
+
}
|
436
|
+
connectionValueStepperState={currentState}
|
437
|
+
/>
|
438
|
+
);
|
439
|
+
} else if (currentState instanceof DatabaseBuilderStepperState) {
|
440
|
+
return (
|
441
|
+
<QueryConnectionDatabaseBuilderEditor
|
442
|
+
databaseBuilderState={currentState.databaseBuilderWizardState}
|
443
|
+
/>
|
444
|
+
);
|
445
|
+
} else if (currentState instanceof DatabaseGrammarEditorStepperState) {
|
446
|
+
return (
|
447
|
+
<QueryConnectionDatabaseGrammarEditor
|
448
|
+
queryConnectionEndToEndWorkflowState={
|
449
|
+
currentState.workflowEditorState
|
450
|
+
}
|
451
|
+
databaseGrammarEditorStepperState={currentState}
|
452
|
+
/>
|
453
|
+
);
|
454
|
+
} else if (currentState instanceof DatabaseModelBuilderStepperState) {
|
455
|
+
return (
|
456
|
+
<QueryConnectionModelsEditor
|
457
|
+
databaseModelBuilderStepperState={currentState}
|
458
|
+
queryConnectionEndToEndWorkflowState={
|
459
|
+
currentState.workflowEditorState
|
460
|
+
}
|
461
|
+
/>
|
462
|
+
);
|
463
|
+
} else if (
|
464
|
+
currentState instanceof
|
465
|
+
QueryConnectionConfirmationAndGrammarEditorStepperState
|
466
|
+
) {
|
467
|
+
return (
|
468
|
+
<QueryConnectionConfirmationAndGrammarEditor
|
469
|
+
queryConnectionEndToEndWorkflowState={
|
470
|
+
currentState.workflowEditorState
|
471
|
+
}
|
472
|
+
queryConnectionConfirmationAndGrammarEditorStepperState={
|
473
|
+
currentState
|
474
|
+
}
|
475
|
+
/>
|
476
|
+
);
|
477
|
+
}
|
438
478
|
}
|
479
|
+
return <BlankPanelContent> </BlankPanelContent>;
|
439
480
|
};
|
440
|
-
|
441
481
|
return (
|
442
482
|
<div>
|
443
483
|
<Panel>
|
444
484
|
<PanelContent className="test-runner-panel__result">
|
445
485
|
<BaseStepper
|
446
486
|
steps={Object.values(QUERY_CONNECTION_WORKFLOW_STEPS)}
|
447
|
-
activeStep={
|
487
|
+
activeStep={connectionToQueryWorkflowState.activeStep}
|
448
488
|
></BaseStepper>
|
449
489
|
<PanelContent>
|
450
490
|
<div className="query-connection-workflow__content">
|
@@ -455,7 +495,7 @@ export const QueryConnectionWorflowEditor = observer(
|
|
455
495
|
<div className="query-connection-workflow__actions">
|
456
496
|
<button
|
457
497
|
className="query-connection-workflow__actions__action-btn"
|
458
|
-
disabled={
|
498
|
+
disabled={connectionToQueryWorkflowState.activeStep === 0}
|
459
499
|
onClick={handleBack}
|
460
500
|
title="Go to previous step..."
|
461
501
|
>
|
@@ -465,7 +505,7 @@ export const QueryConnectionWorflowEditor = observer(
|
|
465
505
|
className="query-connection-workflow__actions__action-btn query-connection-workflow__actions__action-btn--primary"
|
466
506
|
onClick={handleNext}
|
467
507
|
>
|
468
|
-
{
|
508
|
+
{connectionToQueryWorkflowState.activeStep ===
|
469
509
|
Object.values(QUERY_CONNECTION_WORKFLOW_STEPS).length - 1
|
470
510
|
? 'Import And Query'
|
471
511
|
: 'Next'}
|
@@ -523,7 +523,7 @@ export const queryService = async (
|
|
523
523
|
<button
|
524
524
|
className="query-builder__dialog__header__custom-action"
|
525
525
|
tabIndex={-1}
|
526
|
-
disabled={editorStore.
|
526
|
+
disabled={editorStore.disableGraphEditing}
|
527
527
|
onClick={save}
|
528
528
|
>
|
529
529
|
Save Query
|
@@ -496,7 +496,8 @@ const ExplorerContextMenu = observer(
|
|
496
496
|
})
|
497
497
|
.filter(isNonNullable);
|
498
498
|
const projectId = editorStore.sdlcState.currentProject?.projectId;
|
499
|
-
const isReadOnly =
|
499
|
+
const isReadOnly =
|
500
|
+
editorStore.disableGraphEditing || Boolean(nodeIsImmutable);
|
500
501
|
const isDependencyProjectElement =
|
501
502
|
node && isDependencyElement(node.packageableElement);
|
502
503
|
const _package = node
|
@@ -578,7 +579,7 @@ const ExplorerContextMenu = observer(
|
|
578
579
|
handler: () => {
|
579
580
|
editorStore.explorerTreeState.buildDatabaseModels(
|
580
581
|
database,
|
581
|
-
editorStore.
|
582
|
+
editorStore.disableGraphEditing,
|
582
583
|
);
|
583
584
|
},
|
584
585
|
},
|
@@ -592,7 +593,7 @@ const ExplorerContextMenu = observer(
|
|
592
593
|
} else {
|
593
594
|
editorStore.explorerTreeState.buildDatabaseModels(
|
594
595
|
database,
|
595
|
-
editorStore.
|
596
|
+
editorStore.disableGraphEditing,
|
596
597
|
);
|
597
598
|
}
|
598
599
|
}
|
@@ -1142,7 +1143,7 @@ const ExplorerDropdownMenu = observer(() => {
|
|
1142
1143
|
|
1143
1144
|
const ExplorerTrees = observer(() => {
|
1144
1145
|
const editorStore = useEditorStore();
|
1145
|
-
const {
|
1146
|
+
const { disableGraphEditing } = editorStore;
|
1146
1147
|
const isInGrammarTextMode =
|
1147
1148
|
editorStore.graphEditorMode.mode === GRAPH_EDITOR_MODE.GRAMMAR_TEXT;
|
1148
1149
|
const openModelImport = (): void =>
|
@@ -1224,7 +1225,7 @@ const ExplorerTrees = observer(() => {
|
|
1224
1225
|
return (
|
1225
1226
|
<ContextMenu
|
1226
1227
|
className="explorer__content"
|
1227
|
-
disabled={isInGrammarTextMode ||
|
1228
|
+
disabled={isInGrammarTextMode || disableGraphEditing}
|
1228
1229
|
content={<ExplorerContextMenu />}
|
1229
1230
|
menuProps={{ elevation: 7 }}
|
1230
1231
|
>
|
@@ -1396,7 +1397,7 @@ const ProjectExplorerActionPanel = observer((props: { disabled: boolean }) => {
|
|
1396
1397
|
<SettingsEthernetIcon />
|
1397
1398
|
</button>
|
1398
1399
|
)}
|
1399
|
-
{!editorStore.
|
1400
|
+
{!editorStore.disableGraphEditing && (
|
1400
1401
|
<DropdownMenu
|
1401
1402
|
className="panel__header__action"
|
1402
1403
|
title="New Element... (Ctrl + Shift + N)"
|
@@ -20,14 +20,13 @@ import {
|
|
20
20
|
PURE_UnknownElementTypeIcon,
|
21
21
|
} from '@finos/legend-art';
|
22
22
|
import { observer } from 'mobx-react-lite';
|
23
|
-
import {
|
24
|
-
type GlobalEndToEndWorkflowState,
|
25
|
-
SupportedEndToEndWorkflow,
|
26
|
-
} from '../../../../stores/editor/sidebar-state/end-to-end-workflow/GlobalEndToEndFlowState.js';
|
23
|
+
import { type GlobalEndToEndWorkflowState } from '../../../../stores/editor/sidebar-state/end-to-end-workflow/GlobalEndToEndFlowState.js';
|
27
24
|
import { LEGEND_STUDIO_TEST_ID } from '../../../../__lib__/LegendStudioTesting.js';
|
25
|
+
import { END_TO_END_WORKFLOWS } from '../../../../stores/editor/editor-state/end-to-end-workflow-state/EndToEndWorkflowEditorState.js';
|
26
|
+
import { prettyCONSTName } from '@finos/legend-shared';
|
28
27
|
|
29
28
|
export const getWorkflowIcon = (currentFlow: string): React.ReactNode => {
|
30
|
-
if (currentFlow ===
|
29
|
+
if (currentFlow === END_TO_END_WORKFLOWS.CREATE_QUERY_FROM_CONNECTION) {
|
31
30
|
return (
|
32
31
|
<div
|
33
32
|
title="Create Query From Connection"
|
@@ -60,7 +59,7 @@ export const EndToEndWorkflow = observer(
|
|
60
59
|
|
61
60
|
const endToEndWorkflow = (): React.ReactNode => (
|
62
61
|
<>
|
63
|
-
{Object.values(
|
62
|
+
{Object.values(END_TO_END_WORKFLOWS).map((flow) => (
|
64
63
|
<div className="side-bar__panel__item" key={flow}>
|
65
64
|
<div
|
66
65
|
className="end-to-end-workflow__container"
|
@@ -71,7 +70,9 @@ export const EndToEndWorkflow = observer(
|
|
71
70
|
<div className="end-to-end-workflow__container__icon">
|
72
71
|
{getWorkflowIcon(flow)}
|
73
72
|
</div>
|
74
|
-
<div className="end-to-end-workflow__container__name">
|
73
|
+
<div className="end-to-end-workflow__container__name">
|
74
|
+
{prettyCONSTName(flow)}
|
75
|
+
</div>
|
75
76
|
</div>
|
76
77
|
</div>
|
77
78
|
))}
|
@@ -213,6 +213,7 @@ export class EditorStore implements CommandRegistrar {
|
|
213
213
|
quickInputState: observable,
|
214
214
|
|
215
215
|
isInViewerMode: computed,
|
216
|
+
disableGraphEditing: computed,
|
216
217
|
isInConflictResolutionMode: computed,
|
217
218
|
isInitialized: computed,
|
218
219
|
|
@@ -318,6 +319,10 @@ export class EditorStore implements CommandRegistrar {
|
|
318
319
|
return this.mode === EDITOR_MODE.VIEWER;
|
319
320
|
}
|
320
321
|
|
322
|
+
get disableGraphEditing(): boolean {
|
323
|
+
return this.isInViewerMode && this.editorMode.disableEditing;
|
324
|
+
}
|
325
|
+
|
321
326
|
get isInConflictResolutionMode(): boolean {
|
322
327
|
return this.mode === EDITOR_MODE.CONFLICT_RESOLUTION;
|
323
328
|
}
|
@@ -121,7 +121,8 @@ export abstract class ElementEditorState extends EditorState {
|
|
121
121
|
});
|
122
122
|
|
123
123
|
this.element = element;
|
124
|
-
this.isReadOnly =
|
124
|
+
this.isReadOnly =
|
125
|
+
isElementReadOnly(element) || editorStore.disableGraphEditing;
|
125
126
|
}
|
126
127
|
|
127
128
|
get label(): string {
|
package/src/stores/editor/editor-state/end-to-end-workflow-state/EndToEndWorkflowEditorState.ts
CHANGED
@@ -15,11 +15,9 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import { EditorState } from '../../editor-state/EditorState.js';
|
18
|
-
import { SupportedEndToEndWorkflow } from '../../sidebar-state/end-to-end-workflow/GlobalEndToEndFlowState.js';
|
19
18
|
|
20
|
-
export
|
21
|
-
|
22
|
-
override get label(): string {
|
23
|
-
return SupportedEndToEndWorkflow.CREATE_QUERY_FROM_CONNECTION;
|
24
|
-
}
|
19
|
+
export enum END_TO_END_WORKFLOWS {
|
20
|
+
CREATE_QUERY_FROM_CONNECTION = 'CREATE_QUERY_FROM_CONNECTION',
|
25
21
|
}
|
22
|
+
|
23
|
+
export abstract class EndToEndWorkflowEditorState extends EditorState {}
|