@finos/legend-extension-dsl-data-space 10.0.6 → 10.0.7
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/DataSpaceDescription.js +1 -1
- package/lib/components/DataSpaceDescription.js.map +1 -1
- package/lib/components/DataSpaceDiagramViewer.js +1 -1
- package/lib/components/DataSpaceDiagramViewer.js.map +1 -1
- package/lib/components/DataSpaceModelsDocumentation.js +1 -1
- package/lib/components/DataSpaceModelsDocumentation.js.map +1 -1
- package/lib/components/DataSpaceQuickStart.d.ts.map +1 -1
- package/lib/components/DataSpaceQuickStart.js +1 -1
- package/lib/components/DataSpaceQuickStart.js.map +1 -1
- package/lib/components/DataSpaceWiki.d.ts.map +1 -1
- package/lib/components/DataSpaceWiki.js +14 -5
- package/lib/components/DataSpaceWiki.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +3 -3
- package/lib/stores/DataSpaceViewerState.d.ts +11 -6
- package/lib/stores/DataSpaceViewerState.d.ts.map +1 -1
- package/lib/stores/DataSpaceViewerState.js +96 -24
- package/lib/stores/DataSpaceViewerState.js.map +1 -1
- package/package.json +15 -15
- package/src/components/DataSpaceDescription.tsx +1 -1
- package/src/components/DataSpaceDiagramViewer.tsx +1 -1
- package/src/components/DataSpaceModelsDocumentation.tsx +1 -1
- package/src/components/DataSpaceQuickStart.tsx +14 -12
- package/src/components/DataSpaceWiki.tsx +16 -5
- package/src/stores/DataSpaceViewerState.ts +135 -28
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceViewerState.d.ts","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,6BAA6B,EAClC,KAAK,cAAc,EACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,2CAA2C,CAAC;AAC3E,OAAO,EACL,KAAK,eAAe,EAErB,MAAM,iDAAiD,CAAC;AACzD,OAAO,KAAK,EACV,sBAAsB,EACtB,SAAS,EACT,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"DataSpaceViewerState.d.ts","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,6BAA6B,EAClC,KAAK,cAAc,EACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,2CAA2C,CAAC;AAC3E,OAAO,EACL,KAAK,eAAe,EAErB,MAAM,iDAAiD,CAAC;AACzD,OAAO,KAAK,EACV,sBAAsB,EACtB,SAAS,EACT,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAS7B,OAAO,KAAK,EACV,uBAAuB,EACvB,8BAA8B,EAC9B,iCAAiC,EACjC,uCAAuC,EACxC,MAAM,wDAAwD,CAAC;AAKhE,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,OAAO,EAAE,uCAAuC,EAAE,MAAM,wCAAwC,CAAC;AAEjG,oBAAY,+BAA+B;IACzC,WAAW,gBAAgB;IAC3B,cAAc,mBAAmB;IACjC,oBAAoB,yBAAyB;IAC7C,WAAW,gBAAgB;IAC3B,iBAAiB,sBAAsB;IACvC,WAAW,gBAAgB;IAE3B,WAAW,gBAAgB;IAC3B,iBAAiB,sBAAsB;IACvC,cAAc,mBAAmB;IACjC,SAAS,cAAc;IACvB,eAAe,oBAAoB;IACnC,IAAI,SAAS;IACb,OAAO,YAAY;CACpB;AASD,eAAO,MAAM,yBAAyB,aAAc,MAAM,KAAG,MAC9B,CAAC;AAChC,eAAO,MAAM,yBAAyB,WAAY,MAAM,KAAG,MAC/B,CAAC;AAC7B,eAAO,MAAM,2BAA2B,eAC1B,iCAAiC,KAC5C,MAIgC,CAAC;AACpC,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
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import { NAVIGATION_ZONE_SEPARATOR, } from '@finos/legend-application';
|
|
17
17
|
import {} from '@finos/legend-extension-dsl-diagram/graph';
|
|
18
18
|
import { DIAGRAM_INTERACTION_MODE, } from '@finos/legend-extension-dsl-diagram/application';
|
|
19
|
-
import { getNullableEntry, getNullableFirstEntry, guaranteeNonNullable, isNonNullable, } from '@finos/legend-shared';
|
|
19
|
+
import { getNonNullableEnry, getNullableEntry, getNullableFirstEntry, guaranteeNonNullable, isNonNullable, } from '@finos/legend-shared';
|
|
20
20
|
import { action, computed, makeObservable, observable } from 'mobx';
|
|
21
21
|
import { PURE_DATA_SPACE_INFO_PROFILE_PATH, PURE_DATA_SPACE_INFO_PROFILE_VERIFIED_STEREOTYPE, } from '../graph-manager/DSL_DataSpace_PureGraphManagerPlugin.js';
|
|
22
22
|
import { DataSpaceViewerDataAccessState } from './DataSpaceViewerDataAccessState.js';
|
|
@@ -42,6 +42,7 @@ const generateAnchorChunk = (text) => encodeURIComponent(text
|
|
|
42
42
|
.toLowerCase() // anchor is case-insensitive
|
|
43
43
|
.replace(/\s+/gu, '-'));
|
|
44
44
|
export const generateAnchorForActivity = (activity) => generateAnchorChunk(activity);
|
|
45
|
+
export const extractActivityFromAnchor = (anchor) => decodeURIComponent(anchor);
|
|
45
46
|
export const generateAnchorForQuickStart = (quickStart) => [
|
|
46
47
|
DATA_SPACE_VIEWER_ACTIVITY_MODE.QUICK_START,
|
|
47
48
|
generateAnchorChunk(quickStart.title),
|
|
@@ -66,34 +67,108 @@ class DataSpaceLayoutState {
|
|
|
66
67
|
header;
|
|
67
68
|
isTopScrollerVisible = false;
|
|
68
69
|
wikiPageAnchorIndex = new Map();
|
|
69
|
-
|
|
70
|
+
wikiPageNavigationCommand;
|
|
71
|
+
wikiPageVisibleAnchors = [];
|
|
72
|
+
wikiPageScrollIntersectionObserver;
|
|
70
73
|
constructor(dataSpaceViewerState) {
|
|
71
74
|
makeObservable(this, {
|
|
72
75
|
currentNavigationZone: observable,
|
|
73
76
|
isExpandedModeEnabled: observable,
|
|
74
77
|
isTopScrollerVisible: observable,
|
|
75
78
|
wikiPageAnchorIndex: observable,
|
|
79
|
+
wikiPageVisibleAnchors: observable,
|
|
76
80
|
frame: observable.ref,
|
|
77
|
-
|
|
78
|
-
|
|
81
|
+
wikiPageNavigationCommand: observable.ref,
|
|
82
|
+
isWikiPageFullyRendered: computed,
|
|
83
|
+
registerWikiPageScrollObserver: action,
|
|
79
84
|
setCurrentNavigationZone: action,
|
|
80
85
|
enableExpandedMode: action,
|
|
81
86
|
setFrame: action,
|
|
82
87
|
setTopScrollerVisible: action,
|
|
83
88
|
setWikiPageAnchor: action,
|
|
84
89
|
unsetWikiPageAnchor: action,
|
|
85
|
-
|
|
90
|
+
setWikiPageAnchorToNavigate: action,
|
|
91
|
+
updatePageVisibleAnchors: action,
|
|
86
92
|
});
|
|
87
93
|
this.dataSpaceViewerState = dataSpaceViewerState;
|
|
88
94
|
}
|
|
89
95
|
setCurrentNavigationZone(val) {
|
|
90
96
|
this.currentNavigationZone = val;
|
|
91
97
|
}
|
|
92
|
-
get
|
|
93
|
-
return (
|
|
98
|
+
get isWikiPageFullyRendered() {
|
|
99
|
+
return (Boolean(this.frame) &&
|
|
100
|
+
DATA_SPACE_WIKI_PAGE_SECTIONS.includes(this.dataSpaceViewerState.currentActivity) &&
|
|
94
101
|
DATA_SPACE_WIKI_PAGE_ANCHORS.every((anchor) => this.wikiPageAnchorIndex.has(anchor)) &&
|
|
95
102
|
Array.from(this.wikiPageAnchorIndex.values()).every(isNonNullable));
|
|
96
103
|
}
|
|
104
|
+
registerWikiPageScrollObserver() {
|
|
105
|
+
if (this.frame && this.isWikiPageFullyRendered) {
|
|
106
|
+
const wikiPageIntersectionObserver = new IntersectionObserver((entries, observer) => {
|
|
107
|
+
const anchorsWithVisibilityChanged = entries
|
|
108
|
+
.map((entry) => {
|
|
109
|
+
for (const [key, element] of this.wikiPageAnchorIndex.entries()) {
|
|
110
|
+
if (element === entry.target) {
|
|
111
|
+
return { key, isIntersecting: entry.isIntersecting };
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
return undefined;
|
|
115
|
+
})
|
|
116
|
+
.filter(isNonNullable);
|
|
117
|
+
anchorsWithVisibilityChanged.forEach((entry) => {
|
|
118
|
+
this.updatePageVisibleAnchors(entry.key, entry.isIntersecting);
|
|
119
|
+
});
|
|
120
|
+
// NOTE: sync scroll with menu/address is quite a delicate piece of work
|
|
121
|
+
// as it interferes with programatic scroll operations we do elsewhere.
|
|
122
|
+
// This is particularly bad when we do a programatic `smooth` scroll, which
|
|
123
|
+
// mimic user scrolling behavior and would tangle up with this observer
|
|
124
|
+
// Since currently, there's no good mechanism to detect scroll end event, and as such,
|
|
125
|
+
// there is no good way to temporarily disable this logic while doing the programmatic
|
|
126
|
+
// smooth scroll as such, we avoid supporting programatic smooth scrolling for now
|
|
127
|
+
// See https://github.com/w3c/csswg-drafts/issues/3744
|
|
128
|
+
// See https://developer.mozilla.org/en-US/docs/Web/API/Document/scrollend_event
|
|
129
|
+
if (
|
|
130
|
+
// if current navigation zone is not set, do not update zone
|
|
131
|
+
this.currentNavigationZone === '' ||
|
|
132
|
+
// if there is no visible anchors, do not update zone
|
|
133
|
+
!this.wikiPageVisibleAnchors.length ||
|
|
134
|
+
// if some of the current visible anchors match or is parent section of the current
|
|
135
|
+
// navigation zone, do not update zone
|
|
136
|
+
this.wikiPageVisibleAnchors.some((visibleAnchor) => this.currentNavigationZone === visibleAnchor ||
|
|
137
|
+
this.currentNavigationZone.startsWith(`${visibleAnchor}${NAVIGATION_ZONE_SEPARATOR}`))) {
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
const anchor = getNonNullableEnry(this.wikiPageVisibleAnchors, 0);
|
|
141
|
+
this.dataSpaceViewerState.syncZoneWithNavigation(anchor);
|
|
142
|
+
const anchorChunks = anchor.split(NAVIGATION_ZONE_SEPARATOR);
|
|
143
|
+
const activity = getNullableFirstEntry(anchorChunks);
|
|
144
|
+
if (activity) {
|
|
145
|
+
this.dataSpaceViewerState.setCurrentActivity(extractActivityFromAnchor(activity));
|
|
146
|
+
}
|
|
147
|
+
}, {
|
|
148
|
+
root: this.frame,
|
|
149
|
+
threshold: 0.5,
|
|
150
|
+
});
|
|
151
|
+
Array.from(this.wikiPageAnchorIndex.values()).forEach((el) => wikiPageIntersectionObserver.observe(el));
|
|
152
|
+
this.wikiPageScrollIntersectionObserver = wikiPageIntersectionObserver;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
unregisterWikiPageScrollObserver() {
|
|
156
|
+
this.wikiPageScrollIntersectionObserver?.disconnect();
|
|
157
|
+
this.wikiPageScrollIntersectionObserver = undefined;
|
|
158
|
+
this.wikiPageVisibleAnchors = [];
|
|
159
|
+
}
|
|
160
|
+
updatePageVisibleAnchors(changedAnchor, isIntersecting) {
|
|
161
|
+
if (isIntersecting) {
|
|
162
|
+
const anchors = this.wikiPageVisibleAnchors.filter((anchor) => changedAnchor !== anchor);
|
|
163
|
+
// NOTE: the newly visible anchors should be the furthest one in
|
|
164
|
+
// the direction of scroll
|
|
165
|
+
anchors.push(changedAnchor);
|
|
166
|
+
this.wikiPageVisibleAnchors = anchors;
|
|
167
|
+
}
|
|
168
|
+
else {
|
|
169
|
+
this.wikiPageVisibleAnchors = this.wikiPageVisibleAnchors.filter((anchor) => changedAnchor !== anchor);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
97
172
|
enableExpandedMode(val) {
|
|
98
173
|
this.isExpandedModeEnabled = val;
|
|
99
174
|
}
|
|
@@ -112,31 +187,31 @@ class DataSpaceLayoutState {
|
|
|
112
187
|
unsetWikiPageAnchor(anchorKey) {
|
|
113
188
|
this.wikiPageAnchorIndex.delete(anchorKey);
|
|
114
189
|
}
|
|
115
|
-
|
|
116
|
-
this.
|
|
190
|
+
setWikiPageAnchorToNavigate(val) {
|
|
191
|
+
this.wikiPageNavigationCommand = val;
|
|
117
192
|
}
|
|
118
|
-
|
|
119
|
-
if (this.
|
|
120
|
-
|
|
193
|
+
navigateWikiPageAnchor() {
|
|
194
|
+
if (this.frame &&
|
|
195
|
+
this.wikiPageNavigationCommand &&
|
|
196
|
+
this.isWikiPageFullyRendered) {
|
|
197
|
+
const anchor = this.wikiPageNavigationCommand.anchor;
|
|
121
198
|
const matchingWikiPageSection = this.wikiPageAnchorIndex.get(anchor);
|
|
122
199
|
const anchorChunks = anchor.split(NAVIGATION_ZONE_SEPARATOR);
|
|
123
200
|
if (matchingWikiPageSection) {
|
|
124
|
-
this.frame
|
|
125
|
-
|
|
126
|
-
(this.header?.getBoundingClientRect().height ?? 0)
|
|
127
|
-
behavior: this.wikiNavigationCommand.useSmoothScroll
|
|
128
|
-
? 'smooth'
|
|
129
|
-
: 'auto',
|
|
130
|
-
});
|
|
201
|
+
this.frame.scrollTop =
|
|
202
|
+
matchingWikiPageSection.offsetTop -
|
|
203
|
+
(this.header?.getBoundingClientRect().height ?? 0);
|
|
131
204
|
}
|
|
132
205
|
else if (getNullableFirstEntry(anchorChunks) ===
|
|
133
206
|
generateAnchorForActivity(DATA_SPACE_VIEWER_ACTIVITY_MODE.DIAGRAM_VIEWER)) {
|
|
207
|
+
this.frame.scrollTop =
|
|
208
|
+
guaranteeNonNullable(this.wikiPageAnchorIndex.get(generateAnchorForActivity(DATA_SPACE_VIEWER_ACTIVITY_MODE.DIAGRAM_VIEWER))).offsetTop - (this.header?.getBoundingClientRect().height ?? 0);
|
|
134
209
|
const matchingDiagram = this.dataSpaceViewerState.dataSpaceAnalysisResult.diagrams.find((diagram) => generateAnchorForDiagram(diagram) === anchor);
|
|
135
210
|
if (matchingDiagram) {
|
|
136
211
|
this.dataSpaceViewerState.setCurrentDiagram(matchingDiagram);
|
|
137
212
|
}
|
|
138
213
|
}
|
|
139
|
-
this.
|
|
214
|
+
this.setWikiPageAnchorToNavigate(undefined);
|
|
140
215
|
}
|
|
141
216
|
}
|
|
142
217
|
}
|
|
@@ -265,11 +340,8 @@ export class DataSpaceViewerState {
|
|
|
265
340
|
const matchingActivity = Object.values(DATA_SPACE_VIEWER_ACTIVITY_MODE).find((activity) => generateAnchorForActivity(activity) === activityChunk);
|
|
266
341
|
if (activityChunk && matchingActivity) {
|
|
267
342
|
if (DATA_SPACE_WIKI_PAGE_SECTIONS.includes(matchingActivity)) {
|
|
268
|
-
this.layoutState.
|
|
343
|
+
this.layoutState.setWikiPageAnchorToNavigate({
|
|
269
344
|
anchor: zone,
|
|
270
|
-
// NOTE: if we are already on the wiki page, use smooth scroll to suggest the scrollability of the page
|
|
271
|
-
// if we are navigating from a different section, go directly to the section within the page to avoid the wait
|
|
272
|
-
useSmoothScroll: DATA_SPACE_WIKI_PAGE_SECTIONS.includes(this.currentActivity),
|
|
273
345
|
});
|
|
274
346
|
}
|
|
275
347
|
this.setCurrentActivity(matchingActivity);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceViewerState.js","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,yBAAyB,GAG1B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAkB,MAAM,2CAA2C,CAAC;AAC3E,OAAO,EAEL,wBAAwB,GACzB,MAAM,iDAAiD,CAAC;AAMzD,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAOpE,OAAO,EACL,iCAAiC,EACjC,gDAAgD,GACjD,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,OAAO,EAAE,uCAAuC,EAAE,MAAM,wCAAwC,CAAC;AAEjG,MAAM,CAAN,IAAY,+BAeX;AAfD,W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dsl-data-space",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.7",
|
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -44,18 +44,18 @@
|
|
|
44
44
|
"test:watch": "jest --watch"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@finos/legend-application": "15.0.
|
|
48
|
-
"@finos/legend-application-query": "12.0.
|
|
49
|
-
"@finos/legend-application-studio": "24.1.
|
|
50
|
-
"@finos/legend-art": "7.0.
|
|
51
|
-
"@finos/legend-extension-dsl-diagram": "8.0.
|
|
52
|
-
"@finos/legend-graph": "28.1.
|
|
53
|
-
"@finos/legend-lego": "0.1.
|
|
54
|
-
"@finos/legend-query-builder": "3.0.
|
|
55
|
-
"@finos/legend-server-depot": "6.0.
|
|
56
|
-
"@finos/legend-shared": "10.0.
|
|
57
|
-
"@finos/legend-storage": "3.0.
|
|
58
|
-
"@types/react": "18.0.
|
|
47
|
+
"@finos/legend-application": "15.0.4",
|
|
48
|
+
"@finos/legend-application-query": "12.0.7",
|
|
49
|
+
"@finos/legend-application-studio": "24.1.1",
|
|
50
|
+
"@finos/legend-art": "7.0.5",
|
|
51
|
+
"@finos/legend-extension-dsl-diagram": "8.0.7",
|
|
52
|
+
"@finos/legend-graph": "28.1.1",
|
|
53
|
+
"@finos/legend-lego": "0.1.10",
|
|
54
|
+
"@finos/legend-query-builder": "3.0.7",
|
|
55
|
+
"@finos/legend-server-depot": "6.0.2",
|
|
56
|
+
"@finos/legend-shared": "10.0.2",
|
|
57
|
+
"@finos/legend-storage": "3.0.52",
|
|
58
|
+
"@types/react": "18.0.38",
|
|
59
59
|
"mobx": "6.9.0",
|
|
60
60
|
"mobx-react-lite": "3.4.3",
|
|
61
61
|
"react": "18.2.0",
|
|
@@ -63,10 +63,10 @@
|
|
|
63
63
|
"serializr": "3.0.2"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@finos/legend-dev-utils": "2.0.
|
|
66
|
+
"@finos/legend-dev-utils": "2.0.56",
|
|
67
67
|
"@jest/globals": "29.5.0",
|
|
68
68
|
"cross-env": "7.0.3",
|
|
69
|
-
"eslint": "8.
|
|
69
|
+
"eslint": "8.39.0",
|
|
70
70
|
"jest": "29.5.0",
|
|
71
71
|
"npm-run-all": "4.1.5",
|
|
72
72
|
"rimraf": "5.0.0",
|
|
@@ -69,7 +69,7 @@ export const DataSpaceDescription = observer(
|
|
|
69
69
|
</div>
|
|
70
70
|
)}
|
|
71
71
|
{analysisResult.description === undefined && (
|
|
72
|
-
<DataSpaceWikiPlaceholder message="
|
|
72
|
+
<DataSpaceWikiPlaceholder message="(not specified)" />
|
|
73
73
|
)}
|
|
74
74
|
</div>
|
|
75
75
|
</div>
|
|
@@ -222,7 +222,7 @@ export const DataSpaceDiagramViewer = observer(
|
|
|
222
222
|
</div>
|
|
223
223
|
)}
|
|
224
224
|
{analysisResult.diagrams.length <= 0 && (
|
|
225
|
-
<DataSpaceWikiPlaceholder message="
|
|
225
|
+
<DataSpaceWikiPlaceholder message="(not specified)" />
|
|
226
226
|
)}
|
|
227
227
|
</div>
|
|
228
228
|
</div>
|
|
@@ -1111,7 +1111,7 @@ export const DataSpaceModelsDocumentation = observer(
|
|
|
1111
1111
|
</div>
|
|
1112
1112
|
)}
|
|
1113
1113
|
{documentationEntries.length === 0 && (
|
|
1114
|
-
<DataSpaceWikiPlaceholder message="
|
|
1114
|
+
<DataSpaceWikiPlaceholder message="(not specified)" />
|
|
1115
1115
|
)}
|
|
1116
1116
|
</div>
|
|
1117
1117
|
</div>
|
|
@@ -432,19 +432,21 @@ export const DataSpaceQuickStart = observer(
|
|
|
432
432
|
)}
|
|
433
433
|
</div>
|
|
434
434
|
<div className="data-space__viewer__wiki__section__content">
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
435
|
+
{analysisResult.executables.length !== 0 && (
|
|
436
|
+
<div className="data-space__viewer__quickstart">
|
|
437
|
+
{analysisResult.executables.map((executable) => (
|
|
438
|
+
<DataSpaceExecutableAnalysisResultView
|
|
439
|
+
key={executable.uuid}
|
|
440
|
+
dataSpaceViewerState={dataSpaceViewerState}
|
|
441
|
+
executableAnalysisResult={executable}
|
|
442
|
+
/>
|
|
443
|
+
))}
|
|
444
|
+
</div>
|
|
445
|
+
)}
|
|
446
|
+
{analysisResult.executables.length === 0 && (
|
|
447
|
+
<DataSpaceWikiPlaceholder message="(not specified)" />
|
|
448
|
+
)}
|
|
444
449
|
</div>
|
|
445
|
-
{analysisResult.executables.length === 0 && (
|
|
446
|
-
<DataSpaceWikiPlaceholder message="No quick start provided" />
|
|
447
|
-
)}
|
|
448
450
|
</div>
|
|
449
451
|
);
|
|
450
452
|
},
|
|
@@ -29,15 +29,26 @@ export const DataSpaceWiki = observer(
|
|
|
29
29
|
|
|
30
30
|
useEffect(() => {
|
|
31
31
|
if (
|
|
32
|
-
dataSpaceViewerState.layoutState.
|
|
33
|
-
dataSpaceViewerState.layoutState.
|
|
32
|
+
dataSpaceViewerState.layoutState.wikiPageNavigationCommand &&
|
|
33
|
+
dataSpaceViewerState.layoutState.isWikiPageFullyRendered
|
|
34
34
|
) {
|
|
35
|
-
dataSpaceViewerState.layoutState.
|
|
35
|
+
dataSpaceViewerState.layoutState.navigateWikiPageAnchor();
|
|
36
36
|
}
|
|
37
37
|
}, [
|
|
38
38
|
dataSpaceViewerState,
|
|
39
|
-
dataSpaceViewerState.layoutState.
|
|
40
|
-
dataSpaceViewerState.layoutState.
|
|
39
|
+
dataSpaceViewerState.layoutState.wikiPageNavigationCommand,
|
|
40
|
+
dataSpaceViewerState.layoutState.isWikiPageFullyRendered,
|
|
41
|
+
]);
|
|
42
|
+
|
|
43
|
+
useEffect(() => {
|
|
44
|
+
if (dataSpaceViewerState.layoutState.isWikiPageFullyRendered) {
|
|
45
|
+
dataSpaceViewerState.layoutState.registerWikiPageScrollObserver();
|
|
46
|
+
}
|
|
47
|
+
return () =>
|
|
48
|
+
dataSpaceViewerState.layoutState.unregisterWikiPageScrollObserver();
|
|
49
|
+
}, [
|
|
50
|
+
dataSpaceViewerState,
|
|
51
|
+
dataSpaceViewerState.layoutState.isWikiPageFullyRendered,
|
|
41
52
|
]);
|
|
42
53
|
|
|
43
54
|
return (
|