@truedat/dd 4.42.5 → 4.43.1
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.43.0] 2022-04-26
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- [TD-3186] DataStructure view shows related implementations
|
|
8
|
+
|
|
9
|
+
## [4.42.6] 2022-04-25
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- [TD-2026] Fix `linage graph` empty metada condition
|
|
14
|
+
|
|
3
15
|
## [4.42.5] 2022-04-22
|
|
4
16
|
|
|
5
17
|
### Added
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/dd",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.43.1",
|
|
4
4
|
"description": "Truedat Web Data Dictionary",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"jsnext:main": "src/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@testing-library/jest-dom": "^5.14.1",
|
|
35
35
|
"@testing-library/react": "^12.0.0",
|
|
36
36
|
"@testing-library/user-event": "^13.2.1",
|
|
37
|
-
"@truedat/test": "4.
|
|
37
|
+
"@truedat/test": "4.43.1",
|
|
38
38
|
"babel-jest": "^27.0.6",
|
|
39
39
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
40
40
|
"babel-plugin-lodash": "^3.3.4",
|
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
]
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@truedat/auth": "4.
|
|
88
|
-
"@truedat/core": "4.
|
|
89
|
-
"@truedat/df": "4.
|
|
87
|
+
"@truedat/auth": "4.43.1",
|
|
88
|
+
"@truedat/core": "4.43.1",
|
|
89
|
+
"@truedat/df": "4.43.1",
|
|
90
90
|
"lodash": "^4.17.21",
|
|
91
91
|
"path-to-regexp": "^1.7.0",
|
|
92
92
|
"prop-types": "^15.7.2",
|
|
@@ -107,5 +107,5 @@
|
|
|
107
107
|
"react-dom": ">= 16.8.6 < 17",
|
|
108
108
|
"semantic-ui-react": ">= 0.88.2 < 2.1"
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "7ea6f37972e3a70706913ada33751b955313801f"
|
|
111
111
|
}
|
|
@@ -99,8 +99,10 @@ export const LineageGraph = ({
|
|
|
99
99
|
<Grid>
|
|
100
100
|
<Grid.Row columns={2}>
|
|
101
101
|
<Grid.Column
|
|
102
|
-
width={_.isNull(metadata) ? 16 : 12}
|
|
103
|
-
style={
|
|
102
|
+
width={_.isNull(metadata) || _.isEmpty(metadata) ? 16 : 12}
|
|
103
|
+
style={
|
|
104
|
+
_.isNull(metadata) || _.isEmpty(metadata) ? {} : { paddingRight: 0 }
|
|
105
|
+
}
|
|
104
106
|
>
|
|
105
107
|
<Dimmer.Dimmable dimmed={loading} className="dl">
|
|
106
108
|
<Dimmer active={loading} inverted>
|
|
@@ -185,7 +187,7 @@ export const LineageGraph = ({
|
|
|
185
187
|
</svg>
|
|
186
188
|
</Dimmer.Dimmable>
|
|
187
189
|
</Grid.Column>
|
|
188
|
-
{_.isNull(metadata) ? null : (
|
|
190
|
+
{_.isNull(metadata) || _.isEmpty(metadata) ? null : (
|
|
189
191
|
<Grid.Column width={4} style={{ maxHeight: 300 }}>
|
|
190
192
|
<LinageMetadata
|
|
191
193
|
metadata={metadata}
|
|
@@ -138,12 +138,16 @@ describe("selectors: getTabVisibility", () => {
|
|
|
138
138
|
});
|
|
139
139
|
});
|
|
140
140
|
|
|
141
|
-
it("should include rules iff
|
|
141
|
+
it("should include rules iff structure.implementations is not empty", () => {
|
|
142
142
|
expect(getTabVisibility({})).toMatchObject({ rules: false });
|
|
143
|
-
expect(
|
|
143
|
+
expect(
|
|
144
|
+
getTabVisibility({ structure: { implementations: [] } })
|
|
145
|
+
).toMatchObject({
|
|
144
146
|
rules: false,
|
|
145
147
|
});
|
|
146
|
-
expect(
|
|
148
|
+
expect(
|
|
149
|
+
getTabVisibility({ structure: { implementations: [{}] } })
|
|
150
|
+
).toMatchObject({
|
|
147
151
|
rules: true,
|
|
148
152
|
});
|
|
149
153
|
});
|
|
@@ -36,7 +36,7 @@ const notesTabVisible = ({ templatesLoading, templates, structure }) =>
|
|
|
36
36
|
)(templates);
|
|
37
37
|
|
|
38
38
|
const versionsTabVisible = notEmptyPath("structureVersions");
|
|
39
|
-
const rulesTabVisible = notEmptyPath("
|
|
39
|
+
const rulesTabVisible = notEmptyPath("structure.implementations");
|
|
40
40
|
const lineageTabVisible = _.anyPass([_.path("structure.degree.in")]);
|
|
41
41
|
const impactTabVisible = _.anyPass([_.path("structure.degree.out")]);
|
|
42
42
|
const parentsTabVisible = _.conformsTo({ parentRelations: notEmpty });
|