@gooddata/sdk-ui-kit 11.40.0-alpha.4 → 11.40.0-alpha.5
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.
|
@@ -65,7 +65,7 @@ function createInsightsItemsGroup(featureFlags, workspaceId, workspacePermission
|
|
|
65
65
|
const insightItemsGroup = [];
|
|
66
66
|
const kpisUrl = kpisItemUrl(baseUrl, workspaceId);
|
|
67
67
|
pushConditionally(insightItemsGroup, createIHeaderMenuItem(HEADER_ITEM_ID_KPIS_NEW, "s-menu-kpis", kpisUrl), canShowKpisItem(workspacePermissions, hasAnalyticalDashboards));
|
|
68
|
-
const analyzeUrl = analyzeItemUrl(baseUrl, workspaceId);
|
|
68
|
+
const analyzeUrl = analyzeItemUrl(baseUrl, workspaceId, featureFlags);
|
|
69
69
|
pushConditionally(insightItemsGroup, createIHeaderMenuItem(HEADER_ITEM_ID_ANALYZE, "s-menu-analyze", analyzeUrl), canShowAnalyzeItem(workspacePermissions));
|
|
70
70
|
const measuresUrl = measuresItemUrl(baseUrl, workspaceId, featureFlags);
|
|
71
71
|
pushConditionally(insightItemsGroup, createIHeaderMenuItem(HEADER_ITEM_ID_METRICS, "s-menu-metrics", measuresUrl), canShowMetricsItem(hasMeasures, workspacePermissions));
|
|
@@ -124,7 +124,10 @@ function kpisItemUrl(baseUrl, workspaceId) {
|
|
|
124
124
|
function canShowKpisItem(workspacePermissions, hasAnalyticalDashboards) {
|
|
125
125
|
return Boolean(hasAnalyticalDashboards || workspacePermissions.canCreateAnalyticalDashboard === true);
|
|
126
126
|
}
|
|
127
|
-
function analyzeItemUrl(baseUrl, workspaceId) {
|
|
127
|
+
function analyzeItemUrl(baseUrl, workspaceId, featureFlags) {
|
|
128
|
+
if (featureFlags.enableShellApplication_analyticalDesigner) {
|
|
129
|
+
return withBaseUrl(baseUrl, `/workspace/${workspaceId}/analyze/#/reportId/edit`);
|
|
130
|
+
}
|
|
128
131
|
return withBaseUrl(baseUrl, `/analyze/#/${workspaceId}/reportId/edit`);
|
|
129
132
|
}
|
|
130
133
|
function canShowAnalyzeItem(workspacePermissions) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-kit",
|
|
3
|
-
"version": "11.40.0-alpha.
|
|
3
|
+
"version": "11.40.0-alpha.5",
|
|
4
4
|
"description": "GoodData SDK - UI Building Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -75,11 +75,11 @@
|
|
|
75
75
|
"tslib": "2.8.1",
|
|
76
76
|
"unified": "^11.0.5",
|
|
77
77
|
"uuid": "11.1.0",
|
|
78
|
-
"@gooddata/sdk-backend-spi": "11.40.0-alpha.
|
|
79
|
-
"@gooddata/sdk-model": "11.40.0-alpha.
|
|
80
|
-
"@gooddata/sdk-ui
|
|
81
|
-
"@gooddata/util": "11.40.0-alpha.
|
|
82
|
-
"@gooddata/sdk-ui": "11.40.0-alpha.
|
|
78
|
+
"@gooddata/sdk-backend-spi": "11.40.0-alpha.5",
|
|
79
|
+
"@gooddata/sdk-model": "11.40.0-alpha.5",
|
|
80
|
+
"@gooddata/sdk-ui": "11.40.0-alpha.5",
|
|
81
|
+
"@gooddata/util": "11.40.0-alpha.5",
|
|
82
|
+
"@gooddata/sdk-ui-theme-provider": "11.40.0-alpha.5"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"@microsoft/api-documenter": "^7.17.0",
|
|
@@ -128,11 +128,11 @@
|
|
|
128
128
|
"typescript": "5.9.3",
|
|
129
129
|
"vitest": "4.1.8",
|
|
130
130
|
"vitest-dom": "0.1.1",
|
|
131
|
-
"@gooddata/
|
|
132
|
-
"@gooddata/
|
|
133
|
-
"@gooddata/sdk-backend-mockingbird": "11.40.0-alpha.
|
|
134
|
-
"@gooddata/
|
|
135
|
-
"@gooddata/stylelint-config": "11.40.0-alpha.
|
|
131
|
+
"@gooddata/oxlint-config": "11.40.0-alpha.5",
|
|
132
|
+
"@gooddata/eslint-config": "11.40.0-alpha.5",
|
|
133
|
+
"@gooddata/sdk-backend-mockingbird": "11.40.0-alpha.5",
|
|
134
|
+
"@gooddata/reference-workspace": "11.40.0-alpha.5",
|
|
135
|
+
"@gooddata/stylelint-config": "11.40.0-alpha.5"
|
|
136
136
|
},
|
|
137
137
|
"peerDependencies": {
|
|
138
138
|
"react": "^18.0.0 || ^19.0.0",
|