@gooddata/sdk-ui-semantic-search 11.41.0-alpha.1 → 11.41.0-alpha.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.
@@ -6,6 +6,7 @@ export type UIPathObjectTypes = "dashboard" | "dashboardVisualization" | "visual
6
6
  export type UIPathOptions = {
7
7
  useHostedMetricEditor?: boolean;
8
8
  useHostedAnalyticalDesigner?: boolean;
9
+ useHostedLdmModeler?: boolean;
9
10
  };
10
11
  /**
11
12
  * Get the UI path for the given object type, object ID, and workspace ID.
@@ -22,16 +22,16 @@ export const getUIPath = (objectType, objectId, workspaceId, visualizationId, op
22
22
  return `/workspace/${workspaceId}/metrics/metric/${objectId}`;
23
23
  }
24
24
  return `/metrics/#/${workspaceId}/metric/${objectId}`;
25
+ // TODO - deep links into the modeler (no pluggable deep-route support yet)
25
26
  case "dataset":
26
- return `/modeler/#/${workspaceId}`; // TODO - deep links
27
27
  case "attribute":
28
- return `/modeler/#/${workspaceId}`; // TODO - deep links
29
28
  case "label":
30
- return `/modeler/#/${workspaceId}`; // TODO - deep links
31
29
  case "fact":
32
- return `/modeler/#/${workspaceId}`; // TODO - deep links
33
30
  case "date":
34
- return `/modeler/#/${workspaceId}`; // TODO - deep links
31
+ if (options.useHostedLdmModeler) {
32
+ return `/workspace/${workspaceId}/modeler`;
33
+ }
34
+ return `/modeler/#/${workspaceId}`;
35
35
  default:
36
36
  return exhaustiveCheck(objectType);
37
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-semantic-search",
3
- "version": "11.41.0-alpha.1",
3
+ "version": "11.41.0-alpha.2",
4
4
  "description": "GoodData SDK TypeScript & React skeleton",
5
5
  "license": "MIT",
6
6
  "author": "GoodData Corporation",
@@ -35,12 +35,12 @@
35
35
  "lodash-es": "^4.17.23",
36
36
  "react-intl": "7.1.11",
37
37
  "tslib": "2.8.1",
38
- "@gooddata/sdk-backend-spi": "11.41.0-alpha.1",
39
- "@gooddata/sdk-model": "11.41.0-alpha.1",
40
- "@gooddata/sdk-ui": "11.41.0-alpha.1",
41
- "@gooddata/sdk-ui-kit": "11.41.0-alpha.1",
42
- "@gooddata/sdk-ui-theme-provider": "11.41.0-alpha.1",
43
- "@gooddata/util": "11.41.0-alpha.1"
38
+ "@gooddata/sdk-model": "11.41.0-alpha.2",
39
+ "@gooddata/sdk-backend-spi": "11.41.0-alpha.2",
40
+ "@gooddata/sdk-ui": "11.41.0-alpha.2",
41
+ "@gooddata/sdk-ui-kit": "11.41.0-alpha.2",
42
+ "@gooddata/sdk-ui-theme-provider": "11.41.0-alpha.2",
43
+ "@gooddata/util": "11.41.0-alpha.2"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@microsoft/api-documenter": "^7.17.0",
@@ -80,11 +80,11 @@
80
80
  "typescript": "5.9.3",
81
81
  "vitest": "4.1.8",
82
82
  "vitest-dom": "0.1.1",
83
- "@gooddata/eslint-config": "11.41.0-alpha.1",
84
- "@gooddata/i18n-toolkit": "11.41.0-alpha.1",
85
- "@gooddata/oxlint-config": "11.41.0-alpha.1",
86
- "@gooddata/stylelint-config": "11.41.0-alpha.1",
87
- "@gooddata/sdk-backend-mockingbird": "11.41.0-alpha.1"
83
+ "@gooddata/eslint-config": "11.41.0-alpha.2",
84
+ "@gooddata/i18n-toolkit": "11.41.0-alpha.2",
85
+ "@gooddata/sdk-backend-mockingbird": "11.41.0-alpha.2",
86
+ "@gooddata/stylelint-config": "11.41.0-alpha.2",
87
+ "@gooddata/oxlint-config": "11.41.0-alpha.2"
88
88
  },
89
89
  "peerDependencies": {
90
90
  "react": "^18.0.0 || ^19.0.0",