@gooddata/sdk-ui-dashboard 11.50.0-alpha.3 → 11.50.0
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/NOTICE +3 -3
- package/esm/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +5 -10
- package/esm/model/store/config/configSelectors.d.ts +1 -17
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +7 -31
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +2 -3
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +3 -12
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFilters.d.ts +6 -4
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFilters.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFilters.js +6 -4
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSelectedValues.d.ts +5 -5
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSelectedValues.js +5 -5
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSupportedMetrics.d.ts +5 -5
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSupportedMetrics.js +5 -5
- package/esm/presentation/automations/connectors/AlertingConnector.d.ts +5 -7
- package/esm/presentation/automations/connectors/AlertingConnector.d.ts.map +1 -1
- package/esm/presentation/automations/connectors/AlertingConnector.js +5 -7
- package/esm/presentation/automations/connectors/ScheduledEmailConnector.d.ts +4 -4
- package/esm/presentation/automations/connectors/ScheduledEmailConnector.js +4 -4
- package/esm/presentation/automations/contexts/AlertingDialogContext.d.ts +3 -3
- package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.d.ts +4 -2
- package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts +2 -2
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +3 -30
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailEffectiveFilters.d.ts +8 -10
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailEffectiveFilters.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailEffectiveFilters.js +8 -10
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailExportSettings.d.ts +3 -11
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailExportSettings.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailExportSettings.js +21 -3
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailFilters.d.ts +6 -7
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailFilters.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailFilters.js +6 -7
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailFormState.d.ts +6 -9
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailFormState.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailFormState.js +11 -10
- package/esm/presentation/filterBar/filterBar/DefaultDashboardFilterGroup.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultDashboardFilterGroup.js +1 -15
- package/esm/sdk-ui-dashboard.d.ts +2 -3
- package/package.json +21 -21
- package/styles/css/main.css +4 -1
- package/styles/css/main.css.map +1 -1
package/NOTICE
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
|
|
8
8
|
The following 3rd-party software packages may be used by or distributed with gooddata-ui-sdk. Any information relevant to third-party vendors listed below are collected using common, reasonable means.
|
|
9
9
|
|
|
10
|
-
Date generated: 2026-7-
|
|
10
|
+
Date generated: 2026-7-30
|
|
11
11
|
|
|
12
|
-
Revision ID:
|
|
12
|
+
Revision ID: d888e6fac3deae0511e0a86bfb269a788f76f3e1
|
|
13
13
|
|
|
14
14
|
================================================================================
|
|
15
15
|
================================================================================
|
|
@@ -29285,4 +29285,4 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
29285
29285
|
--------------------------------------------------------------------------------
|
|
29286
29286
|
--------------------------------------------------------------------------------
|
|
29287
29287
|
|
|
29288
|
-
Report Generated by FOSSA on 2026-7-
|
|
29288
|
+
Report Generated by FOSSA on 2026-7-30
|
package/esm/__version.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "11.50.0
|
|
1
|
+
export declare const LIB_VERSION = "11.50.0";
|
|
2
2
|
export declare const LIB_DESCRIPTION = "GoodData SDK - Dashboard Component";
|
|
3
3
|
export declare const LIB_NAME = "@gooddata/sdk-ui-dashboard";
|
|
4
4
|
//# sourceMappingURL=__version.d.ts.map
|
package/esm/__version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"__version.d.ts","sourceRoot":"","sources":["../src/__version.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"__version.d.ts","sourceRoot":"","sources":["../src/__version.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,YAAY,CAAC;AAErC,eAAO,MAAM,eAAe,uCAAuC,CAAC;AAEpE,eAAO,MAAM,QAAQ,+BAA+B,CAAC"}
|
package/esm/__version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// (C) 2021 GoodData Corporation
|
|
2
2
|
// DO NOT CHANGE THIS FILE, IT IS RE-GENERATED ON EVERY BUILD
|
|
3
|
-
export const LIB_VERSION = "11.50.0
|
|
3
|
+
export const LIB_VERSION = "11.50.0";
|
|
4
4
|
export const LIB_DESCRIPTION = "GoodData SDK - Dashboard Component";
|
|
5
5
|
export const LIB_NAME = "@gooddata/sdk-ui-dashboard";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initializeAutomationsHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAgD/C,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"initializeAutomationsHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAgD/C,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAmC/E,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAWnE,wBAAiB,4BAA4B,CACzC,GAAG,EAAE,gBAAgB,EACrB,IAAI,EAAE,sBAAsB,GAC7B,YAAY,CAoSd"}
|
|
@@ -14,7 +14,7 @@ import { switchDashboardTab } from "../../commands/tabs.js";
|
|
|
14
14
|
import { dispatchDashboardEvent } from "../../store/_infra/eventDispatcher.js";
|
|
15
15
|
import { selectAutomationsIsInitialized, selectAutomationsIsLoading, } from "../../store/automations/automationsSelectors.js";
|
|
16
16
|
import { automationsActions } from "../../store/automations/index.js";
|
|
17
|
-
import {
|
|
17
|
+
import { selectEnableNotificationChannelIdentifiers, selectEnableParameters, selectEnableStringParameters, selectExternalRecipient, selectFocusObject, selectIsExport, selectIsReadOnly, selectOpenAutomationOnLoad, } from "../../store/config/configSelectors.js";
|
|
18
18
|
import { selectInsightByWidgetRef } from "../../store/insights/insightsSelectors.js";
|
|
19
19
|
import { selectDashboardId } from "../../store/meta/metaSelectors.js";
|
|
20
20
|
import { notificationChannelsActions } from "../../store/notificationChannels/index.js";
|
|
@@ -37,8 +37,6 @@ export function* initializeAutomationsHandler(ctx, _cmd) {
|
|
|
37
37
|
const dashboardId = yield select(selectDashboardId);
|
|
38
38
|
const user = yield select(selectCurrentUser);
|
|
39
39
|
const canManageAutomations = yield select(selectCanManageWorkspace);
|
|
40
|
-
const enableArbitraryFilterKD = yield select(selectEnableArbitraryFilterKD);
|
|
41
|
-
const enableMatchFilterKD = yield select(selectEnableMatchFilterKD);
|
|
42
40
|
const enableNotificationChannelIdentifiers = yield select(selectEnableNotificationChannelIdentifiers);
|
|
43
41
|
const automationsInitialized = yield select(selectAutomationsIsInitialized);
|
|
44
42
|
const automationsIsLoading = yield select(selectAutomationsIsLoading);
|
|
@@ -96,7 +94,7 @@ export function* initializeAutomationsHandler(ctx, _cmd) {
|
|
|
96
94
|
: targetAlertFilters;
|
|
97
95
|
const keepDateFilterDataSets = !!ctx.backend.capabilities.supportsMultipleDateFilters;
|
|
98
96
|
const filtersToSetAsFilterContextItems = compact(filtersToSet.map((filter) => dashboardFilterToFilterContextItem(filter, keepDateFilterDataSets)));
|
|
99
|
-
const compatibleFiltersToSet = filtersToSetAsFilterContextItems.filter((filter) => isFilterContextItemCompatibleWithSelectionType(filter, effectiveActiveTabSelectionTypeMap,
|
|
97
|
+
const compatibleFiltersToSet = filtersToSetAsFilterContextItems.filter((filter) => isFilterContextItemCompatibleWithSelectionType(filter, effectiveActiveTabSelectionTypeMap, filterContextFilters));
|
|
100
98
|
// Empty alert execution filters = reset all filters (set them to all).
|
|
101
99
|
// Empty sanitized filters = keep filters as they are, do not reset them (all alert execution filters are insight specific / ignored).
|
|
102
100
|
// Non-empty sanitized filters = set them (some alert execution filters are originating from the dashboard).
|
|
@@ -127,7 +125,7 @@ export function* initializeAutomationsHandler(ctx, _cmd) {
|
|
|
127
125
|
});
|
|
128
126
|
const sanitizedFilters = sanitizeDateFilters(filtersToSet, tabCommonDateFilterLocalId);
|
|
129
127
|
const tabSelectionTypeMap = selectionTypeMapByTab[tabId];
|
|
130
|
-
const compatibleFilters = sanitizedFilters.filter((filter) => isFilterContextItemCompatibleWithSelectionType(filter, tabSelectionTypeMap,
|
|
128
|
+
const compatibleFilters = sanitizedFilters.filter((filter) => isFilterContextItemCompatibleWithSelectionType(filter, tabSelectionTypeMap, tabCurrentFilters));
|
|
131
129
|
// Empty tab filters = reset all filters (set them to all).
|
|
132
130
|
// Empty sanitized filters = keep filters as they are.
|
|
133
131
|
// Non-empty sanitized filters = set them.
|
|
@@ -151,7 +149,7 @@ export function* initializeAutomationsHandler(ctx, _cmd) {
|
|
|
151
149
|
return true;
|
|
152
150
|
}) ?? [];
|
|
153
151
|
const sanitizedFiltersToSet = sanitizeDateFilters(filtersToSet, commonDateFilterLocalId);
|
|
154
|
-
const compatibleFiltersToSet = sanitizedFiltersToSet.filter((filter) => isFilterContextItemCompatibleWithSelectionType(filter, effectiveActiveTabSelectionTypeMap,
|
|
152
|
+
const compatibleFiltersToSet = sanitizedFiltersToSet.filter((filter) => isFilterContextItemCompatibleWithSelectionType(filter, effectiveActiveTabSelectionTypeMap, filterContextFilters));
|
|
155
153
|
// Empty schedule execution filters = reset all filters (set them to all).
|
|
156
154
|
// Empty sanitized filters = keep filters as they are, do not reset them (all schedule execution filters are ignored).
|
|
157
155
|
// Non-empty sanitized filters = set them (some schedule export definition filters are originating from the dashboard).
|
|
@@ -400,10 +398,7 @@ function removeDateFiltersIfDateFilterIsIgnored(filters, widget) {
|
|
|
400
398
|
// If widget has ignored date filter, remove it
|
|
401
399
|
return isDateIgnored ? filters.filter((f) => !isDateFilter(f)) : filters;
|
|
402
400
|
}
|
|
403
|
-
function isFilterContextItemCompatibleWithSelectionType(filter, selectionTypeMap,
|
|
404
|
-
if (!enableArbitraryFilterKD && !enableMatchFilterKD) {
|
|
405
|
-
return true;
|
|
406
|
-
}
|
|
401
|
+
function isFilterContextItemCompatibleWithSelectionType(filter, selectionTypeMap, dashboardFilters) {
|
|
407
402
|
if (!isDashboardAttributeFilterItem(filter)) {
|
|
408
403
|
return true;
|
|
409
404
|
}
|
|
@@ -251,18 +251,6 @@ export declare const selectEnableKda: DashboardSelector<boolean>;
|
|
|
251
251
|
* @internal
|
|
252
252
|
*/
|
|
253
253
|
export declare const selectEnableImmediateAttributeFilterDisplayAsLabelMigration: DashboardSelector<boolean>;
|
|
254
|
-
/**
|
|
255
|
-
* Returns whether arbitrary text filter mode is enabled in dashboards.
|
|
256
|
-
*
|
|
257
|
-
* @alpha
|
|
258
|
-
*/
|
|
259
|
-
export declare const selectEnableArbitraryFilterKD: DashboardSelector<boolean>;
|
|
260
|
-
/**
|
|
261
|
-
* Returns whether match text filter mode is enabled in dashboards.
|
|
262
|
-
*
|
|
263
|
-
* @alpha
|
|
264
|
-
*/
|
|
265
|
-
export declare const selectEnableMatchFilterKD: DashboardSelector<boolean>;
|
|
266
254
|
/**
|
|
267
255
|
* Returns whether measure value (numeric) filter is enabled in dashboards.
|
|
268
256
|
*
|
|
@@ -270,11 +258,7 @@ export declare const selectEnableMatchFilterKD: DashboardSelector<boolean>;
|
|
|
270
258
|
*/
|
|
271
259
|
export declare const selectEnableMeasureValueFilterKD: DashboardSelector<boolean>;
|
|
272
260
|
/**
|
|
273
|
-
* Returns available attribute filter modes
|
|
274
|
-
*
|
|
275
|
-
* @remarks
|
|
276
|
-
* Always includes "elements" mode. Adds "arbitrary" and/or "match" when
|
|
277
|
-
* the corresponding feature flags are enabled.
|
|
261
|
+
* Returns available attribute filter modes.
|
|
278
262
|
*
|
|
279
263
|
* @alpha
|
|
280
264
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configSelectors.d.ts","sourceRoot":"","sources":["../../../../src/model/store/config/configSelectors.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,SAAS,EAEjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,KAAK,qCAAqC,EAAE,MAAM,0BAA0B,CAAC;AAEtF,OAAO,EACH,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,iBAAiB,EAAuB,MAAM,aAAa,CAAC;AAO1E;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,EAAE,iBAAiB,CAAC,uBAAuB,CAOnE,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,EAAE,iBAAiB,CAAC,iBAAiB,CAKvE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,iBAAiB,CAAC,SAAS,CAEtD,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,iBAAiB,CAAC,OAAO,CAElD,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,iBAAiB,CAAC,MAAM,GAAG,SAAS,CAE/D,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EAAE,iBAAiB,CA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,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,sCAAsC,EAAE,iBAAiB,CAAC,OAAO,CAK7E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,iBAAiB,CAAC,OAAO,CAErD,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,2DAA2D,EAAE,iBAAiB,CAAC,OAAO,CAG7F,CAAC;AAEP;;;;GAIG;AACH,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"configSelectors.d.ts","sourceRoot":"","sources":["../../../../src/model/store/config/configSelectors.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,SAAS,EAEjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,KAAK,qCAAqC,EAAE,MAAM,0BAA0B,CAAC;AAEtF,OAAO,EACH,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,iBAAiB,EAAuB,MAAM,aAAa,CAAC;AAO1E;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,EAAE,iBAAiB,CAAC,uBAAuB,CAOnE,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,EAAE,iBAAiB,CAAC,iBAAiB,CAKvE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,iBAAiB,CAAC,SAAS,CAEtD,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,iBAAiB,CAAC,OAAO,CAElD,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,iBAAiB,CAAC,MAA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eAAO,MAAM,6BAA6B,EAAE,iBAAiB,CAAC,OAAO,CAKpE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,EAAE,iBAAiB,CAAC,MAAM,GAAG,SAAS,CAQlF,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B,EAAE,iBAAiB,CAAC,OAAO,CAKtE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,EAAE,iBAAiB,CAAC,OAAO,CAKlE,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,EAAE,iBAAiB,CAAC,gBAAgB,GAAG,SAAS,CAkBjF,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,EAAE,iBAAiB,CAAC,OAAO,CAKxE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,wCAAwC,EAAE,iBAAiB,CAAC,OAAO,CAK/E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,mCAAmC,EAAE,iBAAiB,CAAC,OAAO,CAK1E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gDAAgD,EAAE,iBAAiB,CAAC,OAAO,CAKvF,CAAC"}
|
|
@@ -324,22 +324,6 @@ export const selectEnableKda = createSelector(selectConfig, (state) => {
|
|
|
324
324
|
export const selectEnableImmediateAttributeFilterDisplayAsLabelMigration = createSelector(selectConfig, (state) => {
|
|
325
325
|
return state.settings?.enableImmediateAttributeFilterDisplayAsLabelMigration ?? false;
|
|
326
326
|
});
|
|
327
|
-
/**
|
|
328
|
-
* Returns whether arbitrary text filter mode is enabled in dashboards.
|
|
329
|
-
*
|
|
330
|
-
* @alpha
|
|
331
|
-
*/
|
|
332
|
-
export const selectEnableArbitraryFilterKD = createSelector(selectConfig, (state) => {
|
|
333
|
-
return state.settings?.enableArbitraryFilterKD ?? true;
|
|
334
|
-
});
|
|
335
|
-
/**
|
|
336
|
-
* Returns whether match text filter mode is enabled in dashboards.
|
|
337
|
-
*
|
|
338
|
-
* @alpha
|
|
339
|
-
*/
|
|
340
|
-
export const selectEnableMatchFilterKD = createSelector(selectConfig, (state) => {
|
|
341
|
-
return state.settings?.enableMatchFilterKD ?? true;
|
|
342
|
-
});
|
|
343
327
|
/**
|
|
344
328
|
* Returns whether measure value (numeric) filter is enabled in dashboards.
|
|
345
329
|
*
|
|
@@ -348,25 +332,17 @@ export const selectEnableMatchFilterKD = createSelector(selectConfig, (state) =>
|
|
|
348
332
|
export const selectEnableMeasureValueFilterKD = createSelector(selectConfig, (state) => {
|
|
349
333
|
return state.settings?.enableMeasureValueFilterKD ?? true;
|
|
350
334
|
});
|
|
335
|
+
const AVAILABLE_ATTRIBUTE_FILTER_SELECTION_TYPES = [
|
|
336
|
+
"elements",
|
|
337
|
+
"arbitrary",
|
|
338
|
+
"match",
|
|
339
|
+
];
|
|
351
340
|
/**
|
|
352
|
-
* Returns available attribute filter modes
|
|
353
|
-
*
|
|
354
|
-
* @remarks
|
|
355
|
-
* Always includes "elements" mode. Adds "arbitrary" and/or "match" when
|
|
356
|
-
* the corresponding feature flags are enabled.
|
|
341
|
+
* Returns available attribute filter modes.
|
|
357
342
|
*
|
|
358
343
|
* @alpha
|
|
359
344
|
*/
|
|
360
|
-
export const selectAvailableAttributeFilterSelectionTypes =
|
|
361
|
-
const modes = ["elements"];
|
|
362
|
-
if (arbitraryEnabled) {
|
|
363
|
-
modes.push("arbitrary");
|
|
364
|
-
}
|
|
365
|
-
if (matchEnabled) {
|
|
366
|
-
modes.push("match");
|
|
367
|
-
}
|
|
368
|
-
return modes;
|
|
369
|
-
});
|
|
345
|
+
export const selectAvailableAttributeFilterSelectionTypes = () => AVAILABLE_ATTRIBUTE_FILTER_SELECTION_TYPES;
|
|
370
346
|
/**
|
|
371
347
|
* Returns whether semantic search is enabled.
|
|
372
348
|
*
|
package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts
CHANGED
|
@@ -11,9 +11,8 @@ export declare function AlertingDialogRenderer({ alertToEdit, users, usersError,
|
|
|
11
11
|
* wholesale slot replacement, inherit the contexts automatically and require no extra wiring.
|
|
12
12
|
*
|
|
13
13
|
* The providers are intentionally hoisted above the slot rather than built inside this component:
|
|
14
|
-
* that is what lets a wholesale replacement receive the same contexts
|
|
15
|
-
*
|
|
16
|
-
* providers throws at runtime.
|
|
14
|
+
* that is what lets a wholesale replacement receive the same contexts. Rendering this component
|
|
15
|
+
* outside those providers throws at runtime.
|
|
17
16
|
*
|
|
18
17
|
* @alpha
|
|
19
18
|
*/
|
package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultAlertingDialog.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.tsx"],"names":[],"mappings":"AA0CA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,aAAa,CAAC;AA4BxD,wBAAgB,sBAAsB,CAAC,EACnC,WAAW,EACX,KAAK,EACL,UAAU,EACV,oBAAoB,EACpB,OAAO,EACP,MAAM,EACN,QAAQ,EACR,eAAe,EACf,aAAa,EACb,OAAO,EACP,SAAS,EACT,WAAW,EACX,aAAa,EAChB,EAAE,oBAAoB,2CA6iBtB;AAED
|
|
1
|
+
{"version":3,"file":"DefaultAlertingDialog.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.tsx"],"names":[],"mappings":"AA0CA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,aAAa,CAAC;AA4BxD,wBAAgB,sBAAsB,CAAC,EACnC,WAAW,EACX,KAAK,EACL,UAAU,EACV,oBAAoB,EACpB,OAAO,EACP,MAAM,EACN,QAAQ,EACR,eAAe,EACf,aAAa,EACb,OAAO,EACP,SAAS,EACT,WAAW,EACX,aAAa,EAChB,EAAE,oBAAoB,2CA6iBtB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,oBAAoB,2CAahE"}
|
package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js
CHANGED
|
@@ -40,14 +40,13 @@ const overlayController = OverlayController.getInstance(DASHBOARD_DIALOG_OVERS_Z
|
|
|
40
40
|
export function AlertingDialogRenderer({ alertToEdit, users, usersError, notificationChannels, insight, widget, onCancel, onDeleteSuccess, onDeleteError, onError, onSuccess, onSaveError, onSaveSuccess, }) {
|
|
41
41
|
const intl = useIntl();
|
|
42
42
|
const dialogTitleRef = useRef(null);
|
|
43
|
-
const { isWhiteLabeled, isSecondaryTitleVisible, externalRecipient: externalRecipientOverride, features: { enableAlertOncePerInterval, enableAnomalyDetectionAlert, canUseAiAssistant: enableAiAssistant, }, } = useAutomationsContext();
|
|
43
|
+
const { isWhiteLabeled, isSecondaryTitleVisible, externalRecipient: externalRecipientOverride, maxAutomationsRecipients, isExecutionTimestampMode, features: { enableAlertOncePerInterval, enableAnomalyDetectionAlert, canUseAiAssistant: enableAiAssistant, }, } = useAutomationsContext();
|
|
44
44
|
const { widgetTitle } = useAlertingDialogContext();
|
|
45
45
|
const [alertToDelete, setAlertToDelete] = useState(null);
|
|
46
46
|
const handleAlertDeleteSuccess = (alert) => {
|
|
47
47
|
onDeleteSuccess?.(alert);
|
|
48
48
|
setAlertToDelete(null);
|
|
49
49
|
};
|
|
50
|
-
const { maxAutomationsRecipients, isExecutionTimestampMode } = useDefaultAlertingDialogData();
|
|
51
50
|
const { editedAutomationFilters, setEditedAutomationFilters, availableFilters, availableFiltersAsVisibleFilters, filtersForNewAutomation, } = useAutomationFiltersSelect({
|
|
52
51
|
automationToEdit: alertToEdit,
|
|
53
52
|
widget,
|
|
@@ -171,9 +170,8 @@ export function AlertingDialogRenderer({ alertToEdit, users, usersError, notific
|
|
|
171
170
|
* wholesale slot replacement, inherit the contexts automatically and require no extra wiring.
|
|
172
171
|
*
|
|
173
172
|
* The providers are intentionally hoisted above the slot rather than built inside this component:
|
|
174
|
-
* that is what lets a wholesale replacement receive the same contexts
|
|
175
|
-
*
|
|
176
|
-
* providers throws at runtime.
|
|
173
|
+
* that is what lets a wholesale replacement receive the same contexts. Rendering this component
|
|
174
|
+
* outside those providers throws at runtime.
|
|
177
175
|
*
|
|
178
176
|
* @alpha
|
|
179
177
|
*/
|
|
@@ -185,13 +183,6 @@ export function DefaultAlertingDialog(props) {
|
|
|
185
183
|
}
|
|
186
184
|
return (_jsx(IntlWrapper, { locale: locale, children: _jsx(AlertingDialogRenderer, { ...props }) }));
|
|
187
185
|
}
|
|
188
|
-
function useDefaultAlertingDialogData() {
|
|
189
|
-
const { maxAutomationsRecipients, isExecutionTimestampMode } = useAutomationsContext();
|
|
190
|
-
return {
|
|
191
|
-
maxAutomationsRecipients,
|
|
192
|
-
isExecutionTimestampMode,
|
|
193
|
-
};
|
|
194
|
-
}
|
|
195
186
|
function AlertingDialogFooter({ isWhiteLabeled, helpTextId, alertToEdit, isSavingAlert, onDeleteClick, }) {
|
|
196
187
|
const intl = useIntl();
|
|
197
188
|
return (_jsxs("div", { className: "gd-notifications-channels-dialog-footer-link", children: [isWhiteLabeled ? null : (_jsx(Hyperlink, { text: intl.formatMessage({ id: helpTextId }), href: "https://www.gooddata.com/docs/cloud/create-dashboards/automation/alerts/", iconClass: "gd-icon-circle-question" })), alertToEdit ? (_jsx(Button, { className: "gd-button-link-dimmed", value: intl.formatMessage({ id: "delete" }), onClick: onDeleteClick, disabled: isSavingAlert })) : null] }));
|
package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFilters.d.ts
CHANGED
|
@@ -25,11 +25,13 @@ export interface IUseAlertFiltersProps {
|
|
|
25
25
|
timezone: string | undefined;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
* the filter *read* model (`useAutomationFiltersSelect` in the renderer) is intentionally unchanged.
|
|
28
|
+
* Owns the alerting dialog's filter changes: `onFiltersChange` and `onApplyCurrentFilters` update the
|
|
29
|
+
* edited filters and mirror the result into the alert draft.
|
|
31
30
|
*
|
|
32
|
-
*
|
|
31
|
+
* Mutation only. The matching read model lives elsewhere — the renderer derives it through
|
|
32
|
+
* `useAutomationFiltersSelect` — so the two directions are not yet unified behind a single hook.
|
|
33
|
+
*
|
|
34
|
+
* All inputs are params; this hook reads no context.
|
|
33
35
|
*
|
|
34
36
|
* @internal
|
|
35
37
|
*/
|
package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFilters.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAlertFilters.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFilters.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAe,MAAM,OAAO,CAAC;AAExE,OAAO,EACH,KAAK,iBAAiB,EAEtB,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,SAAS,EACjB,MAAM,qBAAqB,CAAC;AAM7B,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAG7D;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IAClC,mBAAmB,EAAE,QAAQ,CAAC,cAAc,CAAC,mCAAmC,GAAG,SAAS,CAAC,CAAC,CAAC;IAC/F,0BAA0B,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IACnE,uBAAuB,EAAE,iBAAiB,EAAE,CAAC;IAC7C,gCAAgC,CAAC,EAAE,wBAAwB,EAAE,GAAG,SAAS,CAAC;IAC1E,sBAAsB,EAAE,iBAAiB,EAAE,CAAC;IAC5C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,iBAAiB,EAAE,WAAW,EAAE,CAAC;IACjC,mBAAmB,EAAE,cAAc,EAAE,CAAC;IACtC,gBAAgB,EAAE,iBAAiB,CAAC;IACpC,eAAe,EAAE,WAAW,GAAG,SAAS,CAAC;IACzC,iBAAiB,EAAE,cAAc,GAAG,SAAS,CAAC;IAC9C,aAAa,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC;AAED
|
|
1
|
+
{"version":3,"file":"useAlertFilters.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFilters.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAe,MAAM,OAAO,CAAC;AAExE,OAAO,EACH,KAAK,iBAAiB,EAEtB,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,SAAS,EACjB,MAAM,qBAAqB,CAAC;AAM7B,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAG7D;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IAClC,mBAAmB,EAAE,QAAQ,CAAC,cAAc,CAAC,mCAAmC,GAAG,SAAS,CAAC,CAAC,CAAC;IAC/F,0BAA0B,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IACnE,uBAAuB,EAAE,iBAAiB,EAAE,CAAC;IAC7C,gCAAgC,CAAC,EAAE,wBAAwB,EAAE,GAAG,SAAS,CAAC;IAC1E,sBAAsB,EAAE,iBAAiB,EAAE,CAAC;IAC5C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,iBAAiB,EAAE,WAAW,EAAE,CAAC;IACjC,mBAAmB,EAAE,cAAc,EAAE,CAAC;IACtC,gBAAgB,EAAE,iBAAiB,CAAC;IACpC,eAAe,EAAE,WAAW,GAAG,SAAS,CAAC;IACzC,iBAAiB,EAAE,cAAc,GAAG,SAAS,CAAC;IAC9C,aAAa,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAAC,EAC5B,mBAAmB,EACnB,0BAA0B,EAC1B,uBAAuB,EACvB,gCAAgC,EAChC,sBAAsB,EACtB,kBAAkB,EAClB,MAAM,EACN,OAAO,EACP,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,SAAS,EACT,QAAQ,EACX,EAAE,qBAAqB,GAAG;IACvB,eAAe,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IACxD,qBAAqB,EAAE,MAAM,IAAI,CAAC;CACrC,CA4FA"}
|
package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFilters.js
CHANGED
|
@@ -3,11 +3,13 @@ import { useCallback } from "react";
|
|
|
3
3
|
import { getAppliedWidgetFilters, getVisibleFiltersByFilters, } from "../../../shared/automationFilters/utils.js";
|
|
4
4
|
import { transformAlertByAttribute, transformAlertByMetric } from "../utils/transformation.js";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* the filter *read* model (`useAutomationFiltersSelect` in the renderer) is intentionally unchanged.
|
|
6
|
+
* Owns the alerting dialog's filter changes: `onFiltersChange` and `onApplyCurrentFilters` update the
|
|
7
|
+
* edited filters and mirror the result into the alert draft.
|
|
9
8
|
*
|
|
10
|
-
*
|
|
9
|
+
* Mutation only. The matching read model lives elsewhere — the renderer derives it through
|
|
10
|
+
* `useAutomationFiltersSelect` — so the two directions are not yet unified behind a single hook.
|
|
11
|
+
*
|
|
12
|
+
* All inputs are params; this hook reads no context.
|
|
11
13
|
*
|
|
12
14
|
* @internal
|
|
13
15
|
*/
|
|
@@ -11,12 +11,12 @@ export interface IUseAlertSelectedValuesProps {
|
|
|
11
11
|
notificationChannels: INotificationChannelIdentifier[] | INotificationChannelMetadataObject[];
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Derives the currently-selected form values from the edited alert draft.
|
|
15
15
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
16
|
+
* Deliberately unmemoized. The returned objects flow into `useCallback` dependency arrays and
|
|
17
|
+
* `useThresholdValue` arguments, so recomputing them every render is what keeps those consumers
|
|
18
|
+
* behaving correctly — memoizing here would be a behaviour change, not an optimisation. The hook
|
|
19
|
+
* therefore calls no React hooks of its own.
|
|
20
20
|
*
|
|
21
21
|
* @internal
|
|
22
22
|
*/
|
package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSelectedValues.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// (C) 2026 GoodData Corporation
|
|
2
2
|
import { getAlertAiOperator, getAlertAttribute, getAlertCompareOperator, getAlertComparison, getAlertGranularity, getAlertMeasure, getAlertRelativeOperator, getAlertSensitivity, } from "../utils/getters.js";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Derives the currently-selected form values from the edited alert draft.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
6
|
+
* Deliberately unmemoized. The returned objects flow into `useCallback` dependency arrays and
|
|
7
|
+
* `useThresholdValue` arguments, so recomputing them every render is what keeps those consumers
|
|
8
|
+
* behaving correctly — memoizing here would be a behaviour change, not an optimisation. The hook
|
|
9
|
+
* therefore calls no React hooks of its own.
|
|
10
10
|
*
|
|
11
11
|
* @internal
|
|
12
12
|
*/
|
|
@@ -8,12 +8,12 @@ export interface IUseAlertSupportedMetricsProps {
|
|
|
8
8
|
alertToEdit?: IAutomationMetadataObject;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Derives which measures and attributes the alerting dialog may offer for the current widget: it
|
|
12
|
+
* resolves the effective insight and its execution result, then narrows the catalog down to the
|
|
13
|
+
* metrics alerting actually supports.
|
|
12
14
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* `execResult` and `effectiveInsight` are internal — not returned.
|
|
15
|
+
* `execResult` and `effectiveInsight` stay internal — they are implementation detail rather than part
|
|
16
|
+
* of the returned contract.
|
|
17
17
|
*
|
|
18
18
|
* @internal
|
|
19
19
|
*/
|
|
@@ -7,12 +7,12 @@ import { getMeasureFormatsFromExecution } from "../utils/getters.js";
|
|
|
7
7
|
import { getSupportedInsightAttributesByInsight, getSupportedInsightMeasuresByInsight, } from "../utils/items.js";
|
|
8
8
|
import { useAttributeValuesFromExecResults } from "./useAttributeValuesFromExecResults.js";
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Derives which measures and attributes the alerting dialog may offer for the current widget: it
|
|
11
|
+
* resolves the effective insight and its execution result, then narrows the catalog down to the
|
|
12
|
+
* metrics alerting actually supports.
|
|
11
13
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* `execResult` and `effectiveInsight` are internal — not returned.
|
|
14
|
+
* `execResult` and `effectiveInsight` stay internal — they are implementation detail rather than part
|
|
15
|
+
* of the returned contract.
|
|
16
16
|
*
|
|
17
17
|
* @internal
|
|
18
18
|
*/
|
|
@@ -13,13 +13,11 @@ export declare function AlertingAutomationsProvider({ children }: {
|
|
|
13
13
|
* Connector component that reads from the dashboard Redux store and wires up
|
|
14
14
|
* the alerting dialog tree (create/edit and management) via context providers.
|
|
15
15
|
*
|
|
16
|
-
* This is the primary bridge between dashboard store state and the alerting
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* (see the GDP-3167 note there) and is tracked for a Phase 3 move behind this
|
|
22
|
-
* connector.
|
|
16
|
+
* This is the primary bridge between dashboard store state and the alerting dialog tree. One
|
|
17
|
+
* transitive exception remains: `useAutomationAlertParameters` (in `shared/automationFilters`) still
|
|
18
|
+
* reads the store via `useDashboardSelector`, so alerting is not yet fully decoupled. That coupling is
|
|
19
|
+
* an explicit carve-out frozen in the `automationFilters` allowlist of `.dependency-cruiser.js` (see
|
|
20
|
+
* the note there); moving it behind this connector is tracked on GDP-3167.
|
|
23
21
|
*
|
|
24
22
|
* AutomationsContext is provided by AlertingAutomationsProvider, which wraps this
|
|
25
23
|
* connector (see AlertingDialogProvider).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertingConnector.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/connectors/AlertingConnector.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAoB1D;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,GAAG,YAAY,CAG/F;AAED
|
|
1
|
+
{"version":3,"file":"AlertingConnector.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/connectors/AlertingConnector.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAoB1D;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,GAAG,YAAY,CAG/F;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,IAAI,YAAY,GAAG,IAAI,CAMvD"}
|
|
@@ -26,13 +26,11 @@ export function AlertingAutomationsProvider({ children }) {
|
|
|
26
26
|
* Connector component that reads from the dashboard Redux store and wires up
|
|
27
27
|
* the alerting dialog tree (create/edit and management) via context providers.
|
|
28
28
|
*
|
|
29
|
-
* This is the primary bridge between dashboard store state and the alerting
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* (see the GDP-3167 note there) and is tracked for a Phase 3 move behind this
|
|
35
|
-
* connector.
|
|
29
|
+
* This is the primary bridge between dashboard store state and the alerting dialog tree. One
|
|
30
|
+
* transitive exception remains: `useAutomationAlertParameters` (in `shared/automationFilters`) still
|
|
31
|
+
* reads the store via `useDashboardSelector`, so alerting is not yet fully decoupled. That coupling is
|
|
32
|
+
* an explicit carve-out frozen in the `automationFilters` allowlist of `.dependency-cruiser.js` (see
|
|
33
|
+
* the note there); moving it behind this connector is tracked on GDP-3167.
|
|
36
34
|
*
|
|
37
35
|
* AutomationsContext is provided by AlertingAutomationsProvider, which wraps this
|
|
38
36
|
* connector (see AlertingDialogProvider).
|
|
@@ -13,10 +13,10 @@ export declare function ScheduledEmailAutomationsProvider({ children }: {
|
|
|
13
13
|
* Connector component that reads from the dashboard Redux store and wires up
|
|
14
14
|
* the scheduled-email dialog tree (create/edit and management) via context providers.
|
|
15
15
|
*
|
|
16
|
-
* This is the primary bridge between dashboard store state and the scheduled-email
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
16
|
+
* This is the primary bridge between dashboard store state and the scheduled-email dialog tree, with one
|
|
17
|
+
* exception: the shared `automationFilters` hooks (`useAutomationFiltersSelect`,
|
|
18
|
+
* `useAutomationExportParameters`, `useValidateExistingAutomationFilters`) read the store directly via
|
|
19
|
+
* `useDashboardSelector`.
|
|
20
20
|
*
|
|
21
21
|
* AutomationsContext is provided by ScheduledEmailAutomationsProvider, which wraps this
|
|
22
22
|
* connector (see ScheduledEmailAutomationsProvider in DashboardHeader).
|
|
@@ -31,10 +31,10 @@ export function ScheduledEmailAutomationsProvider({ children }) {
|
|
|
31
31
|
* Connector component that reads from the dashboard Redux store and wires up
|
|
32
32
|
* the scheduled-email dialog tree (create/edit and management) via context providers.
|
|
33
33
|
*
|
|
34
|
-
* This is the primary bridge between dashboard store state and the scheduled-email
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
34
|
+
* This is the primary bridge between dashboard store state and the scheduled-email dialog tree, with one
|
|
35
|
+
* exception: the shared `automationFilters` hooks (`useAutomationFiltersSelect`,
|
|
36
|
+
* `useAutomationExportParameters`, `useValidateExistingAutomationFilters`) read the store directly via
|
|
37
|
+
* `useDashboardSelector`.
|
|
38
38
|
*
|
|
39
39
|
* AutomationsContext is provided by ScheduledEmailAutomationsProvider, which wraps this
|
|
40
40
|
* connector (see ScheduledEmailAutomationsProvider in DashboardHeader).
|
|
@@ -2,10 +2,10 @@ import type { IExecutionResult } from "@gooddata/sdk-backend-spi";
|
|
|
2
2
|
import type { FilterContextItem, IAutomationMetadataObject, IAutomationMetadataObjectDefinition, IInsight, IInsightParameterValue, IWidget, ObjRef } from "@gooddata/sdk-model";
|
|
3
3
|
/**
|
|
4
4
|
* Sub-context for the alerting create/edit dialog.
|
|
5
|
-
* Shape grows during Phase 2 migration as DefaultAlertingDialog and its hooks are migrated.
|
|
6
5
|
*
|
|
7
|
-
* The connector hydrates this from dashboard state and provides the CRUD callbacks
|
|
8
|
-
*
|
|
6
|
+
* The connector hydrates this from dashboard state and provides the CRUD callbacks; the dialog and its
|
|
7
|
+
* hooks read it instead of reaching into the dashboard store. That direction is enforced by the
|
|
8
|
+
* `no-model-imports-in-clean-alerting` rule in `.dependency-cruiser.js`.
|
|
9
9
|
*/
|
|
10
10
|
export interface IAlertingDialogContextValue {
|
|
11
11
|
mode: "create" | "edit";
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { DashboardAttributeFilterConfigMode, DashboardDateFilterConfigMode, FilterContextItem, IAutomationMetadataObject, IAutomationMetadataObjectDefinition, IDashboardExportParameter, IExportTemplate, IInsight, IWidget } from "@gooddata/sdk-model";
|
|
2
2
|
/**
|
|
3
3
|
* Sub-context for the scheduled-email create/edit dialog.
|
|
4
|
-
*
|
|
5
|
-
* The connector hydrates this from dashboard state and provides the CRUD callbacks
|
|
4
|
+
*
|
|
5
|
+
* The connector hydrates this from dashboard state and provides the CRUD callbacks; the dialog and its
|
|
6
|
+
* hooks read it instead of reaching into the dashboard store. That direction is enforced by the
|
|
7
|
+
* `no-model-imports-in-clean-scheduled-email` rule in `.dependency-cruiser.js`.
|
|
6
8
|
*/
|
|
7
9
|
export interface IScheduledEmailDialogContextValue {
|
|
8
10
|
widget?: IWidget;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledEmailDialogContext.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/contexts/ScheduledEmailDialogContext.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACR,kCAAkC,EAClC,6BAA6B,EAC7B,iBAAiB,EACjB,yBAAyB,EACzB,mCAAmC,EACnC,yBAAyB,EACzB,eAAe,EACf,QAAQ,EACR,OAAO,EACV,MAAM,qBAAqB,CAAC;AAE7B
|
|
1
|
+
{"version":3,"file":"ScheduledEmailDialogContext.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/contexts/ScheduledEmailDialogContext.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACR,kCAAkC,EAClC,6BAA6B,EAC7B,iBAAiB,EACjB,yBAAyB,EACzB,mCAAmC,EACnC,yBAAyB,EACzB,eAAe,EACf,QAAQ,EACR,OAAO,EACV,MAAM,qBAAqB,CAAC;AAE7B;;;;;;GAMG;AACH,M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,4 +1,4 @@
|
|
|
1
|
-
import { type FilterContextItem, type IAutomationMetadataObject, type IAutomationVisibleFilter, type
|
|
1
|
+
import { type FilterContextItem, type IAutomationMetadataObject, type IAutomationVisibleFilter, type IExportDefinitionVisualizationObjectSettings, type IFilter, type IInsight, type INotificationChannelIdentifier, type INotificationChannelMetadataObject, type IWidget, type IWorkspaceUser } from "@gooddata/sdk-model";
|
|
2
2
|
import type { IAutomationFiltersTab } from "../../../../../model/store/filtering/types.js";
|
|
3
3
|
export interface IUseEditScheduledEmailProps {
|
|
4
4
|
scheduledExportToEdit?: IAutomationMetadataObject;
|
|
@@ -87,7 +87,7 @@ export declare function useEditScheduledEmail({ scheduledExportToEdit, notificat
|
|
|
87
87
|
onApplyCurrentFilters: () => void;
|
|
88
88
|
onStoreFiltersChange: (value: boolean, filters?: FilterContextItem[] | undefined, filtersByTabParam?: Record<string, FilterContextItem[]> | undefined) => void;
|
|
89
89
|
onFiltersByTabChange: (newFiltersByTab: Record<string, FilterContextItem[]>, storeFiltersParam?: boolean | undefined) => void;
|
|
90
|
-
setParametersWire: (wire: Record<string, IDashboardExportParameter[]> | undefined) => void;
|
|
90
|
+
setParametersWire: (wire: Record<string, import("@gooddata/sdk-model").IDashboardExportParameter[]> | undefined) => void;
|
|
91
91
|
enableAutomationEvaluationMode: boolean;
|
|
92
92
|
};
|
|
93
93
|
//# sourceMappingURL=useEditScheduledEmail.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEditScheduledEmail.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useEditScheduledEmail.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,yB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