@truedat/dd 8.12.6 → 8.12.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/package.json +3 -3
- package/src/components/CatalogCustomViewCards.js +2 -2
- package/src/components/CatalogViewConfigs.js +1 -1
- package/src/components/EditDomainForm.js +1 -1
- package/src/components/GrantApprovalRuleDeleteButton.js +1 -1
- package/src/components/GrantApprovalRuleForm.js +2 -1
- package/src/components/GrantFilters.js +1 -1
- package/src/components/GrantFiltersLoader.js +1 -1
- package/src/components/GrantRemovalDirectButton.js +1 -1
- package/src/components/GrantRequest.js +1 -1
- package/src/components/GrantRequestCancel.js +1 -1
- package/src/components/GrantsPagination.js +1 -1
- package/src/components/LineageForm.js +1 -1
- package/src/components/LineageGraph.js +95 -3801
- package/src/components/PendingStructureNotesPagination.js +1 -1
- package/src/components/ReferenceDatasetActions.js +2 -1
- package/src/components/ReferenceDatasetFieldSelector.js +1 -1
- package/src/components/ReferenceDatasetForm.js +2 -1
- package/src/components/ReferenceDatasetRoutes.js +1 -1
- package/src/components/ReferenceDatasets.js +1 -1
- package/src/components/ReferenceDatasetsTable.js +1 -1
- package/src/components/StructureDeleteButton.js +1 -1
- package/src/components/StructureFields.js +1 -1
- package/src/components/StructureFieldsDropdown.js +1 -1
- package/src/components/StructureGrantCart.js +1 -1
- package/src/components/StructureGrantCartCheckout.js +1 -1
- package/src/components/StructureGrantCartUserSelector.js +1 -1
- package/src/components/StructureGrantDropdown.js +1 -1
- package/src/components/StructureGrantSummaryButton.js +1 -1
- package/src/components/StructureNav.js +1 -1
- package/src/components/StructureNoteActions.js +2 -1
- package/src/components/StructureNotesEdit.js +1 -1
- package/src/components/StructureStructureForm.js +1 -1
- package/src/components/StructureStructureLinks.js +2 -2
- package/src/components/StructureTabPane.js +1 -1
- package/src/components/StructureTags.js +1 -1
- package/src/components/StructureTypeForm.js +1 -1
- package/src/components/StructuresBulkUpdate.js +3 -5
- package/src/components/StructuresDomainsUploadOption.js +1 -1
- package/src/components/StructuresPagination.js +1 -1
- package/src/components/StructuresUploadOption.js +1 -1
- package/src/components/SystemCards.js +1 -1
- package/src/components/SystemForm.js +1 -1
- package/src/components/Tag.js +1 -1
- package/src/components/TagCards.js +2 -1
- package/src/components/TagForm.js +2 -1
- package/src/components/__tests__/GrantApprovalRuleConditions.spec.js +1 -1
- package/src/components/__tests__/GrantRemovalDirectButton.spec.js +2 -1
- package/src/components/__tests__/GrantRequestApprovalForm.spec.js +2 -1
- package/src/components/__tests__/GrantRequestBulkActions.spec.js +2 -1
- package/src/components/__tests__/GrantRequestBulkApprovalForm.spec.js +2 -4
- package/src/components/__tests__/GrantRequestBulkApprovalPopup.spec.js +1 -1
- package/src/components/__tests__/GrantRequestBulkRoleSelector.spec.js +2 -2
- package/src/components/__tests__/GrantRequestLoader.spec.js +1 -1
- package/src/components/__tests__/GrantRequestRow.spec.js +1 -1
- package/src/components/__tests__/GrantRequestSummary.spec.js +1 -1
- package/src/components/__tests__/GrantRequestsDownloadButton.spec.js +2 -1
- package/src/components/__tests__/GrantRequestsLabelResults.spec.js +1 -1
- package/src/components/__tests__/GrantRequestsLoader.spec.js +1 -1
- package/src/components/__tests__/ImplementationStructuresLoader.spec.js +1 -1
- package/src/components/__tests__/LineageDownloadButton.spec.js +2 -1
- package/src/components/__tests__/LineageGraph.spec.js +1 -1
- package/src/components/__tests__/LineageGraphLayout.spec.js +1 -1
- package/src/components/__tests__/LineageGroup.spec.js +2 -1
- package/src/components/__tests__/LineageHierarchy.spec.js +1 -1
- package/src/components/__tests__/LineageResource.spec.js +2 -1
- package/src/components/__tests__/LineageResourceNode.spec.js +1 -1
- package/src/components/__tests__/PendingStructureNotesLabelResults.spec.js +2 -1
- package/src/components/__tests__/PendingStructureNotesPagination.spec.js +1 -1
- package/src/components/__tests__/ProfileExecution.spec.js +2 -1
- package/src/components/__tests__/ProfileExecutionLoader.spec.js +2 -1
- package/src/components/__tests__/ProfileGroupLoader.spec.js +2 -1
- package/src/components/__tests__/ProfileGroupMessage.spec.js +2 -1
- package/src/components/__tests__/ReferenceDatasetTable.spec.js +1 -1
- package/src/components/__tests__/StructureDeleteButton.spec.js +1 -1
- package/src/components/__tests__/StructureEvents.spec.js +11 -1
- package/src/components/__tests__/StructureGrantRequestButton.spec.js +3 -3
- package/src/components/__tests__/StructureItemRoot.spec.js +2 -1
- package/src/components/__tests__/StructureLoader.spec.js +1 -1
- package/src/components/__tests__/StructureProfileButton.spec.js +3 -2
- package/src/components/__tests__/StructureRelationRow.spec.js +3 -3
- package/src/components/__tests__/StructureRelations.spec.js +2 -1
- package/src/components/__tests__/StructureRoles.spec.js +2 -1
- package/src/components/__tests__/StructureRow.spec.js +2 -1
- package/src/components/__tests__/StructureSelectorInputField.spec.js +2 -1
- package/src/components/__tests__/StructureTagForm.spec.js +2 -1
- package/src/components/__tests__/StructureTypeLoader.spec.js +2 -1
- package/src/components/__tests__/StructureTypesLoader.spec.js +2 -1
- package/src/components/__tests__/StructuresDownloadOption.spec.js +1 -1
- package/src/components/__tests__/StructuresEditableDownloadOption.spec.js +1 -1
- package/src/components/__tests__/StructuresLabelResults.spec.js +1 -1
- package/src/components/__tests__/StructuresLoader.spec.js +2 -1
- package/src/components/__tests__/StructuresUploadOption.spec.js +1 -1
- package/src/components/__tests__/SystemEditButton.spec.js +2 -1
- package/src/components/__tests__/SystemLoader.spec.js +2 -1
- package/src/components/__tests__/UserSearchFiltersLoader.spec.js +2 -1
- package/src/selectors/__tests__/getGrantRequestsSearchColumns.spec.js +1 -1
- package/src/styles/LineageGraph.less +3 -0
- package/src/utils/__tests__/lineageTopology.spec.js +1 -1
- package/src/utils/lineageGraph.js +3827 -0
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
import { render
|
|
1
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
2
|
+
import { waitForLoad } from "@truedat/test/waitForLoad";
|
|
2
3
|
import { StructureEvents } from "../StructureEvents";
|
|
3
4
|
|
|
5
|
+
beforeAll(() => {
|
|
6
|
+
jest.useFakeTimers();
|
|
7
|
+
jest.setSystemTime(new Date("2025-01-01"));
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
afterAll(() => {
|
|
11
|
+
jest.useRealTimers();
|
|
12
|
+
});
|
|
13
|
+
|
|
4
14
|
describe("<StructureEvents />", () => {
|
|
5
15
|
it("matches the latest snapshot", async () => {
|
|
6
16
|
const events = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { waitFor } from "@testing-library/react";
|
|
2
2
|
import userEvent from "@testing-library/user-event";
|
|
3
|
-
import { render } from "@truedat/test/
|
|
3
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
4
4
|
import { StructureGrantRequestButton } from "../StructureGrantRequestButton";
|
|
5
5
|
|
|
6
6
|
describe("<StructureGrantRequestButton />", () => {
|
|
@@ -23,7 +23,7 @@ describe("<StructureGrantRequestButton />", () => {
|
|
|
23
23
|
authorized: true,
|
|
24
24
|
};
|
|
25
25
|
const { getByRole } = render(<StructureGrantRequestButton {...props} />);
|
|
26
|
-
userEvent.click(
|
|
26
|
+
await userEvent.click(getByRole("button"));
|
|
27
27
|
await waitFor(() => {
|
|
28
28
|
expect(addRequest.mock.calls.length).toBe(1);
|
|
29
29
|
expect(removeRequest.mock.calls.length).toBe(0);
|
|
@@ -40,7 +40,7 @@ describe("<StructureGrantRequestButton />", () => {
|
|
|
40
40
|
authorized: true,
|
|
41
41
|
};
|
|
42
42
|
const { getByRole } = render(<StructureGrantRequestButton {...props} />);
|
|
43
|
-
userEvent.click(
|
|
43
|
+
await userEvent.click(getByRole("button"));
|
|
44
44
|
await waitFor(() => {
|
|
45
45
|
expect(addRequest.mock.calls.length).toBe(0);
|
|
46
46
|
expect(removeRequest.mock.calls.length).toBe(1);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { waitFor } from "@testing-library/react";
|
|
2
2
|
import userEvent from "@testing-library/user-event";
|
|
3
|
-
import { render
|
|
3
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
4
|
+
import { waitForLoad } from "@truedat/test/waitForLoad";
|
|
4
5
|
import { StructureItemRoot } from "../StructureItemRoot";
|
|
5
6
|
|
|
6
7
|
const mockHistory = jest.fn();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import userEvent from "@testing-library/user-event";
|
|
2
2
|
import { waitFor } from "@testing-library/react";
|
|
3
|
-
import { render
|
|
3
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
4
|
+
import { waitForLoad } from "@truedat/test/waitForLoad";
|
|
4
5
|
import { StructureProfileButton } from "../StructureProfileButton";
|
|
5
6
|
|
|
6
7
|
describe("<StructureProfileButton />", () => {
|
|
@@ -25,7 +26,7 @@ describe("<StructureProfileButton />", () => {
|
|
|
25
26
|
const rendered = render(<StructureProfileButton {...props} />);
|
|
26
27
|
await waitForLoad(rendered);
|
|
27
28
|
|
|
28
|
-
userEvent.click(rendered.getByRole("button"));
|
|
29
|
+
await userEvent.click(rendered.getByRole("button"));
|
|
29
30
|
|
|
30
31
|
await waitFor(() => {
|
|
31
32
|
expect(createProfileGroup).toHaveBeenCalledWith({
|
|
@@ -103,7 +103,7 @@ describe("<StructureRelationRow />", () => {
|
|
|
103
103
|
relation,
|
|
104
104
|
columns: [{ name: "links", fieldDecorator: linksDecorator }],
|
|
105
105
|
};
|
|
106
|
-
const rendered =
|
|
106
|
+
const rendered = renderRow(props);
|
|
107
107
|
await waitForLoad(rendered);
|
|
108
108
|
|
|
109
109
|
expect(rendered.getByText(/foo concept/i)).toBeInTheDocument();
|
|
@@ -122,7 +122,7 @@ describe("<StructureRelationRow />", () => {
|
|
|
122
122
|
relation,
|
|
123
123
|
columns: [{ name: "links", fieldDecorator: linksDecorator }],
|
|
124
124
|
};
|
|
125
|
-
const rendered =
|
|
125
|
+
const rendered = renderRow(props);
|
|
126
126
|
await waitForLoad(rendered);
|
|
127
127
|
|
|
128
128
|
expect(rendered.getByText(/foo concept/i)).toBeInTheDocument();
|
|
@@ -140,7 +140,7 @@ describe("<StructureRelationRow />", () => {
|
|
|
140
140
|
relation,
|
|
141
141
|
columns: [{ name: "links", fieldDecorator: linksDecorator }],
|
|
142
142
|
};
|
|
143
|
-
const rendered =
|
|
143
|
+
const rendered = renderRow(props);
|
|
144
144
|
await waitForLoad(rendered);
|
|
145
145
|
|
|
146
146
|
expect(rendered.queryByRole("link")).not.toBeInTheDocument();
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { render
|
|
1
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
2
|
+
import { waitForLoad } from "@truedat/test/waitForLoad";
|
|
2
3
|
import _ from "lodash/fp";
|
|
3
4
|
import { StructureRelations } from "../StructureRelations";
|
|
4
5
|
import StructureRelationRow from "../StructureRelationRow";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { render
|
|
1
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
2
|
+
import { waitForLoad } from "@truedat/test/waitForLoad";
|
|
2
3
|
import StructureRoles from "../StructureRoles";
|
|
3
4
|
|
|
4
5
|
jest.mock("@truedat/core/hooks/useAclEntries", () => ({
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import userEvent from "@testing-library/user-event";
|
|
2
2
|
import { waitFor } from "@testing-library/react";
|
|
3
|
-
import { render
|
|
3
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
4
|
+
import { waitForLoad } from "@truedat/test/waitForLoad";
|
|
4
5
|
import _ from "lodash/fp";
|
|
5
6
|
import { StructureRow } from "../StructureRow";
|
|
6
7
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import userEvent from "@testing-library/user-event";
|
|
2
2
|
import { waitFor } from "@testing-library/react";
|
|
3
|
-
import { render
|
|
3
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
4
|
+
import { waitForLoad } from "@truedat/test/waitForLoad";
|
|
4
5
|
import { StructureSelectorInputField } from "../StructureSelectorInputField";
|
|
5
6
|
|
|
6
7
|
// Mock the imported components
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import userEvent from "@testing-library/user-event";
|
|
2
2
|
import { waitFor } from "@testing-library/react";
|
|
3
|
-
import { render
|
|
3
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
4
|
+
import { waitForLoad } from "@truedat/test/waitForLoad";
|
|
4
5
|
import { StructureTagForm } from "../StructureTagForm";
|
|
5
6
|
|
|
6
7
|
describe("<StructureTagForm />", () => {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { render
|
|
1
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
2
|
+
import { waitForLoad } from "@truedat/test/waitForLoad";
|
|
2
3
|
import { StructureTypeLoader } from "../StructureTypeLoader";
|
|
3
4
|
|
|
4
5
|
jest.mock("react-router", () => ({
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { render
|
|
1
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
2
|
+
import { waitForLoad } from "@truedat/test/waitForLoad";
|
|
2
3
|
import { StructureTypesLoader } from "../StructureTypesLoader";
|
|
3
4
|
|
|
4
5
|
describe("<StructureTypesLoader />", () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { render } from "@truedat/test/
|
|
1
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
2
2
|
import SearchContextWrapper from "@truedat/core/components/common/SearchContextWrapper";
|
|
3
3
|
import { StructuresDownloadOption } from "../StructuresDownloadOption";
|
|
4
4
|
import en from "../../messages/en";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { render } from "@truedat/test/
|
|
1
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
2
2
|
import SearchContextWrapper from "@truedat/core/components/common/SearchContextWrapper";
|
|
3
3
|
import { StructuresEditableDownloadOption } from "../StructuresEditableDownloadOption";
|
|
4
4
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { render
|
|
1
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
2
|
+
import { waitForLoad } from "@truedat/test/waitForLoad";
|
|
2
3
|
import { StructuresLoader } from "../StructuresLoader";
|
|
3
4
|
|
|
4
5
|
const getProps = () => ({
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { render
|
|
1
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
2
|
+
import { waitForLoad } from "@truedat/test/waitForLoad";
|
|
2
3
|
import { SystemEditButton } from "../SystemEditButton";
|
|
3
4
|
|
|
4
5
|
jest.mock("@truedat/core/hooks", () => ({
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { render
|
|
1
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
2
|
+
import { waitForLoad } from "@truedat/test/waitForLoad";
|
|
2
3
|
import { SystemLoader } from "../SystemLoader";
|
|
3
4
|
|
|
4
5
|
jest.mock("react-router", () => ({
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { render
|
|
1
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
2
|
+
import { waitForLoad } from "@truedat/test/waitForLoad";
|
|
2
3
|
import { UserSearchFiltersLoader } from "../UserSearchFiltersLoader";
|
|
3
4
|
|
|
4
5
|
describe("<UserSearchFiltersLoader />", () => {
|
|
@@ -1538,6 +1538,9 @@
|
|
|
1538
1538
|
stroke-opacity: 0.4;
|
|
1539
1539
|
filter: none;
|
|
1540
1540
|
}
|
|
1541
|
+
.lineage-graph__stage .td-graph-edge--focus-dimmed.td-graph-edge--hovered,
|
|
1542
|
+
.lineage-graph__stage-surface
|
|
1543
|
+
.td-graph-edge--focus-dimmed.td-graph-edge--hovered,
|
|
1541
1544
|
.lineage-graph__stage .td-graph-edge--focus-dimmed.td-graph-edge--node-hovered,
|
|
1542
1545
|
.lineage-graph__stage-surface
|
|
1543
1546
|
.td-graph-edge--focus-dimmed.td-graph-edge--node-hovered {
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
lineageEdge,
|
|
11
11
|
collapseLineageNodes,
|
|
12
12
|
aggregateCollapsedEdges,
|
|
13
|
-
} from "
|
|
13
|
+
} from "../lineageGraph";
|
|
14
14
|
|
|
15
15
|
// Synthetic multi-stage lineage with nested containers and Glue field aliases.
|
|
16
16
|
// Keep this fixture self-contained so CI never depends on a local data export.
|