@finos/legend-extension-dsl-data-space 1.0.20 → 1.1.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.
@@ -13,7 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /// <reference types="react" />
17
16
  import { type DataSpaceViewerState } from '../stores/DataSpaceViewerState';
18
17
  export declare const DataSpaceViewer: ((props: {
19
18
  dataSpaceViewerState: DataSpaceViewerState;
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAkCH,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,gCAAgC,CAAC;AA8XxC,eAAO,MAAM,eAAe,WAClB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAgLvD,CAAC"}
1
+ {"version":3,"file":"DataSpaceViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkCH,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,gCAAgC,CAAC;AA8XxC,eAAO,MAAM,eAAe,WAClB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAgLvD,CAAC"}
@@ -13,7 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /// <reference types="react" />
17
16
  import type { DataSpaceQuerySetupState } from '../../stores/query/DataSpaceQuerySetupState';
18
17
  export declare const DataspaceQuerySetup: ((props: {
19
18
  querySetupState: DataSpaceQuerySetupState;
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQuerySetup.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQuerySetup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAqBH,OAAO,KAAK,EACV,wBAAwB,EAEzB,MAAM,6CAA6C,CAAC;AASrD,eAAO,MAAM,mBAAmB,WACtB;IAAE,eAAe,EAAE,wBAAwB,CAAA;CAAE;;CA4LtD,CAAC"}
1
+ {"version":3,"file":"DataSpaceQuerySetup.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQuerySetup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAqBH,OAAO,KAAK,EACV,wBAAwB,EAEzB,MAAM,6CAA6C,CAAC;AASrD,eAAO,MAAM,mBAAmB,WACtB;IAAE,eAAe,EAAE,wBAAwB,CAAA;CAAE;;CAmMtD,CAAC"}
@@ -89,8 +89,15 @@ export const DataspaceQuerySetup = observer((props) => {
89
89
  }), onClick: next, disabled: !canProceed, title: "Proceed", children: _jsx(ArrowRightIcon, {}) })] }), _jsxs("div", { className: "query-setup__wizard__content", children: [_jsxs("div", { className: "query-setup__wizard__group query-setup__wizard__group--inline query-setup__data-space__input-group", children: [_jsx("div", { className: "query-setup__wizard__group__title", children: _jsx(SearchIcon, {}) }), _jsx(CustomSelectorInput, { ref: dataSpaceSearchRef, className: "query-setup__wizard__selector", options: dataSpaceOptions, isLoading: querySetupState.loadDataSpacesState.isInProgress, onInputChange: onSearchTextChange, inputValue: searchText, onChange: onDataSpaceOptionChange, value: selectedDataSpaceOption, placeholder: "Search for data space by name...", isClearable: true, escapeClearsValue: true, darkMode: true, formatOptionLabel: formatQueryOptionLabel }), _jsx("button", { className: clsx('query-setup__data-space__use-snapshot-btn', {
90
90
  'query-setup__data-space__use-snapshot-btn--active': querySetupState.toGetSnapShot,
91
91
  }), tabIndex: -1, title: `[${querySetupState.toGetSnapShot ? 'on' : 'off'}] Toggle show data spaces from snapshot releases instead of latest releases`, onClick: toggleGetSnapshot, children: _jsx(BoltIcon, {}) })] }), _jsxs("div", { className: "query-setup__data-space__view", children: [_jsx(PanelLoadingIndicator, { isLoading: querySetupState.setUpDataSpaceState.isInProgress }), querySetupState.dataSpaceViewerState && (_jsx(DataSpaceViewer, { dataSpaceViewerState: querySetupState.dataSpaceViewerState })), !querySetupState.dataSpaceViewerState &&
92
- querySetupState.setUpDataSpaceState.isInProgress && (_jsx(BlankPanelContent, { children: querySetupState.setUpDataSpaceStatusText ??
93
- `Setting up data space...` })), !querySetupState.dataSpaceViewerState &&
92
+ querySetupState.setUpDataSpaceState.isInProgress && (_jsx(BlankPanelContent, { children: querySetupState.queryStore.buildGraphState.message ??
93
+ querySetupState.queryStore.graphManagerState.graph
94
+ .systemModel.buildState.message ??
95
+ querySetupState.queryStore.graphManagerState.graph
96
+ .dependencyManager.buildState.message ??
97
+ querySetupState.queryStore.graphManagerState.graph
98
+ .generationModel.buildState.message ??
99
+ querySetupState.queryStore.graphManagerState.graph
100
+ .buildState.message })), !querySetupState.dataSpaceViewerState &&
94
101
  querySetupState.setUpDataSpaceState.hasFailed && (_jsx(BlankPanelContent, { children: _jsxs("div", { className: "query-setup__data-space__view--failed", children: [_jsx("div", { className: "query-setup__data-space__view--failed__icon", children: _jsx(TimesCircleIcon, {}) }), _jsx("div", { className: "query-setup__data-space__view--failed__text", children: "Can't load data space" })] }) }))] })] })] }));
95
102
  });
96
103
  //# sourceMappingURL=DataSpaceQuerySetup.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQuerySetup.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQuerySetup.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,QAAQ,EACR,cAAc,EACd,IAAI,EACJ,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,mBAAmB,EACnB,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,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KAAC,eAAe,IACd,oBAAoB,EAAE,eAAe,CAAC,oBAAoB,GAC1D,CACH,EACA,CAAC,eAAe,CAAC,oBAAoB;gCACpC,eAAe,CAAC,mBAAmB,CAAC,YAAY,IAAI,CAClD,KAAC,iBAAiB,cACf,eAAe,CAAC,wBAAwB;oCACvC,0BAA0B,GACV,CACrB,EACF,CAAC,eAAe,CAAC,oBAAoB;gCACpC,eAAe,CAAC,mBAAmB,CAAC,SAAS,IAAI,CAC/C,KAAC,iBAAiB,cAChB,eAAK,SAAS,EAAC,uCAAuC,aACpD,cAAK,SAAS,EAAC,6CAA6C,YAC1D,KAAC,eAAe,KAAG,GACf,EACN,cAAK,SAAS,EAAC,6CAA6C,sCAEtD,IACF,GACY,CACrB,IACC,IACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"DataSpaceQuerySetup.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQuerySetup.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,QAAQ,EACR,cAAc,EACd,IAAI,EACJ,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,mBAAmB,EACnB,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAK7D,OAAO,EAAE,eAAe,EAAE,M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AC,UAAU,CAAC,OAAO;oCACjC,eAAe,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK;yCAC/C,iBAAiB,CAAC,UAAU,CAAC,OAAO;oCACvC,eAAe,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK;yCAC/C,eAAe,CAAC,UAAU,CAAC,OAAO;oCACrC,eAAe,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK;yCAC/C,UAAU,CAAC,OAAO,GACL,CACrB,EACF,CAAC,eAAe,CAAC,oBAAoB;gCACpC,eAAe,CAAC,mBAAmB,CAAC,SAAS,IAAI,CAC/C,KAAC,iBAAiB,cAChB,eAAK,SAAS,EAAC,uCAAuC,aACpD,cAAK,SAAS,EAAC,6CAA6C,YAC1D,KAAC,eAAe,KAAG,GACf,EACN,cAAK,SAAS,EAAC,6CAA6C,sCAEtD,IACF,GACY,CACrB,IACC,IACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-extension-dsl-data-space v1.0.20
1
+ /** @license @finos/legend-extension-dsl-data-space v1.1.2
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space",
3
- "version": "1.0.20",
3
+ "version": "1.1.2",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -49,7 +49,7 @@
49
49
  "@finos/legend-server-depot": "workspace:*",
50
50
  "@finos/legend-shared": "workspace:*",
51
51
  "@finos/legend-studio": "workspace:*",
52
- "@types/react": "17.0.41",
52
+ "@types/react": "17.0.43",
53
53
  "@types/react-router-dom": "5.3.2",
54
54
  "mobx": "6.5.0",
55
55
  "mobx-react-lite": "3.3.0",
@@ -69,7 +69,7 @@
69
69
  "npm-run-all": "4.1.5",
70
70
  "rimraf": "3.0.2",
71
71
  "sass": "1.49.9",
72
- "typescript": "4.6.2"
72
+ "typescript": "4.6.3"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "react": "^17.0.0"
@@ -34,7 +34,6 @@ export declare class DataSpaceQuerySetupState extends QuerySetupState {
34
34
  dataSpaces: LightDataSpace[];
35
35
  loadDataSpacesState: ActionState;
36
36
  setUpDataSpaceState: ActionState;
37
- setUpDataSpaceStatusText?: string | undefined;
38
37
  currentDataSpace?: LightDataSpace | undefined;
39
38
  dataSpaceViewerState?: DataSpaceViewerState | undefined;
40
39
  toGetSnapShot: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQuerySetupState.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,KAAK,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EACL,KAAK,eAAe,EAEpB,eAAe,EAEhB,MAAM,qBAAqB,CAAC;AAQ7B,OAAO,EACL,KAAK,WAAW,EAEhB,WAAW,EAGZ,MAAM,sBAAsB,CAAC;AAM9B,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAE/D,oBAAY,cAAc,GAAG,MAAM,GAAG;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE;QACP,OAAO,EAAE,MAAM,CAAC;QAChB,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH,CAAC;AAMF,eAAO,MAAM,+BAA+B,kBAC3B,MAAM,WACZ,MAAM,cACH,MAAM,aACP,MAAM,KAChB,gBAUF,CAAC;AAE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AAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE;QACP,OAAO,EAAE,MAAM,CAAC;QAChB,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH,CAAC;AAMF,eAAO,MAAM,+BAA+B,kBAC3B,MAAM,WACZ,MAAM,cACH,MAAM,aACP,MAAM,KAChB,gBAUF,CAAC;AAEF,qBAAa,wBAAyB,SAAQ,eAAe;IAC3D,UAAU,EAAE,cAAc,EAAE,CAAM;IAClC,mBAAmB,cAAwB;IAC3C,mBAAmB,cAAwB;IAC3C,gBAAgB,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IAC9C,oBAAoB,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IACxD,aAAa,UAAS;gBAEV,UAAU,EAAE,eAAe;IAiBvC,mBAAmB,CAAC,GAAG,EAAE,cAAc,GAAG,SAAS,GAAG,IAAI;IAI1D,uBAAuB,CAAC,GAAG,EAAE,oBAAoB,GAAG,SAAS,GAAG,IAAI;IAIpE,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAInC,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,WAAW,CAAC,IAAI,CAAC;IAuDrD,cAAc,CAAC,SAAS,EAAE,cAAc,GAAG,WAAW,CAAC,IAAI,CAAC;IAwD5D,oBAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,GAAG,WAAW,CAAC,IAAI,CAAC;CAuCzD"}
@@ -34,7 +34,6 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
34
34
  dataSpaces = [];
35
35
  loadDataSpacesState = ActionState.create();
36
36
  setUpDataSpaceState = ActionState.create();
37
- setUpDataSpaceStatusText;
38
37
  currentDataSpace;
39
38
  dataSpaceViewerState;
40
39
  toGetSnapShot = false;
@@ -44,7 +43,6 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
44
43
  dataSpaces: observable,
45
44
  currentDataSpace: observable.ref,
46
45
  dataSpaceViewerState: observable,
47
- setUpDataSpaceStatusText: observable,
48
46
  toGetSnapShot: observable,
49
47
  setCurrentDataSpace: action,
50
48
  setDataSpaceViewerState: action,
@@ -111,9 +109,7 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
111
109
  }
112
110
  this.setUpDataSpaceState.inProgress();
113
111
  try {
114
- this.setUpDataSpaceStatusText = `Fetching information for data space...`;
115
112
  const projectData = ProjectData.serialization.fromJson((yield flowResult(this.queryStore.depotServerClient.getProject(dataSpace.content.groupId, dataSpace.content.artifactId))));
116
- this.setUpDataSpaceStatusText = `Building graph...`;
117
113
  yield flowResult(this.queryStore.buildGraph(projectData, dataSpace.content.versionId));
118
114
  const resolvedDataSpace = getResolvedDataSpace(dataSpace.content, this.queryStore.graphManagerState.graph);
119
115
  this.dataSpaceViewerState = new DataSpaceViewerState(this.queryStore.graphManagerState, dataSpace.groupId, dataSpace.artifactId, dataSpace.versionId, resolvedDataSpace, {
@@ -129,9 +125,6 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
129
125
  this.setUpDataSpaceState.fail();
130
126
  this.queryStore.applicationStore.notifyError(error);
131
127
  }
132
- finally {
133
- this.setUpDataSpaceStatusText = undefined;
134
- }
135
128
  }
136
129
  *proceedToCreateQuery(_class) {
137
130
  if (this.dataSpaceViewerState) {
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQuerySetupState.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAc,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEnE,OAAO,EAEL,oBAAoB,EACpB,eAAe,EACf,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,sBAAsB,EACtB,UAAU,EACV,WAAW,EACX,sBAAsB,GACvB,MAAM,4B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AoB,CAAC,SAAS,CAAC,UAAU,EAC9C,IAAI,CAAC,oBAAoB,CAAC,SAAS,CAAC,SAAS,EAC7C,IAAI,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,EACpE,IAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,IAAI,EAC7C,MAAM,EAAE,IAAI,CACb,CACF,CAAC;YACF,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;SAC1C;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"DataSpaceQuerySetupState.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAc,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEnE,OAAO,EAEL,oBAAoB,EACpB,eAAe,EACf,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,sBAAsB,EACtB,UAAU,EACV,WAAW,EACX,sBAAsB,GACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAGL,WAAW,EACX,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC5E,OAAO,EACL,kCAAkC,EAClC,oBAAoB,GACrB,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAc/D,MAAM,kBAAkB,GAAG,6BAA6B,CAAC;AACzD,MAAM,4BAA4B,GAAG,WAAW,CAAC;AACjD,MAAM,uBAAuB,GAAG,GAAG,CAAC;AAEpC,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAC7C,aAAqB,EACrB,OAAe,EACf,UAAkB,EAClB,SAAiB,EACC,EAAE;IACpB,MAAM,WAAW,GAAG,IAAI,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AAc,CACzC,CAAC;YACF,cAAc,CAAC,YAAY,GAAG;gBAC5B,+BAA+B,CAC7B,IAAI,CAAC,oBAAoB,CAAC,SAAS,CAAC,IAAI,EACxC,IAAI,CAAC,oBAAoB,CAAC,gBAAgB,EAC1C,IAAI,CAAC,oBAAoB,CAAC,mBAAmB,EAC7C,IAAI,CAAC,oBAAoB,CAAC,kBAAkB,CAC7C;aACF,CAAC;YACF,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;YAClD,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,SAAS,CAAC,IAAI,CAC7C,wBAAwB,CACtB,IAAI,CAAC,oBAAoB,CAAC,SAAS,CAAC,OAAO,EAC3C,IAAI,CAAC,oBAAoB,CAAC,SAAS,CAAC,UAAU,EAC9C,IAAI,CAAC,oBAAoB,CAAC,SAAS,CAAC,SAAS,EAC7C,IAAI,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,EACpE,IAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,IAAI,EAC7C,MAAM,EAAE,IAAI,CACb,CACF,CAAC;YACF,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;SAC1C;IACH,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space",
3
- "version": "1.0.20",
3
+ "version": "1.1.2",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -40,16 +40,16 @@
40
40
  "test:watch": "jest --watch"
41
41
  },
42
42
  "dependencies": {
43
- "@finos/legend-application": "1.2.2",
44
- "@finos/legend-art": "0.3.9",
45
- "@finos/legend-extension-dsl-diagram": "1.0.20",
46
- "@finos/legend-graph": "1.3.0",
47
- "@finos/legend-model-storage": "0.0.22",
48
- "@finos/legend-query": "1.1.0",
49
- "@finos/legend-server-depot": "0.0.25",
50
- "@finos/legend-shared": "1.2.4",
51
- "@finos/legend-studio": "3.1.0",
52
- "@types/react": "17.0.41",
43
+ "@finos/legend-application": "2.0.2",
44
+ "@finos/legend-art": "0.3.11",
45
+ "@finos/legend-extension-dsl-diagram": "1.0.23",
46
+ "@finos/legend-graph": "2.0.2",
47
+ "@finos/legend-model-storage": "0.0.24",
48
+ "@finos/legend-query": "1.2.2",
49
+ "@finos/legend-server-depot": "0.0.27",
50
+ "@finos/legend-shared": "1.2.6",
51
+ "@finos/legend-studio": "4.1.0",
52
+ "@types/react": "17.0.43",
53
53
  "@types/react-router-dom": "5.3.2",
54
54
  "mobx": "6.5.0",
55
55
  "mobx-react-lite": "3.3.0",
@@ -62,14 +62,14 @@
62
62
  "serializr": "2.0.5"
63
63
  },
64
64
  "devDependencies": {
65
- "@finos/legend-dev-utils": "0.3.13",
65
+ "@finos/legend-dev-utils": "0.3.15",
66
66
  "cross-env": "7.0.3",
67
67
  "eslint": "8.11.0",
68
68
  "jest": "27.5.1",
69
69
  "npm-run-all": "4.1.5",
70
70
  "rimraf": "3.0.2",
71
71
  "sass": "1.49.9",
72
- "typescript": "4.6.2"
72
+ "typescript": "4.6.3"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "react": "^17.0.0"
@@ -212,8 +212,15 @@ export const DataspaceQuerySetup = observer(
212
212
  {!querySetupState.dataSpaceViewerState &&
213
213
  querySetupState.setUpDataSpaceState.isInProgress && (
214
214
  <BlankPanelContent>
215
- {querySetupState.setUpDataSpaceStatusText ??
216
- `Setting up data space...`}
215
+ {querySetupState.queryStore.buildGraphState.message ??
216
+ querySetupState.queryStore.graphManagerState.graph
217
+ .systemModel.buildState.message ??
218
+ querySetupState.queryStore.graphManagerState.graph
219
+ .dependencyManager.buildState.message ??
220
+ querySetupState.queryStore.graphManagerState.graph
221
+ .generationModel.buildState.message ??
222
+ querySetupState.queryStore.graphManagerState.graph
223
+ .buildState.message}
217
224
  </BlankPanelContent>
218
225
  )}
219
226
  {!querySetupState.dataSpaceViewerState &&
@@ -81,7 +81,6 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
81
81
  dataSpaces: LightDataSpace[] = [];
82
82
  loadDataSpacesState = ActionState.create();
83
83
  setUpDataSpaceState = ActionState.create();
84
- setUpDataSpaceStatusText?: string | undefined;
85
84
  currentDataSpace?: LightDataSpace | undefined;
86
85
  dataSpaceViewerState?: DataSpaceViewerState | undefined;
87
86
  toGetSnapShot = false;
@@ -93,7 +92,6 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
93
92
  dataSpaces: observable,
94
93
  currentDataSpace: observable.ref,
95
94
  dataSpaceViewerState: observable,
96
- setUpDataSpaceStatusText: observable,
97
95
  toGetSnapShot: observable,
98
96
  setCurrentDataSpace: action,
99
97
  setDataSpaceViewerState: action,
@@ -179,7 +177,6 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
179
177
  }
180
178
  this.setUpDataSpaceState.inProgress();
181
179
  try {
182
- this.setUpDataSpaceStatusText = `Fetching information for data space...`;
183
180
  const projectData = ProjectData.serialization.fromJson(
184
181
  (yield flowResult(
185
182
  this.queryStore.depotServerClient.getProject(
@@ -189,7 +186,6 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
189
186
  )) as PlainObject<ProjectData>,
190
187
  );
191
188
 
192
- this.setUpDataSpaceStatusText = `Building graph...`;
193
189
  yield flowResult(
194
190
  this.queryStore.buildGraph(projectData, dataSpace.content.versionId),
195
191
  );
@@ -226,8 +222,6 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
226
222
  assertErrorThrown(error);
227
223
  this.setUpDataSpaceState.fail();
228
224
  this.queryStore.applicationStore.notifyError(error);
229
- } finally {
230
- this.setUpDataSpaceStatusText = undefined;
231
225
  }
232
226
  }
233
227