@gooddata/sdk-ui-dashboard 11.52.0-alpha.3 → 11.52.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.
Files changed (26) hide show
  1. package/NOTICE +105 -33
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.js +1 -1
  4. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/{useAlertFilters.d.ts → useAlertFiltersModel.d.ts} +4 -4
  5. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFiltersModel.d.ts.map +1 -0
  6. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/{useAlertFilters.js → useAlertFiltersModel.js} +1 -1
  7. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFormState.d.ts.map +1 -1
  8. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFormState.js +6 -6
  9. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useEditAlert.js +3 -3
  10. package/esm/presentation/dashboard/components/DashboardLoading.js +1 -1
  11. package/esm/presentation/dashboardSettingsDialog/TimezoneOption.d.ts.map +1 -1
  12. package/esm/presentation/dashboardSettingsDialog/TimezoneOption.js +12 -10
  13. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +8 -0
  14. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
  15. package/esm/presentation/localization/bundles/en-US.localization-bundle.js +18 -10
  16. package/esm/presentation/timezoneDialog/TimezoneDialog.d.ts.map +1 -1
  17. package/esm/presentation/timezoneDialog/TimezoneDialog.js +2 -4
  18. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.d.ts.map +1 -1
  19. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.js +1 -1
  20. package/package.json +21 -21
  21. package/styles/css/dashboardSettingsDialog.css +3 -0
  22. package/styles/css/dashboardSettingsDialog.css.map +1 -1
  23. package/styles/css/main.css +3 -0
  24. package/styles/css/main.css.map +1 -1
  25. package/styles/scss/dashboardSettingsDialog.scss +4 -0
  26. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFilters.d.ts.map +0 -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-8-7
10
+ Date generated: 2026-8-10
11
11
 
12
- Revision ID: 15e463243a78a55661d527ee35ed2c14c2d70169
12
+ Revision ID: df24fd6388dc31e841cd593b9a048731ec44afec
13
13
 
14
14
  ================================================================================
15
15
  ================================================================================
@@ -251,7 +251,7 @@ Revision ID: 15e463243a78a55661d527ee35ed2c14c2d70169
251
251
  - @peculiar/asn1-x509-attr (2.8.0) [MIT]
252
252
  - @peculiar/utils (2.0.3) [MIT]
253
253
  - @peculiar/x509 (1.14.3) [MIT]
254
- - @playwright/test (1.61.0) [Apache-2.0]
254
+ - @playwright/test (1.62.1) [Apache-2.0]
255
255
  - @react-aria/interactions (3.28.1) [Apache-2.0]
256
256
  - @react-dnd/asap (4.0.1) [MIT]
257
257
  - @react-dnd/asap (5.0.2) [MIT]
@@ -373,7 +373,7 @@ Revision ID: 15e463243a78a55661d527ee35ed2c14c2d70169
373
373
  - balanced-match (2.0.0) [MIT]
374
374
  - balanced-match (4.0.4) [MIT]
375
375
  - base64-js (1.5.1) [MIT]
376
- - baseline-browser-mapping (2.11.4) [Apache-2.0]
376
+ - baseline-browser-mapping (2.11.13) [Apache-2.0]
377
377
  - batch (0.6.1) [MIT]
378
378
  - binary-extensions (2.3.0) [MIT]
379
379
  - bl (4.1.0) [MIT]
@@ -382,7 +382,7 @@ Revision ID: 15e463243a78a55661d527ee35ed2c14c2d70169
382
382
  - brace-expansion (1.1.16) [MIT]
383
383
  - brace-expansion (5.0.8) [MIT]
384
384
  - braces (3.0.3) [MIT]
385
- - browserslist (4.28.7) [MIT]
385
+ - browserslist (4.28.8) [MIT]
386
386
  - buffer (5.7.1) [MIT]
387
387
  - buffer-from (1.1.2) [MIT]
388
388
  - bundle-name (4.1.0) [MIT]
@@ -394,7 +394,7 @@ Revision ID: 15e463243a78a55661d527ee35ed2c14c2d70169
394
394
  - call-bind-apply-helpers (1.0.2) [MIT]
395
395
  - call-bound (1.0.4) [MIT]
396
396
  - callsites (3.1.0) [MIT]
397
- - caniuse-lite (1.0.30001806) [CC-BY-4.0]
397
+ - caniuse-lite (1.0.30001809) [CC-BY-4.0]
398
398
  - ccount (2.0.1) [MIT]
399
399
  - chalk (5.3.0) [MIT]
400
400
  - chalk (4.1.2) [MIT]
@@ -487,7 +487,7 @@ Revision ID: 15e463243a78a55661d527ee35ed2c14c2d70169
487
487
  - earcut (2.2.4) [ISC]
488
488
  - earcut (3.2.3) [ISC]
489
489
  - ee-first (1.1.1) [MIT]
490
- - electron-to-chromium (1.5.396) [ISC]
490
+ - electron-to-chromium (1.5.403) [ISC]
491
491
  - emailjs-base64 (1.1.4) [MIT]
492
492
  - emoji-regex (8.0.0) [MIT]
493
493
  - emojilib (2.4.0) [MIT]
@@ -775,7 +775,7 @@ Revision ID: 15e463243a78a55661d527ee35ed2c14c2d70169
775
775
  - negotiator (0.6.4) [MIT]
776
776
  - neo-async (2.6.2) [MIT]
777
777
  - node-emoji (2.2.0) [MIT]
778
- - node-releases (2.0.51) [MIT]
778
+ - node-releases (2.0.53) [MIT]
779
779
  - normalize-path (3.0.0) [MIT]
780
780
  - object-assign (4.1.1) [MIT]
781
781
  - object-code (2.0.0) [MIT]
@@ -815,8 +815,8 @@ Revision ID: 15e463243a78a55661d527ee35ed2c14c2d70169
815
815
  - pify (4.0.1) [MIT]
816
816
  - pkg-dir (4.2.0) [MIT]
817
817
  - pkijs (3.4.0) [BSD-3-Clause]
818
- - playwright (1.61.0) [Apache-2.0, MIT, ISC, CC-BY-4.0, BSD-3-Clause]
819
- - playwright-core (1.61.0) [Apache-2.0, MIT, ISC, BSD-2-Clause, BSD-3-Clause]
818
+ - playwright (1.62.1) [Apache-2.0, MIT, BSD-3-Clause, blueoak-1.0.0, ISC, CC-BY-4.0]
819
+ - playwright-core (1.62.1) [Apache-2.0, MIT, ISC, BSD-2-Clause, BSD-3-Clause, blueoak-1.0.0, NCSA]
820
820
  - polished (3.7.2) [MIT, OFL-1.1]
821
821
  - possible-typed-array-names (1.1.0) [MIT]
822
822
  - postcss (8.5.10) [MIT]
@@ -1017,7 +1017,7 @@ Revision ID: 15e463243a78a55661d527ee35ed2c14c2d70169
1017
1017
  - unist-util-visit-parents (6.0.2) [MIT]
1018
1018
  - universalify (2.0.1) [MIT]
1019
1019
  - unpipe (1.0.0) [MIT]
1020
- - update-browserslist-db (1.2.3) [MIT]
1020
+ - update-browserslist-db (1.3.0) [MIT]
1021
1021
  - use-composed-ref (1.4.0) [MIT]
1022
1022
  - use-is-mounted-ref (1.5.0) [MIT]
1023
1023
  - use-isomorphic-layout-effect (1.2.1) [MIT]
@@ -3801,9 +3801,9 @@ MIT
3801
3801
 
3802
3802
 
3803
3803
  --------------------------------------------------------------------------------
3804
- Package Title: @playwright/test (1.61.0)
3804
+ Package Title: @playwright/test (1.62.1)
3805
3805
 
3806
- Package Locator: npm+@playwright/test$1.61.0
3806
+ Package Locator: npm+@playwright/test$1.62.1
3807
3807
 
3808
3808
  Package Depth: Direct
3809
3809
  --------------------------------------------------------------------------------
@@ -5277,9 +5277,9 @@ MIT
5277
5277
 
5278
5278
 
5279
5279
  --------------------------------------------------------------------------------
5280
- Package Title: baseline-browser-mapping (2.11.4)
5280
+ Package Title: baseline-browser-mapping (2.11.13)
5281
5281
 
5282
- Package Locator: npm+baseline-browser-mapping$2.11.4
5282
+ Package Locator: npm+baseline-browser-mapping$2.11.13
5283
5283
 
5284
5284
  Package Depth: Transitive
5285
5285
  --------------------------------------------------------------------------------
@@ -5385,9 +5385,9 @@ MIT
5385
5385
 
5386
5386
 
5387
5387
  --------------------------------------------------------------------------------
5388
- Package Title: browserslist (4.28.7)
5388
+ Package Title: browserslist (4.28.8)
5389
5389
 
5390
- Package Locator: npm+browserslist$4.28.7
5390
+ Package Locator: npm+browserslist$4.28.8
5391
5391
 
5392
5392
  Package Depth: Transitive
5393
5393
  --------------------------------------------------------------------------------
@@ -5529,9 +5529,9 @@ MIT
5529
5529
 
5530
5530
 
5531
5531
  --------------------------------------------------------------------------------
5532
- Package Title: caniuse-lite (1.0.30001806)
5532
+ Package Title: caniuse-lite (1.0.30001809)
5533
5533
 
5534
- Package Locator: npm+caniuse-lite$1.0.30001806
5534
+ Package Locator: npm+caniuse-lite$1.0.30001809
5535
5535
 
5536
5536
  Package Depth: Transitive
5537
5537
  --------------------------------------------------------------------------------
@@ -6649,9 +6649,9 @@ MIT
6649
6649
 
6650
6650
 
6651
6651
  --------------------------------------------------------------------------------
6652
- Package Title: electron-to-chromium (1.5.396)
6652
+ Package Title: electron-to-chromium (1.5.403)
6653
6653
 
6654
- Package Locator: npm+electron-to-chromium$1.5.396
6654
+ Package Locator: npm+electron-to-chromium$1.5.403
6655
6655
 
6656
6656
  Package Depth: Transitive
6657
6657
  --------------------------------------------------------------------------------
@@ -10123,9 +10123,9 @@ MIT
10123
10123
 
10124
10124
 
10125
10125
  --------------------------------------------------------------------------------
10126
- Package Title: node-releases (2.0.51)
10126
+ Package Title: node-releases (2.0.53)
10127
10127
 
10128
- Package Locator: npm+node-releases$2.0.51
10128
+ Package Locator: npm+node-releases$2.0.53
10129
10129
 
10130
10130
  Package Depth: Transitive
10131
10131
  --------------------------------------------------------------------------------
@@ -10613,9 +10613,9 @@ BSD-3-Clause
10613
10613
 
10614
10614
 
10615
10615
  --------------------------------------------------------------------------------
10616
- Package Title: playwright (1.61.0)
10616
+ Package Title: playwright (1.62.1)
10617
10617
 
10618
- Package Locator: npm+playwright$1.61.0
10618
+ Package Locator: npm+playwright$1.62.1
10619
10619
 
10620
10620
  Package Depth: Transitive
10621
10621
  --------------------------------------------------------------------------------
@@ -10625,13 +10625,13 @@ Apache-2.0
10625
10625
 
10626
10626
 
10627
10627
  * Other Licenses *
10628
- MIT, ISC, CC-BY-4.0, BSD-3-Clause
10628
+ MIT, BSD-3-Clause, blueoak-1.0.0, ISC, CC-BY-4.0
10629
10629
 
10630
10630
 
10631
10631
  --------------------------------------------------------------------------------
10632
- Package Title: playwright-core (1.61.0)
10632
+ Package Title: playwright-core (1.62.1)
10633
10633
 
10634
- Package Locator: npm+playwright-core$1.61.0
10634
+ Package Locator: npm+playwright-core$1.62.1
10635
10635
 
10636
10636
  Package Depth: Transitive
10637
10637
  --------------------------------------------------------------------------------
@@ -10641,7 +10641,7 @@ Apache-2.0
10641
10641
 
10642
10642
 
10643
10643
  * Other Licenses *
10644
- MIT, ISC, BSD-2-Clause, BSD-3-Clause
10644
+ MIT, ISC, BSD-2-Clause, BSD-3-Clause, blueoak-1.0.0, NCSA
10645
10645
 
10646
10646
 
10647
10647
  --------------------------------------------------------------------------------
@@ -13081,9 +13081,9 @@ MIT
13081
13081
 
13082
13082
 
13083
13083
  --------------------------------------------------------------------------------
13084
- Package Title: update-browserslist-db (1.2.3)
13084
+ Package Title: update-browserslist-db (1.3.0)
13085
13085
 
13086
- Package Locator: npm+update-browserslist-db$1.2.3
13086
+ Package Locator: npm+update-browserslist-db$1.3.0
13087
13087
 
13088
13088
  Package Depth: Transitive
13089
13089
  --------------------------------------------------------------------------------
@@ -25103,6 +25103,20 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25103
25103
  """
25104
25104
 
25105
25105
 
25106
+ * NCSA *
25107
+
25108
+ University of Illinois/NCSA Open Source License
25109
+ Copyright (c) <Year> <Owner Organization Name> . All rights reserved.
25110
+ Developed by:
25111
+ <Name of Development Group>
25112
+ <Name of Institution>
25113
+ <URL for Development Group/Institution>
25114
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal with the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
25115
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimers.
25116
+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimers in the documentation and/or other materials provided with the distribution.
25117
+ * Neither the names of <Name of Development Group, Name of Institution> , nor the names of its contributors may be used to endorse or promote products derived from this Software without specific prior written permission.
25118
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.
25119
+
25106
25120
  * MIT *
25107
25121
 
25108
25122
  Node.js is licensed for use as follows:
@@ -28537,7 +28551,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28537
28551
 
28538
28552
  The MIT License (MIT)
28539
28553
 
28540
- Copyright 2022 Andrey Sitnik <andrey@sitnik.ru> and other contributors
28554
+ Copyright 2022 Andrey Sitnik <andrey@sitnik.es> and other contributors
28541
28555
 
28542
28556
  Permission is hereby granted, free of charge, to any person obtaining a copy of
28543
28557
  this software and associated documentation files (the "Software"), to deal in
@@ -29220,6 +29234,64 @@ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
29220
29234
 
29221
29235
  \n\n UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE\n\n See Terms of Use for definitions of Unicode Inc.'s\n Data Files and Software.\n\n NOTICE TO USER: Carefully read the following legal agreement.\n BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S\n DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"),\n YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE\n TERMS AND CONDITIONS OF THIS AGREEMENT.\n IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE\n THE DATA FILES OR SOFTWARE.\n\n COPYRIGHT AND PERMISSION NOTICE\n\n Copyright © 1991-2020 Unicode, Inc. All rights reserved.\n Distributed under the Terms of Use in https://www.unicode.org/copyright.html.\n\n Permission is hereby granted, free of charge, to any person obtaining\n a copy of the Unicode data files and any associated documentation\n (the "Data Files") or Unicode software and any associated documentation\n (the "Software") to deal in the Data Files or Software\n without restriction, including without limitation the rights to use,\n copy, modify, merge, publish, distribute, and/or sell copies of\n the Data Files or Software, and to permit persons to whom the Data Files\n or Software are furnished to do so, provided that either\n (a) this copyright and permission notice appear with all copies\n of the Data Files or Software, or\n (b) this copyright and permission notice appear in associated\n Documentation.\n\n THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF\n ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE\n WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT OF THIRD PARTY RIGHTS.\n IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS\n NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL\n DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,\n DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER\n TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n PERFORMANCE OF THE DATA FILES OR SOFTWARE.\n\n Except as contained in this notice, the name of a copyright holder\n shall not be used in advertising or otherwise to promote the sale,\n use or other dealings in these Data Files or Software without prior\n written authorization of the copyright holder.\n\n
29222
29236
 
29237
+ * blueoak-1.0.0 *
29238
+
29239
+ # Blue Oak Model License
29240
+
29241
+ Version 1.0.0
29242
+
29243
+ ## Purpose
29244
+
29245
+ This license gives everyone as much permission to work with
29246
+ this software as possible, while protecting contributors
29247
+ from liability.
29248
+
29249
+ ## Acceptance
29250
+
29251
+ In order to receive this license, you must agree to its
29252
+ rules. The rules of this license are both obligations
29253
+ under that agreement and conditions to your license.
29254
+ You must not do anything with this software that triggers
29255
+ a rule that you cannot or will not follow.
29256
+
29257
+ ## Copyright
29258
+
29259
+ Each contributor licenses you to do everything with this
29260
+ software that would otherwise infringe that contributor's
29261
+ copyright in it.
29262
+
29263
+ ## Notices
29264
+
29265
+ You must ensure that everyone who gets a copy of
29266
+ any part of this software from you, with or without
29267
+ changes, also gets the text of this license or a link to
29268
+ <https://blueoakcouncil.org/license/1.0.0>.
29269
+
29270
+ ## Excuse
29271
+
29272
+ If anyone notifies you in writing that you have not
29273
+ complied with [Notices](#notices), you can keep your
29274
+ license by taking all practical steps to comply within 30
29275
+ days after the notice. If you do not do so, your license
29276
+ ends immediately.
29277
+
29278
+ ## Patent
29279
+
29280
+ Each contributor licenses you to do everything with this
29281
+ software that would otherwise infringe any patent claims
29282
+ they can license or become able to license.
29283
+
29284
+ ## Reliability
29285
+
29286
+ No contributor can revoke this license.
29287
+
29288
+ ## No Liability
29289
+
29290
+ ***As far as the law allows, this software comes as is,
29291
+ without any warranty or condition, and no contributor
29292
+ will be liable to anyone for any damages related to this
29293
+ software or this license, under any kind of legal claim.***
29294
+
29223
29295
  * MIT *
29224
29296
 
29225
29297
  jsonschema is licensed under MIT license.
@@ -29285,4 +29357,4 @@ POSSIBILITY OF SUCH DAMAGE.
29285
29357
  --------------------------------------------------------------------------------
29286
29358
  --------------------------------------------------------------------------------
29287
29359
 
29288
- Report Generated by FOSSA on 2026-8-7
29360
+ Report Generated by FOSSA on 2026-8-10
@@ -1,4 +1,4 @@
1
- export declare const LIB_VERSION = "11.52.0-alpha.3";
1
+ export declare const LIB_VERSION = "11.52.0-alpha.5";
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.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.52.0-alpha.3";
3
+ export const LIB_VERSION = "11.52.0-alpha.5";
4
4
  export const LIB_DESCRIPTION = "GoodData SDK - Dashboard Component";
5
5
  export const LIB_NAME = "@gooddata/sdk-ui-dashboard";
@@ -3,10 +3,10 @@ import { type FilterContextItem, type IAutomationMetadataObject, type IAutomatio
3
3
  import { type AlertAttribute, type AlertMetric } from "../../types.js";
4
4
  import { type IMeasureFormatMap } from "../utils/getters.js";
5
5
  /**
6
- * Props for {@link useAlertFilters}.
6
+ * Props for {@link useAlertFiltersModel}.
7
7
  * @internal
8
8
  */
9
- export interface IUseAlertFiltersProps {
9
+ export interface IUseAlertFiltersModelProps {
10
10
  setEditedAutomation: Dispatch<SetStateAction<IAutomationMetadataObjectDefinition | undefined>>;
11
11
  alertToEdit?: IAutomationMetadataObject;
12
12
  editedAutomationFilters: FilterContextItem[];
@@ -40,7 +40,7 @@ export interface IUseAlertFiltersProps {
40
40
  *
41
41
  * @internal
42
42
  */
43
- export declare function useAlertFilters({ setEditedAutomation, alertToEdit, editedAutomationFilters, setEditedAutomationFilters, availableFilters, filtersForNewAutomation, availableFiltersAsVisibleFilters, dashboardHiddenFilters, commonDateFilterId, widget, insight, supportedMeasures, supportedAttributes, measureFormatMap, selectedMeasure, selectedAttribute, selectedValue, weekStart, timezone }: IUseAlertFiltersProps): {
43
+ export declare function useAlertFiltersModel({ setEditedAutomation, alertToEdit, editedAutomationFilters, setEditedAutomationFilters, availableFilters, filtersForNewAutomation, availableFiltersAsVisibleFilters, dashboardHiddenFilters, commonDateFilterId, widget, insight, supportedMeasures, supportedAttributes, measureFormatMap, selectedMeasure, selectedAttribute, selectedValue, weekStart, timezone }: IUseAlertFiltersModelProps): {
44
44
  selectedFilters: FilterContextItem[];
45
45
  availableFilters: FilterContextItem[] | undefined;
46
46
  onFiltersChange: (filters: FilterContextItem[]) => void;
@@ -48,4 +48,4 @@ export declare function useAlertFilters({ setEditedAutomation, alertToEdit, edit
48
48
  automationIsValid: boolean;
49
49
  filtersAreStale: boolean;
50
50
  };
51
- //# sourceMappingURL=useAlertFilters.d.ts.map
51
+ //# sourceMappingURL=useAlertFiltersModel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAlertFiltersModel.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFiltersModel.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAe,MAAM,OAAO,CAAC;AAExE,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,SAAS,EACjB,MAAM,qBAAqB,CAAC;AAI7B,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,0BAA0B;IACvC,mBAAmB,EAAE,QAAQ,CAAC,cAAc,CAAC,mCAAmC,GAAG,SAAS,CAAC,CAAC,CAAC;IAC/F,WAAW,CAAC,EAAE,yBAAyB,CAAC;IACxC,uBAAuB,EAAE,iBAAiB,EAAE,CAAC;IAC7C,0BAA0B,EAAE,CA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AE,OAAO,CAAC;IAC3B,eAAe,EAAE,OAAO,CAAC;CAC5B,CAsGA"}
@@ -16,7 +16,7 @@ import { transformAlertByAttribute, transformAlertByMetric } from "../utils/tran
16
16
  *
17
17
  * @internal
18
18
  */
19
- export function useAlertFilters({ setEditedAutomation, alertToEdit, editedAutomationFilters, setEditedAutomationFilters, availableFilters, filtersForNewAutomation, availableFiltersAsVisibleFilters, dashboardHiddenFilters, commonDateFilterId, widget, insight, supportedMeasures, supportedAttributes, measureFormatMap, selectedMeasure, selectedAttribute, selectedValue, weekStart, timezone, }) {
19
+ export function useAlertFiltersModel({ setEditedAutomation, alertToEdit, editedAutomationFilters, setEditedAutomationFilters, availableFilters, filtersForNewAutomation, availableFiltersAsVisibleFilters, dashboardHiddenFilters, commonDateFilterId, widget, insight, supportedMeasures, supportedAttributes, measureFormatMap, selectedMeasure, selectedAttribute, selectedValue, weekStart, timezone, }) {
20
20
  const onFiltersChange = useCallback((filters) => {
21
21
  setEditedAutomationFilters(filters);
22
22
  setEditedAutomation((s) => {
@@ -1 +1 @@
1
- {"version":3,"file":"useAlertFormState.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFormState.ts"],"names":[],"mappings":"AAMA,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,QAAQ,EAEb,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,OAAO,EACf,MAAM,qBAAqB,CAAC;AAe7B,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,KAAK,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAEvG,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAY7D;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACpC,WAAW,CAAC,EAAE,yBAAyB,CAAC;IACxC,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,oBAAoB,EAAE,8BAA8B,EAAE,GAAG,kCAAkC,EAAE,CAAC;IAC9F,uBAAuB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC9C,gCAAgC,CAAC,EAAE,wBAAwB,EAAE,GAAG,SAAS,CAAC;IAC1E,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,iBAAiB,EAAE,WAAW,EAAE,CAAC;IACjC,mBAAmB,EAAE,cAAc,EAAE,CAAC;IACtC,gBAAgB,EAAE,iBAAiB,CAAC;CACvC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,EAC9B,WAAW,EACX,OAAO,EACP,MAAM,EACN,oBAAoB,EACpB,uBAAuB,EACvB,gCAAgC,EAChC,yBAAyB,EACzB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EACnB,EAAE,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiZzB"}
1
+ {"version":3,"file":"useAlertFormState.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFormState.ts"],"names":[],"mappings":"AAMA,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,QAAQ,EAEb,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,OAAO,EACf,MAAM,qBAAqB,CAAC;AAe7B,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,KAAK,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAEvG,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAY7D;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACpC,WAAW,CAAC,EAAE,yBAAyB,CAAC;IACxC,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,oBAAoB,EAAE,8BAA8B,EAAE,GAAG,kCAAkC,EAAE,CAAC;IAC9F,uBAAuB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC9C,gCAAgC,CAAC,EAAE,wBAAwB,EAAE,GAAG,SAAS,CAAC;IAC1E,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,iBAAiB,EAAE,WAAW,EAAE,CAAC;IACjC,mBAAmB,EAAE,cAAc,EAAE,CAAC;IACtC,gBAAgB,EAAE,iBAAiB,CAAC;CACvC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,EAC9B,WAAW,EACX,OAAO,EACP,MAAM,EACN,oBAAoB,EACpB,uBAAuB,EACvB,gCAAgC,EAChC,yBAAyB,EACzB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EACnB,EAAE,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwZzB"}
@@ -1,5 +1,5 @@
1
1
  // (C) 2026 GoodData Corporation
2
- import { useCallback, useState } from "react";
2
+ import { useCallback, useMemo, useState } from "react";
3
3
  import { useIntl } from "react-intl";
4
4
  import { useAlertingDialogContext } from "../../../contexts/AlertingDialogContext.js";
5
5
  import { useAutomationsContext } from "../../../contexts/AutomationsContext.js";
@@ -28,10 +28,10 @@ export function useAlertFormState({ alertToEdit, insight, widget, notificationCh
28
28
  const targetTabIdentifier = widget?.localIdentifier ? widgetTabMap[widget.localIdentifier] : undefined;
29
29
  // Default values
30
30
  const defaultMeasure = supportedMeasures[0];
31
- const defaultUser = convertUserToAutomationRecipient(currentUser);
32
- const defaultRecipient = externalRecipientOverride
31
+ const defaultUser = useMemo(() => convertUserToAutomationRecipient(currentUser), [currentUser]);
32
+ const defaultRecipient = useMemo(() => externalRecipientOverride
33
33
  ? convertExternalRecipientToAutomationRecipient(externalRecipientOverride)
34
- : convertUserToAutomationRecipient(currentUser);
34
+ : convertUserToAutomationRecipient(currentUser), [externalRecipientOverride, currentUser]);
35
35
  const defaultNotificationChannelId = notificationChannels[0]?.id;
36
36
  const resolvedAlertToEdit = (() => {
37
37
  if (!alertToEdit) {
@@ -84,10 +84,10 @@ export function useAlertFormState({ alertToEdit, insight, widget, notificationCh
84
84
  //
85
85
  // Handlers
86
86
  //
87
- const onTitleChange = (value, isValid) => {
87
+ const onTitleChange = useCallback((value, isValid) => {
88
88
  setIsTitleValid(isValid);
89
89
  setEditedAutomation((s) => (s ? { ...s, title: value } : undefined));
90
- };
90
+ }, [setEditedAutomation]);
91
91
  const onMeasureChange = useCallback((measure) => {
92
92
  setEditedAutomation((alert) => alert
93
93
  ? transformAlertByMetric(supportedMeasures, alert, measure, measureFormatMap, weekStart, timezone)
@@ -2,7 +2,7 @@
2
2
  import { useAlertingDialogContext } from "../../../contexts/AlertingDialogContext.js";
3
3
  import { useAutomationsContext } from "../../../contexts/AutomationsContext.js";
4
4
  import { useAutomationFiltersSelect } from "../../../shared/automationFilters/useAutomationFiltersSelect.js";
5
- import { useAlertFilters } from "./useAlertFilters.js";
5
+ import { useAlertFiltersModel } from "./useAlertFiltersModel.js";
6
6
  import { useAlertFormState } from "./useAlertFormState.js";
7
7
  import { useAlertFormValidation } from "./useAlertFormValidation.js";
8
8
  import { useAlertSelectedValues } from "./useAlertSelectedValues.js";
@@ -38,7 +38,7 @@ export function useEditAlert({ maxAutomationsRecipients, externalRecipientOverri
38
38
  // Kept whole rather than destructured: every member is re-exposed unchanged, so spreading it into
39
39
  // the return means a member can never be dropped by forgetting to re-list it. What the model may
40
40
  // contain is gated by its own shape test, not here.
41
- const filterModel = useAlertFilters({
41
+ const filterModel = useAlertFiltersModel({
42
42
  setEditedAutomation,
43
43
  alertToEdit,
44
44
  editedAutomationFilters,
@@ -87,7 +87,7 @@ export function useEditAlert({ maxAutomationsRecipients, externalRecipientOverri
87
87
  return {
88
88
  onTitleChange,
89
89
  onRecipientsChange,
90
- // Filter model, absorbed from `useAlertFilters`. Spread rather than re-listed so a member
90
+ // Filter model, absorbed from `useAlertFiltersModel`. Spread rather than re-listed so a member
91
91
  // cannot be dropped by omission; its `availableFilters` is the model's, not the raw
92
92
  // selection hook's.
93
93
  ...filterModel,
@@ -20,7 +20,7 @@ export function DashboardLoading(props) {
20
20
  // can tell the rendering has started even before any dashboard data is loaded.
21
21
  // The element is a hidden sibling (same as the gd-dashboard-meta export data),
22
22
  // so it cannot affect the layout of the loading indicator.
23
- return (_jsxs(_Fragment, { children: [exportData ? _jsx("div", { style: { display: "none" }, ...exportData }) : null, _jsx(LoadingComponent, {})
23
+ return (_jsxs(_Fragment, { children: [exportData ? _jsx("div", { style: { display: "none" }, ...exportData }) : null, _jsx(LoadingComponent, { className: "sdk-dashboard-loading s-loading" })
24
24
  ] }));
25
25
  }
26
26
  return _jsx(DashboardInner, { ...props });
@@ -1 +1 @@
1
- {"version":3,"file":"TimezoneOption.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardSettingsDialog/TimezoneOption.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAIhD,OAAO,EAAoB,KAAK,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAetF,UAAU,oBAAoB;IAC1B,KAAK,EAAE,SAAS,CAAC;IACjB,OAAO,EAAE,SAAS,CAAC;IACnB,cAAc,EAAE,wBAAwB,GAAG,SAAS,CAAC;IACrD,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;CACtD;AAED,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,EAAE,oBAAoB,2CAsDhG"}
1
+ {"version":3,"file":"TimezoneOption.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardSettingsDialog/TimezoneOption.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAIhD,OAAO,EAAoB,KAAK,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAWtF,UAAU,oBAAoB;IAC1B,KAAK,EAAE,SAAS,CAAC;IACjB,OAAO,EAAE,SAAS,CAAC;IACnB,cAAc,EAAE,wBAAwB,GAAG,SAAS,CAAC;IACrD,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;CACtD;AAED,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,EAAE,oBAAoB,2CA2DhG"}
@@ -3,31 +3,33 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { useMemo } from "react";
4
4
  import { useIntl } from "react-intl";
5
5
  import { BROWSER_DETECTED } from "@gooddata/sdk-model";
6
- import { Bubble, BubbleHoverTrigger, TimezoneSelect, getTimezoneDisplayLabel, } from "@gooddata/sdk-ui-kit";
7
- import { useDashboardSelector } from "../../model/react/DashboardStoreProvider.js";
8
- import { selectTimezone } from "../../model/store/config/configSelectors.js";
6
+ import { Bubble, BubbleHoverTrigger, TimezoneSelect, } from "@gooddata/sdk-ui-kit";
9
7
  const BUBBLE_ALIGN_POINTS = [{ align: "bc tl" }];
10
8
  export function TimezoneOption({ label, tooltip, timezoneConfig, onChange }) {
11
9
  const intl = useIntl();
12
- const workspaceTimezone = useDashboardSelector(selectTimezone);
13
- const workspaceTimezoneName = getTimezoneDisplayLabel(workspaceTimezone);
14
10
  const specialItems = useMemo(() => {
15
11
  const workspaceItemLabel = intl.formatMessage({
16
12
  id: "settingsDashboardDialog.section.timezone.defaultTimezone.workspace",
17
- }, { timezone: workspaceTimezoneName });
13
+ });
14
+ const workspaceItemTooltip = intl.formatMessage({
15
+ id: "settingsDashboardDialog.section.timezone.defaultTimezone.workspace.tooltip",
16
+ });
18
17
  const browserItemLabel = intl.formatMessage({
19
18
  id: "settingsDashboardDialog.section.timezone.defaultTimezone.fromBrowser",
20
19
  });
20
+ const browserItemTooltip = intl.formatMessage({
21
+ id: "settingsDashboardDialog.section.timezone.defaultTimezone.fromBrowser.tooltip",
22
+ });
21
23
  return [
22
- { id: undefined, label: workspaceItemLabel },
23
- { id: BROWSER_DETECTED, label: browserItemLabel },
24
+ { id: undefined, label: workspaceItemLabel, tooltip: workspaceItemTooltip },
25
+ { id: BROWSER_DETECTED, label: browserItemLabel, tooltip: browserItemTooltip },
24
26
  ];
25
- }, [intl, workspaceTimezoneName]);
27
+ }, [intl]);
26
28
  return (_jsxs("div", { className: "configuration-category-item", children: [
27
29
  _jsxs("span", { className: "input-label-text", children: [label, _jsxs(BubbleHoverTrigger, { showDelay: 0, hideDelay: 0, eventsOnBubble: true, className: "configuration-category-item-tooltip-icon", children: [
28
30
  _jsx("span", { className: "gd-icon-circle-question gd-filter-configuration__help-icon" }), _jsx(Bubble, { alignPoints: BUBBLE_ALIGN_POINTS, children: _jsx("div", { className: "gd-filter-configuration__help-tooltip", children: tooltip }) })
29
31
  ] })
30
- ] }), _jsx(TimezoneSelect, { value: timezoneConfig?.timezoneId, onChange: onChange, specialItems: specialItems, searchPlaceholder: intl.formatMessage({
32
+ ] }), _jsx(TimezoneSelect, { value: timezoneConfig?.timezoneId, showTooltip: true, onChange: onChange, specialItems: specialItems, searchPlaceholder: intl.formatMessage({
31
33
  id: "settingsDashboardDialog.section.timezone.select.searchPlaceholder",
32
34
  }), ariaLabel: intl.formatMessage({
33
35
  id: "settingsDashboardDialog.section.timezone.defaultTimezone",
@@ -447,10 +447,18 @@ export declare const en_US: {
447
447
  text: string;
448
448
  crowdinContext: string;
449
449
  };
450
+ "settingsDashboardDialog.section.timezone.defaultTimezone.workspace.tooltip": {
451
+ text: string;
452
+ crowdinContext: string;
453
+ };
450
454
  "settingsDashboardDialog.section.timezone.defaultTimezone.fromBrowser": {
451
455
  text: string;
452
456
  crowdinContext: string;
453
457
  };
458
+ "settingsDashboardDialog.section.timezone.defaultTimezone.fromBrowser.tooltip": {
459
+ text: string;
460
+ crowdinContext: string;
461
+ };
454
462
  "settingsDashboardDialog.section.timezone.allowUserOverride.toggle": {
455
463
  text: string;
456
464
  crowdinContext: string;
@@ -1 +1 @@
1
- {"version":3,"file":"en-US.localization-bundle.d.ts","sourceRoot":"","sources":["../../../../src/presentation/localization/bundles/en-US.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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1
+ {"version":3,"file":"en-US.localization-bundle.d.ts","sourceRoot":"","sources":["../../../../src/presentation/localization/bundles/en-US.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6/GjB,CAAC"}
@@ -438,21 +438,29 @@ export const en_US = {
438
438
  "crowdinContext": "Section title for time zone settings in the dashboard settings dialog"
439
439
  },
440
440
  "settingsDashboardDialog.section.timezone.defaultTimezone": {
441
- "text": "Default time zone",
441
+ "text": "Dashboard time zone",
442
442
  "crowdinContext": "Label of the default time zone picker in the dashboard settings dialog"
443
443
  },
444
444
  "settingsDashboardDialog.section.timezone.defaultTimezone.tooltip": {
445
- "text": "Time zone used to evaluate date filters and display dates on this dashboard.",
445
+ "text": "Time zone used for date filters and date values on this dashboard.",
446
446
  "crowdinContext": "Tooltip of the default time zone picker in the dashboard settings dialog"
447
447
  },
448
448
  "settingsDashboardDialog.section.timezone.defaultTimezone.workspace": {
449
- "text": "Workspace default ({timezone})",
450
- "crowdinContext": "Time zone picker item meaning the workspace default time zone is used. The {timezone} placeholder shows the effective workspace or organization time zone."
449
+ "text": "Default",
450
+ "crowdinContext": "Time zone picker item meaning the workspace default time zone is used."
451
+ },
452
+ "settingsDashboardDialog.section.timezone.defaultTimezone.workspace.tooltip": {
453
+ "text": "Follows the time zone set for your organization, workspace, or user account. It updates automatically if that setting changes.",
454
+ "crowdinContext": "Tooltip of the default time zone picker item in the dashboard settings dialog"
451
455
  },
452
456
  "settingsDashboardDialog.section.timezone.defaultTimezone.fromBrowser": {
453
- "text": "User local time (Browser-detected)",
457
+ "text": "Device time zone",
454
458
  "crowdinContext": "Time zone picker item meaning the time zone is detected from the viewer's browser."
455
459
  },
460
+ "settingsDashboardDialog.section.timezone.defaultTimezone.fromBrowser.tooltip": {
461
+ "text": "Uses the time zone reported by the viewer's browser. Can differ for each viewer.",
462
+ "crowdinContext": "Tooltip of the device time zone picker item in the dashboard settings dialog"
463
+ },
456
464
  "settingsDashboardDialog.section.timezone.allowUserOverride.toggle": {
457
465
  "text": "Allow users to change the dashboard time zone",
458
466
  "crowdinContext": "Toggle allowing dashboard consumers to change the time zone in view mode"
@@ -482,19 +490,19 @@ export const en_US = {
482
490
  "crowdinContext": "Title of the dialog for temporarily changing the dashboard time zone in view mode"
483
491
  },
484
492
  "timezoneDialog.description": {
485
- "text": "<b>Note:</b> Time zone resets to the default ({timezone}) when you reload the page.",
486
- "crowdinContext": "Note in the dialog for temporarily changing the dashboard time zone in view mode. The {timezone} placeholder is the dashboard's default time zone (friendly name, e.g. 'Prague'). The <b> tags wrap the 'Note:' label."
493
+ "text": "<b>Note:</b> Time zone resets to the default when you reload the page.",
494
+ "crowdinContext": "Note in the dialog for temporarily changing the dashboard time zone in view mode. The <b> tags wrap the 'Note:' label."
487
495
  },
488
496
  "timezoneDialog.description.ariaLabel": {
489
497
  "text": "Change timezone dialog information message",
490
498
  "crowdinContext": "Aria label for the change timezone dialog information message"
491
499
  },
492
500
  "timezoneDialog.default": {
493
- "text": "Default ({timezone})",
494
- "crowdinContext": "Time zone picker item meaning the dashboard's configured time zone is used. The {timezone} placeholder shows the configured time zone."
501
+ "text": "Default",
502
+ "crowdinContext": "Time zone picker item meaning the dashboard's configured time zone is used."
495
503
  },
496
504
  "timezoneDialog.fromBrowser": {
497
- "text": "My local time ({timezone})",
505
+ "text": "Device time zone ({timezone})",
498
506
  "crowdinContext": "Time zone picker item meaning the time zone is detected from the viewer's browser. The {timezone} placeholder shows the detected time zone."
499
507
  },
500
508
  "timezoneDialog.select.searchPlaceholder": {
@@ -1 +1 @@
1
- {"version":3,"file":"TimezoneDialog.d.ts","sourceRoot":"","sources":["../../../src/presentation/timezoneDialog/TimezoneDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAgD,MAAM,OAAO,CAAC;AAsBxF;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,IAAI,YAAY,GAAG,IAAI,CAsGpD"}
1
+ {"version":3,"file":"TimezoneDialog.d.ts","sourceRoot":"","sources":["../../../src/presentation/timezoneDialog/TimezoneDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAgD,MAAM,OAAO,CAAC;AAsBxF;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,IAAI,YAAY,GAAG,IAAI,CAiGpD"}
@@ -36,9 +36,8 @@ export function TimezoneDialog() {
36
36
  // timezone so the Default item, description note, and current-time preview share the same
37
37
  // concrete ID.
38
38
  const defaultTimezoneId = resolveTimezoneId(timezoneConfig?.timezoneId) ?? workspaceTimezone;
39
- const defaultTimezoneName = defaultTimezoneId ? getTimezoneDisplayLabel(defaultTimezoneId) : undefined;
40
39
  const specialItems = useMemo(() => {
41
- const defaultItemLabel = intl.formatMessage({ id: "timezoneDialog.default" }, { timezone: defaultTimezoneName });
40
+ const defaultItemLabel = intl.formatMessage({ id: "timezoneDialog.default" });
42
41
  // plain ID here — the label template already brackets the value, so the "id (offset)"
43
42
  // display label would produce nested brackets
44
43
  const browserTimezoneId = Intl.DateTimeFormat().resolvedOptions().timeZone;
@@ -48,7 +47,7 @@ export function TimezoneDialog() {
48
47
  { id: undefined, label: defaultItemLabel },
49
48
  { id: BROWSER_DETECTED, label: browserItemLabel },
50
49
  ];
51
- }, [intl, defaultTimezoneName]);
50
+ }, [intl]);
52
51
  useEffect(() => {
53
52
  const timezoneId = resolveTimezoneId(selected) ?? defaultTimezoneId;
54
53
  if (timezoneId) {
@@ -74,7 +73,6 @@ export function TimezoneDialog() {
74
73
  id: "timezoneDialog.select.searchPlaceholder",
75
74
  }), ariaLabel: intl.formatMessage({ id: "timezoneDialog.title" }), noMatchLabel: intl.formatMessage({ id: "timezoneDialog.select.noMatch" }) }), currentTimeOfTimezone ? (_jsx("span", { className: "gd-timezone-dialog-current-time", children: intl.formatMessage({ id: "timezoneDialog.currentTime" }, { time: currentTimeOfTimezone }) })) : null] }), _jsx(Message, { type: "progress", className: "gd-timezone-dialog-description s-timezone-dialog-description", children: _jsx("span", { "aria-label": intl.formatMessage({ id: "timezoneDialog.description.ariaLabel" }), children: _jsx(FormattedMessage, { id: "timezoneDialog.description", values: {
76
75
  b: (chunks) => _jsx("strong", { children: chunks }),
77
- timezone: defaultTimezoneName,
78
76
  } }) }) })
79
77
  ] }));
80
78
  }