@gooddata/sdk-ui-analytical-designer 11.69.0-alpha.3 → 11.69.0-alpha.4

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 (68) hide show
  1. package/NOTICE +45 -45
  2. package/esm/backend.d.ts +15 -1
  3. package/esm/backend.d.ts.map +1 -1
  4. package/esm/backend.js +26 -2
  5. package/esm/components/Report.d.ts +3 -1
  6. package/esm/components/Report.d.ts.map +1 -1
  7. package/esm/components/Report.js +13 -4
  8. package/esm/components/report/executionProgress/ExecutionProgressPanel.d.ts +12 -0
  9. package/esm/components/report/executionProgress/ExecutionProgressPanel.d.ts.map +1 -0
  10. package/esm/components/report/executionProgress/ExecutionProgressPanel.js +157 -0
  11. package/esm/components/report/executionProgress/ExecutionProgressSteps.d.ts +17 -0
  12. package/esm/components/report/executionProgress/ExecutionProgressSteps.d.ts.map +1 -0
  13. package/esm/components/report/executionProgress/ExecutionProgressSteps.js +122 -0
  14. package/esm/components/report/executionProgress/ExecutionStats.d.ts +10 -0
  15. package/esm/components/report/executionProgress/ExecutionStats.d.ts.map +1 -0
  16. package/esm/components/report/executionProgress/ExecutionStats.js +105 -0
  17. package/esm/components/report/executionProgress/timeline.d.ts +34 -0
  18. package/esm/components/report/executionProgress/timeline.d.ts.map +1 -0
  19. package/esm/components/report/executionProgress/timeline.js +51 -0
  20. package/esm/reducers/combined_root_reducer.d.ts +3 -0
  21. package/esm/reducers/combined_root_reducer.d.ts.map +1 -1
  22. package/esm/reducers/combined_root_reducer.js +2 -0
  23. package/esm/sagas/sagas.d.ts.map +1 -1
  24. package/esm/sagas/sagas.js +4 -0
  25. package/esm/selectors/feature_flag_selector.d.ts +23 -2
  26. package/esm/selectors/feature_flag_selector.d.ts.map +1 -1
  27. package/esm/selectors/feature_flag_selector.js +2 -0
  28. package/esm/selectors/report_visualization_selector.d.ts +4 -0
  29. package/esm/selectors/report_visualization_selector.d.ts.map +1 -1
  30. package/esm/services/buckets_service.d.ts +1 -0
  31. package/esm/services/buckets_service.d.ts.map +1 -1
  32. package/esm/store/execution_progress/execution_loading_view_model.d.ts +72 -0
  33. package/esm/store/execution_progress/execution_loading_view_model.d.ts.map +1 -0
  34. package/esm/store/execution_progress/execution_loading_view_model.js +122 -0
  35. package/esm/store/execution_progress/execution_progress_actions.d.ts +42 -0
  36. package/esm/store/execution_progress/execution_progress_actions.d.ts.map +1 -0
  37. package/esm/store/execution_progress/execution_progress_actions.js +19 -0
  38. package/esm/store/execution_progress/execution_progress_mock.d.ts +31 -0
  39. package/esm/store/execution_progress/execution_progress_mock.d.ts.map +1 -0
  40. package/esm/store/execution_progress/execution_progress_mock.js +458 -0
  41. package/esm/store/execution_progress/execution_progress_saga.d.ts +56 -0
  42. package/esm/store/execution_progress/execution_progress_saga.d.ts.map +1 -0
  43. package/esm/store/execution_progress/execution_progress_saga.js +226 -0
  44. package/esm/store/execution_progress/execution_progress_selectors.d.ts +66 -0
  45. package/esm/store/execution_progress/execution_progress_selectors.d.ts.map +1 -0
  46. package/esm/store/execution_progress/execution_progress_selectors.js +7 -0
  47. package/esm/store/execution_progress/execution_progress_slice.d.ts +4 -0
  48. package/esm/store/execution_progress/execution_progress_slice.d.ts.map +1 -0
  49. package/esm/store/execution_progress/execution_progress_slice.js +95 -0
  50. package/esm/store/execution_progress/execution_progress_state.d.ts +54 -0
  51. package/esm/store/execution_progress/execution_progress_state.d.ts.map +1 -0
  52. package/esm/store/execution_progress/execution_progress_state.js +12 -0
  53. package/esm/store/execution_progress/execution_progress_view_model.d.ts +136 -0
  54. package/esm/store/execution_progress/execution_progress_view_model.d.ts.map +1 -0
  55. package/esm/store/execution_progress/execution_progress_view_model.js +378 -0
  56. package/esm/store/execution_progress/execution_stats_view_model.d.ts +42 -0
  57. package/esm/store/execution_progress/execution_stats_view_model.d.ts.map +1 -0
  58. package/esm/store/execution_progress/execution_stats_view_model.js +51 -0
  59. package/esm/store/types.d.ts +3 -0
  60. package/esm/store/types.d.ts.map +1 -1
  61. package/esm/translations/en-US.json +180 -0
  62. package/package.json +21 -21
  63. package/styles/css/execution_progress.css +486 -0
  64. package/styles/css/execution_progress.css.map +1 -0
  65. package/styles/css/main.css +485 -0
  66. package/styles/css/main.css.map +1 -1
  67. package/styles/scss/_ad_partials.scss +1 -0
  68. package/styles/scss/execution_progress.scss +547 -0
package/NOTICE CHANGED
@@ -3,7 +3,7 @@ Copyright (c) 2017-2026 GoodData Corporation
3
3
  This product includes a number of subcomponents with separate copyright notices and license terms below. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license. This GoodData project does not necessarily use all the open source software referred to below and may also only use portions of a given package. With respect to the open source software listed in this document, if you (i) have any questions, (ii) wish to receive source code for packages under licenses that require their source code to be made available (such as the GNU Lesser Public License), or (iii) discover any errors or omissions in the licensing information provided, please contact us at legal@gooddata.com. Please identify in source code requests: (i) the packages for which you are requesting corresponding source, (ii) the GoodData product (including any available version) with which the package was provided; and (iii) an email address (if available) or postal address at which GoodData may contact you.
4
4
 
5
5
  --------------------------------------------------------------------------------
6
- Attribution Notice for @gooddata/sdk-ui-analytical-designer (11.69.0-alpha.3)
6
+ Attribution Notice for @gooddata/sdk-ui-analytical-designer (11.69.0-alpha.4)
7
7
  Package License: LicenseRef-LICENSE
8
8
  Own License File: LICENSE
9
9
  Date generated: 2026-11-16
@@ -19,28 +19,28 @@ change those terms.
19
19
  Dependencies
20
20
 
21
21
  Local GoodData SDK components
22
- - @gooddata/api-client-tiger (11.69.0-alpha.3) [MIT] — Transitive
23
- - @gooddata/sdk-backend-base (11.69.0-alpha.3) [MIT] — Direct
24
- - @gooddata/sdk-backend-spi (11.69.0-alpha.3) [MIT] — Direct
25
- - @gooddata/sdk-backend-tiger (11.69.0-alpha.3) [MIT] — Direct
26
- - @gooddata/sdk-code-convertors (11.69.0-alpha.3) [MIT] — Transitive
27
- - @gooddata/sdk-code-schemas (11.69.0-alpha.3) [MIT] — Transitive
28
- - @gooddata/sdk-embedding (11.69.0-alpha.3) [MIT] — Direct
29
- - @gooddata/sdk-maql-language-server (11.69.0-alpha.3) [MIT] — Transitive
30
- - @gooddata/sdk-model (11.69.0-alpha.3) [MIT] — Direct
31
- - @gooddata/sdk-pluggable-application-model (11.69.0-alpha.3) [MIT] — Direct
32
- - @gooddata/sdk-ui (11.69.0-alpha.3) [MIT] — Direct
33
- - @gooddata/sdk-ui-charts (11.69.0-alpha.3) [LicenseRef-LICENSE] — Transitive
34
- - @gooddata/sdk-ui-ext (11.69.0-alpha.3) [LicenseRef-LICENSE] — Direct
35
- - @gooddata/sdk-ui-filters (11.69.0-alpha.3) [MIT] — Direct
36
- - @gooddata/sdk-ui-geo (11.69.0-alpha.3) [LicenseRef-LICENSE] — Transitive
37
- - @gooddata/sdk-ui-kit (11.69.0-alpha.3) [MIT] — Direct
38
- - @gooddata/sdk-ui-metric-component (11.69.0-alpha.3) [LicenseRef-LICENSE] — Direct
39
- - @gooddata/sdk-ui-pivot (11.69.0-alpha.3) [LicenseRef-LICENSE] — Direct
40
- - @gooddata/sdk-ui-semantic-search (11.69.0-alpha.3) [MIT] — Direct
41
- - @gooddata/sdk-ui-theme-provider (11.69.0-alpha.3) [MIT] — Direct
42
- - @gooddata/sdk-ui-vis-commons (11.69.0-alpha.3) [MIT] — Transitive
43
- - @gooddata/util (11.69.0-alpha.3) [MIT] — Direct
22
+ - @gooddata/api-client-tiger (11.69.0-alpha.4) [MIT] — Transitive
23
+ - @gooddata/sdk-backend-base (11.69.0-alpha.4) [MIT] — Direct
24
+ - @gooddata/sdk-backend-spi (11.69.0-alpha.4) [MIT] — Direct
25
+ - @gooddata/sdk-backend-tiger (11.69.0-alpha.4) [MIT] — Direct
26
+ - @gooddata/sdk-code-convertors (11.69.0-alpha.4) [MIT] — Transitive
27
+ - @gooddata/sdk-code-schemas (11.69.0-alpha.4) [MIT] — Transitive
28
+ - @gooddata/sdk-embedding (11.69.0-alpha.4) [MIT] — Direct
29
+ - @gooddata/sdk-maql-language-server (11.69.0-alpha.4) [MIT] — Transitive
30
+ - @gooddata/sdk-model (11.69.0-alpha.4) [MIT] — Direct
31
+ - @gooddata/sdk-pluggable-application-model (11.69.0-alpha.4) [MIT] — Direct
32
+ - @gooddata/sdk-ui (11.69.0-alpha.4) [MIT] — Direct
33
+ - @gooddata/sdk-ui-charts (11.69.0-alpha.4) [LicenseRef-LICENSE] — Transitive
34
+ - @gooddata/sdk-ui-ext (11.69.0-alpha.4) [LicenseRef-LICENSE] — Direct
35
+ - @gooddata/sdk-ui-filters (11.69.0-alpha.4) [MIT] — Direct
36
+ - @gooddata/sdk-ui-geo (11.69.0-alpha.4) [LicenseRef-LICENSE] — Transitive
37
+ - @gooddata/sdk-ui-kit (11.69.0-alpha.4) [MIT] — Direct
38
+ - @gooddata/sdk-ui-metric-component (11.69.0-alpha.4) [LicenseRef-LICENSE] — Direct
39
+ - @gooddata/sdk-ui-pivot (11.69.0-alpha.4) [LicenseRef-LICENSE] — Direct
40
+ - @gooddata/sdk-ui-semantic-search (11.69.0-alpha.4) [MIT] — Direct
41
+ - @gooddata/sdk-ui-theme-provider (11.69.0-alpha.4) [MIT] — Direct
42
+ - @gooddata/sdk-ui-vis-commons (11.69.0-alpha.4) [MIT] — Transitive
43
+ - @gooddata/util (11.69.0-alpha.4) [MIT] — Direct
44
44
 
45
45
  External components
46
46
  - @aaronhayes/react-use-hubspot-form (2.1.2) [MIT] — Transitive
@@ -479,7 +479,7 @@ Local GoodData SDK components
479
479
  ================================================================================
480
480
 
481
481
  --------------------------------------------------------------------------------
482
- Package Title: @gooddata/api-client-tiger (11.69.0-alpha.3)
482
+ Package Title: @gooddata/api-client-tiger (11.69.0-alpha.4)
483
483
  Package Source: Local workspace
484
484
  Package Depth: Transitive
485
485
  --------------------------------------------------------------------------------
@@ -497,7 +497,7 @@ The above copyright notice and this permission notice shall be included in all c
497
497
  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 AUTHORS 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 IN THE SOFTWARE.
498
498
 
499
499
  --------------------------------------------------------------------------------
500
- Package Title: @gooddata/sdk-backend-base (11.69.0-alpha.3)
500
+ Package Title: @gooddata/sdk-backend-base (11.69.0-alpha.4)
501
501
  Package Source: Local workspace
502
502
  Package Depth: Direct
503
503
  --------------------------------------------------------------------------------
@@ -515,7 +515,7 @@ The above copyright notice and this permission notice shall be included in all c
515
515
  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 AUTHORS 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 IN THE SOFTWARE.
516
516
 
517
517
  --------------------------------------------------------------------------------
518
- Package Title: @gooddata/sdk-backend-spi (11.69.0-alpha.3)
518
+ Package Title: @gooddata/sdk-backend-spi (11.69.0-alpha.4)
519
519
  Package Source: Local workspace
520
520
  Package Depth: Direct
521
521
  --------------------------------------------------------------------------------
@@ -533,7 +533,7 @@ The above copyright notice and this permission notice shall be included in all c
533
533
  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 AUTHORS 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 IN THE SOFTWARE.
534
534
 
535
535
  --------------------------------------------------------------------------------
536
- Package Title: @gooddata/sdk-backend-tiger (11.69.0-alpha.3)
536
+ Package Title: @gooddata/sdk-backend-tiger (11.69.0-alpha.4)
537
537
  Package Source: Local workspace
538
538
  Package Depth: Direct
539
539
  --------------------------------------------------------------------------------
@@ -551,7 +551,7 @@ The above copyright notice and this permission notice shall be included in all c
551
551
  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 AUTHORS 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 IN THE SOFTWARE.
552
552
 
553
553
  --------------------------------------------------------------------------------
554
- Package Title: @gooddata/sdk-code-convertors (11.69.0-alpha.3)
554
+ Package Title: @gooddata/sdk-code-convertors (11.69.0-alpha.4)
555
555
  Package Source: Local workspace
556
556
  Package Depth: Transitive
557
557
  --------------------------------------------------------------------------------
@@ -569,7 +569,7 @@ The above copyright notice and this permission notice shall be included in all c
569
569
  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 AUTHORS 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 IN THE SOFTWARE.
570
570
 
571
571
  --------------------------------------------------------------------------------
572
- Package Title: @gooddata/sdk-code-schemas (11.69.0-alpha.3)
572
+ Package Title: @gooddata/sdk-code-schemas (11.69.0-alpha.4)
573
573
  Package Source: Local workspace
574
574
  Package Depth: Transitive
575
575
  --------------------------------------------------------------------------------
@@ -599,7 +599,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
599
599
  SOFTWARE.
600
600
 
601
601
  --------------------------------------------------------------------------------
602
- Package Title: @gooddata/sdk-embedding (11.69.0-alpha.3)
602
+ Package Title: @gooddata/sdk-embedding (11.69.0-alpha.4)
603
603
  Package Source: Local workspace
604
604
  Package Depth: Direct
605
605
  --------------------------------------------------------------------------------
@@ -617,7 +617,7 @@ The above copyright notice and this permission notice shall be included in all c
617
617
  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 AUTHORS 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 IN THE SOFTWARE.
618
618
 
619
619
  --------------------------------------------------------------------------------
620
- Package Title: @gooddata/sdk-maql-language-server (11.69.0-alpha.3)
620
+ Package Title: @gooddata/sdk-maql-language-server (11.69.0-alpha.4)
621
621
  Package Source: Local workspace
622
622
  Package Depth: Transitive
623
623
  --------------------------------------------------------------------------------
@@ -635,7 +635,7 @@ The above copyright notice and this permission notice shall be included in all c
635
635
  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 AUTHORS 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 IN THE SOFTWARE.
636
636
 
637
637
  --------------------------------------------------------------------------------
638
- Package Title: @gooddata/sdk-model (11.69.0-alpha.3)
638
+ Package Title: @gooddata/sdk-model (11.69.0-alpha.4)
639
639
  Package Source: Local workspace
640
640
  Package Depth: Direct
641
641
  --------------------------------------------------------------------------------
@@ -653,7 +653,7 @@ The above copyright notice and this permission notice shall be included in all c
653
653
  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 AUTHORS 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 IN THE SOFTWARE.
654
654
 
655
655
  --------------------------------------------------------------------------------
656
- Package Title: @gooddata/sdk-pluggable-application-model (11.69.0-alpha.3)
656
+ Package Title: @gooddata/sdk-pluggable-application-model (11.69.0-alpha.4)
657
657
  Package Source: Local workspace
658
658
  Package Depth: Direct
659
659
  --------------------------------------------------------------------------------
@@ -683,7 +683,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
683
683
  SOFTWARE.
684
684
 
685
685
  --------------------------------------------------------------------------------
686
- Package Title: @gooddata/sdk-ui (11.69.0-alpha.3)
686
+ Package Title: @gooddata/sdk-ui (11.69.0-alpha.4)
687
687
  Package Source: Local workspace
688
688
  Package Depth: Direct
689
689
  --------------------------------------------------------------------------------
@@ -701,7 +701,7 @@ The above copyright notice and this permission notice shall be included in all c
701
701
  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 AUTHORS 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 IN THE SOFTWARE.
702
702
 
703
703
  --------------------------------------------------------------------------------
704
- Package Title: @gooddata/sdk-ui-charts (11.69.0-alpha.3)
704
+ Package Title: @gooddata/sdk-ui-charts (11.69.0-alpha.4)
705
705
  Package Source: Local workspace
706
706
  Package Depth: Transitive
707
707
  --------------------------------------------------------------------------------
@@ -741,7 +741,7 @@ THE FOREGOING LIMITATIONS SHALL APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICA
741
741
  10. Governing Law These terms are governed by the laws of the State of California and the United States of America without regard to conflict of laws principles. You may not assign any part of this Agreement without the prior written consent of GoodData. Any attempted assignment without consent shall be void. These terms constitute the entire agreement between you and GoodData with respect to the Library and supersede all prior written or oral communications, understandings and agreements. Any waiver of these terms must be in writing to be effective. If any provision of these terms is found to be invalid or unenforceable, the remaining terms will continue to be valid and enforceable to the fullest extent permitted by law.
742
742
 
743
743
  --------------------------------------------------------------------------------
744
- Package Title: @gooddata/sdk-ui-ext (11.69.0-alpha.3)
744
+ Package Title: @gooddata/sdk-ui-ext (11.69.0-alpha.4)
745
745
  Package Source: Local workspace
746
746
  Package Depth: Direct
747
747
  --------------------------------------------------------------------------------
@@ -781,7 +781,7 @@ THE FOREGOING LIMITATIONS SHALL APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICA
781
781
  10. Governing Law These terms are governed by the laws of the State of California and the United States of America without regard to conflict of laws principles. You may not assign any part of this Agreement without the prior written consent of GoodData. Any attempted assignment without consent shall be void. These terms constitute the entire agreement between you and GoodData with respect to the Library and supersede all prior written or oral communications, understandings and agreements. Any waiver of these terms must be in writing to be effective. If any provision of these terms is found to be invalid or unenforceable, the remaining terms will continue to be valid and enforceable to the fullest extent permitted by law.
782
782
 
783
783
  --------------------------------------------------------------------------------
784
- Package Title: @gooddata/sdk-ui-filters (11.69.0-alpha.3)
784
+ Package Title: @gooddata/sdk-ui-filters (11.69.0-alpha.4)
785
785
  Package Source: Local workspace
786
786
  Package Depth: Direct
787
787
  --------------------------------------------------------------------------------
@@ -799,7 +799,7 @@ The above copyright notice and this permission notice shall be included in all c
799
799
  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 AUTHORS 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 IN THE SOFTWARE.
800
800
 
801
801
  --------------------------------------------------------------------------------
802
- Package Title: @gooddata/sdk-ui-geo (11.69.0-alpha.3)
802
+ Package Title: @gooddata/sdk-ui-geo (11.69.0-alpha.4)
803
803
  Package Source: Local workspace
804
804
  Package Depth: Transitive
805
805
  --------------------------------------------------------------------------------
@@ -839,7 +839,7 @@ THE FOREGOING LIMITATIONS SHALL APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICA
839
839
  10. Governing Law These terms are governed by the laws of the State of California and the United States of America without regard to conflict of laws principles. You may not assign any part of this Agreement without the prior written consent of GoodData. Any attempted assignment without consent shall be void. These terms constitute the entire agreement between you and GoodData with respect to the Library and supersede all prior written or oral communications, understandings and agreements. Any waiver of these terms must be in writing to be effective. If any provision of these terms is found to be invalid or unenforceable, the remaining terms will continue to be valid and enforceable to the fullest extent permitted by law.
840
840
 
841
841
  --------------------------------------------------------------------------------
842
- Package Title: @gooddata/sdk-ui-kit (11.69.0-alpha.3)
842
+ Package Title: @gooddata/sdk-ui-kit (11.69.0-alpha.4)
843
843
  Package Source: Local workspace
844
844
  Package Depth: Direct
845
845
  --------------------------------------------------------------------------------
@@ -857,7 +857,7 @@ The above copyright notice and this permission notice shall be included in all c
857
857
  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 AUTHORS 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 IN THE SOFTWARE.
858
858
 
859
859
  --------------------------------------------------------------------------------
860
- Package Title: @gooddata/sdk-ui-metric-component (11.69.0-alpha.3)
860
+ Package Title: @gooddata/sdk-ui-metric-component (11.69.0-alpha.4)
861
861
  Package Source: Local workspace
862
862
  Package Depth: Direct
863
863
  --------------------------------------------------------------------------------
@@ -897,7 +897,7 @@ THE FOREGOING LIMITATIONS SHALL APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICA
897
897
  10. Governing Law These terms are governed by the laws of the State of California and the United States of America without regard to conflict of laws principles. You may not assign any part of this Agreement without the prior written consent of GoodData. Any attempted assignment without consent shall be void. These terms constitute the entire agreement between you and GoodData with respect to the Library and supersede all prior written or oral communications, understandings and agreements. Any waiver of these terms must be in writing to be effective. If any provision of these terms is found to be invalid or unenforceable, the remaining terms will continue to be valid and enforceable to the fullest extent permitted by law.
898
898
 
899
899
  --------------------------------------------------------------------------------
900
- Package Title: @gooddata/sdk-ui-pivot (11.69.0-alpha.3)
900
+ Package Title: @gooddata/sdk-ui-pivot (11.69.0-alpha.4)
901
901
  Package Source: Local workspace
902
902
  Package Depth: Direct
903
903
  --------------------------------------------------------------------------------
@@ -937,7 +937,7 @@ THE FOREGOING LIMITATIONS SHALL APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICA
937
937
  10. Governing Law These terms are governed by the laws of the State of California and the United States of America without regard to conflict of laws principles. You may not assign any part of this Agreement without the prior written consent of GoodData. Any attempted assignment without consent shall be void. These terms constitute the entire agreement between you and GoodData with respect to the Library and supersede all prior written or oral communications, understandings and agreements. Any waiver of these terms must be in writing to be effective. If any provision of these terms is found to be invalid or unenforceable, the remaining terms will continue to be valid and enforceable to the fullest extent permitted by law.
938
938
 
939
939
  --------------------------------------------------------------------------------
940
- Package Title: @gooddata/sdk-ui-semantic-search (11.69.0-alpha.3)
940
+ Package Title: @gooddata/sdk-ui-semantic-search (11.69.0-alpha.4)
941
941
  Package Source: Local workspace
942
942
  Package Depth: Direct
943
943
  --------------------------------------------------------------------------------
@@ -955,7 +955,7 @@ The above copyright notice and this permission notice shall be included in all c
955
955
  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 AUTHORS 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 IN THE SOFTWARE.
956
956
 
957
957
  --------------------------------------------------------------------------------
958
- Package Title: @gooddata/sdk-ui-theme-provider (11.69.0-alpha.3)
958
+ Package Title: @gooddata/sdk-ui-theme-provider (11.69.0-alpha.4)
959
959
  Package Source: Local workspace
960
960
  Package Depth: Direct
961
961
  --------------------------------------------------------------------------------
@@ -973,7 +973,7 @@ The above copyright notice and this permission notice shall be included in all c
973
973
  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 AUTHORS 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 IN THE SOFTWARE.
974
974
 
975
975
  --------------------------------------------------------------------------------
976
- Package Title: @gooddata/sdk-ui-vis-commons (11.69.0-alpha.3)
976
+ Package Title: @gooddata/sdk-ui-vis-commons (11.69.0-alpha.4)
977
977
  Package Source: Local workspace
978
978
  Package Depth: Transitive
979
979
  --------------------------------------------------------------------------------
@@ -991,7 +991,7 @@ The above copyright notice and this permission notice shall be included in all c
991
991
  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 AUTHORS 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 IN THE SOFTWARE.
992
992
 
993
993
  --------------------------------------------------------------------------------
994
- Package Title: @gooddata/util (11.69.0-alpha.3)
994
+ Package Title: @gooddata/util (11.69.0-alpha.4)
995
995
  Package Source: Local workspace
996
996
  Package Depth: Direct
997
997
  --------------------------------------------------------------------------------
package/esm/backend.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type IAnalyticalBackend } from "@gooddata/sdk-backend-spi";
1
+ import { type IAnalyticalBackend, type IExecutionResult } from "@gooddata/sdk-backend-spi";
2
2
  import { type IExecutionDefinition } from "@gooddata/sdk-model";
3
3
  export type ApiTokenType = "gooddata" | "jwt";
4
4
  export interface IApiToken {
@@ -12,6 +12,19 @@ export declare let setApiTokenHandler: IAdHostBackend["setApiToken"];
12
12
  export declare let clearCache: () => void;
13
13
  export declare let resetCatalogs: () => void;
14
14
  export declare let explainExecDef: IExecutionDefinition;
15
+ /**
16
+ * A successful execute call of AD's backend: the execution result plus the client time it
17
+ * resolved. Feeds the live execution progress (store/execution_progress).
18
+ */
19
+ export interface IExecutedResult {
20
+ result: IExecutionResult;
21
+ executedAt: number;
22
+ }
23
+ type ExecutedResultListener = (executed: IExecutedResult) => void;
24
+ /** Subscribes to the execute calls of AD's backend; returns the unsubscribe function. */
25
+ export declare const subscribeToExecutedResults: (listener: ExecutedResultListener) => (() => void);
26
+ /** The latest execute call, for a subscriber that may have subscribed just after it resolved. */
27
+ export declare const getLastExecutedResult: () => IExecutedResult | undefined;
15
28
  export declare let backend: IAnalyticalBackend;
16
29
  /**
17
30
  * The backend of the host application AD runs against. See adoptHostBackend.
@@ -47,4 +60,5 @@ export interface IAdHostBackend {
47
60
  export declare const adoptHostBackend: (host: IAdHostBackend) => void;
48
61
  /** Drops the adopted host backend; the backend is uninitialized again until the next adoption. */
49
62
  export declare const resetBackend: () => void;
63
+ export {};
50
64
  //# sourceMappingURL=backend.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"backend.d.ts","sourceRoot":"","sources":["../src/backend.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAgBhE,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,KAAK,CAAC;AAE9C,MAAM,WAAW,SAAS;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,0CAA0C,CAAC,EAAE,MAAM,CAAC;CACvD;AAED,eAAO,MAAM,mBAAmB,UAAW,YAAY,2CACQ,CAAC;AAIhE,eAAO,IAAI,aAAa,EAAE,cAAc,CAAC,QAAQ,CAAa,CAAC;AAI/D,eAAO,IAAI,kBAAkB,EAAE,cAAc,CAAC,aAAa,CAAa,CAAC;AAEzE,eAAO,IAAI,UAAU,EAAE,MAAM,IAAW,CAAC;AACzC,eAAO,IAAI,aAAa,EAAE,MAAM,IAAW,CAAC;AAC5C,eAAO,IAAI,cAAc,EAAE,oBAAoB,CAAC;AAwBhD,eAAO,IAAI,OAAO,EAAE,kBAAiD,CAAC;AAEtE;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B;;;OAGG;IACH,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,mFAAmF;IACnF,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,6FAA6F;IAC7F,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B;;;;;OAKG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,0CAA0C;IAC1C,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,0CAA0C,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACvF;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,SAAU,cAAc,KAAG,IAMvD,CAAC;AAEF,kGAAkG;AAClG,eAAO,MAAM,YAAY,QAAO,IAM/B,CAAC"}
1
+ {"version":3,"file":"backend.d.ts","sourceRoot":"","sources":["../src/backend.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE3F,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAgBhE,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,KAAK,CAAC;AAE9C,MAAM,WAAW,SAAS;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,0CAA0C,CAAC,EAAE,MAAM,CAAC;CACvD;AAED,eAAO,MAAM,mBAAmB,UAAW,YAAY,2CACQ,CAAC;AAIhE,eAAO,IAAI,aAAa,EAAE,cAAc,CAAC,QAAQ,CAAa,CAAC;AAI/D,eAAO,IAAI,kBAAkB,EAAE,cAAc,CAAC,aAAa,CAAa,CAAC;AAEzE,eAAO,IAAI,UAAU,EAAE,MAAM,IAAW,CAAC;AACzC,eAAO,IAAI,aAAa,EAAE,MAAM,IAAW,CAAC;AAC5C,eAAO,IAAI,cAAc,EAAE,oBAAoB,CAAC;AAEhD;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC5B,MAAM,EAAE,gBAAgB,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,KAAK,sBAAsB,GAAG,CAAC,QAAQ,EAAE,eAAe,KAAK,IAAI,CAAC;AAKlE,yFAAyF;AACzF,eAAO,MAAM,0BAA0B,aAAc,sBAAsB,KAAG,CAAC,MAAM,IAAI,CAKxF,CAAC;AAEF,iGAAiG;AACjG,eAAO,MAAM,qBAAqB,QAAO,eAAe,GAAG,SAA+B,CAAC;AAmC3F,eAAO,IAAI,OAAO,EAAE,kBAAiD,CAAC;AAEtE;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B;;;OAGG;IACH,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,mFAAmF;IACnF,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,6FAA6F;IAC7F,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B;;;;;OAKG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,0CAA0C;IAC1C,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,0CAA0C,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACvF;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,SAAU,cAAc,KAAG,IAOvD,CAAC;AAEF,kGAAkG;AAClG,eAAO,MAAM,YAAY,QAAO,IAQ/B,CAAC"}
package/esm/backend.js CHANGED
@@ -21,10 +21,31 @@ export let setApiTokenHandler = undefined;
21
21
  export let clearCache = noop;
22
22
  export let resetCatalogs = noop;
23
23
  export let explainExecDef;
24
- const withExplainEventing = (backend) => withEventing(backend, {
24
+ const executedResultListeners = new Set();
25
+ let lastExecutedResult;
26
+ /** Subscribes to the execute calls of AD's backend; returns the unsubscribe function. */
27
+ export const subscribeToExecutedResults = (listener) => {
28
+ executedResultListeners.add(listener);
29
+ return () => {
30
+ executedResultListeners.delete(listener);
31
+ };
32
+ };
33
+ /** The latest execute call, for a subscriber that may have subscribed just after it resolved. */
34
+ export const getLastExecutedResult = () => lastExecutedResult;
35
+ /** bumped on every adoption and reset, so a late execute of a previous backend is not reported */
36
+ let backendGeneration = 0;
37
+ const withExplainEventing = (backend, generation) => withEventing(backend, {
25
38
  beforeExecute: (execDefinition) => {
26
39
  explainExecDef = execDefinition;
27
40
  },
41
+ successfulExecute: (result) => {
42
+ if (generation !== backendGeneration) {
43
+ return;
44
+ }
45
+ const executed = { result, executedAt: Date.now() };
46
+ lastExecutedResult = executed;
47
+ executedResultListeners.forEach((listener) => listener(executed));
48
+ },
28
49
  });
29
50
  /**
30
51
  * The backend before a host backend is adopted. Only the capabilities are readable: they are
@@ -49,7 +70,8 @@ export let backend = createUninitializedBackend();
49
70
  * instance. The token renewals AD receives (SetApiToken) go to the host's setters when given.
50
71
  */
51
72
  export const adoptHostBackend = (host) => {
52
- backend = withExplainEventing(wrapWithSemanticCfSimulation(host.instance));
73
+ backendGeneration += 1;
74
+ backend = withExplainEventing(wrapWithSemanticCfSimulation(host.instance), backendGeneration);
53
75
  clearCache = host.resetAllCaches ?? noop;
54
76
  resetCatalogs = host.resetCatalogs ?? noop;
55
77
  setApiTokenHandler = host.setApiToken;
@@ -57,7 +79,9 @@ export const adoptHostBackend = (host) => {
57
79
  };
58
80
  /** Drops the adopted host backend; the backend is uninitialized again until the next adoption. */
59
81
  export const resetBackend = () => {
82
+ backendGeneration += 1;
60
83
  backend = createUninitializedBackend();
84
+ lastExecutedResult = undefined;
61
85
  clearCache = noop;
62
86
  resetCatalogs = noop;
63
87
  setApiTokenHandler = undefined;
@@ -26,8 +26,10 @@ export interface IReportProps {
26
26
  hasReportLoadingError?: boolean;
27
27
  customError?: IExtendedRefPointCustomError | null;
28
28
  messages?: Record<string, string>;
29
+ /** replaces the computing spinner with the live execution progress */
30
+ isExecutionProgressEnabled?: boolean;
29
31
  }
30
- export declare const ReportBase: import("react").MemoExoticComponent<({ projectId, appSessionId, messages, isSmallScreen, isExecutionRunning, isReportNotFound, reportNotFoundMissingItems, isReportTooLargeToCompute, isReportTooLargeToDisplay, isInvalidConfiguration, isReportWithFiltersEmpty, isReportWithoutFiltersEmpty, isBadRequest, isReportProtected, isMissingLocation, isMissingArea, isMissingMetric, isMissingColumns, isExecutable, isComputingShortcut, isNoMetricSupported, hasNegativeValue, unsupportedConfiguration, hasReportLoadingError, customError, }: IReportProps) => import("react/jsx-runtime").JSX.Element>;
32
+ export declare const ReportBase: import("react").MemoExoticComponent<({ projectId, appSessionId, messages, isSmallScreen, isExecutionRunning, isReportNotFound, reportNotFoundMissingItems, isReportTooLargeToCompute, isReportTooLargeToDisplay, isInvalidConfiguration, isReportWithFiltersEmpty, isReportWithoutFiltersEmpty, isBadRequest, isReportProtected, isMissingLocation, isMissingArea, isMissingMetric, isMissingColumns, isExecutable, isComputingShortcut, isNoMetricSupported, hasNegativeValue, unsupportedConfiguration, hasReportLoadingError, customError, isExecutionProgressEnabled, }: IReportProps) => import("react/jsx-runtime").JSX.Element>;
31
33
  export declare function Report({ isSmallScreen }: {
32
34
  isSmallScreen: boolean;
33
35
  }): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"Report.d.ts","sourceRoot":"","sources":["../../src/components/Report.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,4BAA4B,EAAE,MAAM,4DAA4D,CAAC;AAC/G,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAoBnE,MAAM,WAAW,YAAY;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,0BAA0B,CAAC,EAAE,aAAa,CAAC,sBAAsB,CAAC,CAAC;IACnE,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,WAAW,CAAC,EAAE,4BAA4B,GAAG,IAAI,CAAC;IAClD,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACrC;AAED,eAAO,MAAM,UAAU,mhBA0BpB,YAAY,6CA2Db,CAAC;AAEH,wBAAgB,MAAM,CAAC,EAAE,aAAa,EAAE,EAAE;IAAE,aAAa,EAAE,OAAO,CAAA;CAAE,2CAInE"}
1
+ {"version":3,"file":"Report.d.ts","sourceRoot":"","sources":["../../src/components/Report.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,4BAA4B,EAAE,MAAM,4DAA4D,CAAC;AAC/G,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAsBnE,MAAM,WAAW,YAAY;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,0BAA0B,CAAC,EAAE,aAAa,CAAC,sBAAsB,CAAC,CAAC;IACnE,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,WAAW,CAAC,EAAE,4BAA4B,GAAG,IAAI,CAAC;IAClD,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,sEAAsE;IACtE,0BAA0B,CAAC,EAAE,OAAO,CAAC;CACxC;AAED,eAAO,MAAM,UAAU,+iBA2BpB,YAAY,6CAwEb,CAAC;AAEH,wBAAgB,MAAM,CAAC,EAAE,aAAa,EAAE,EAAE;IAAE,aAAa,EAAE,OAAO,CAAA;CAAE,2CAWnE"}
@@ -1,9 +1,12 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  // (C) 2007-2026 GoodData Corporation
3
3
  import { memo } from "react";
4
4
  import classNames from "classnames";
5
5
  import { useSelector } from "react-redux";
6
+ import { isExecutionProgressEnabled } from "../selectors/feature_flag_selector.js";
6
7
  import { reportSelector } from "../selectors/report_selector.js";
8
+ import { ExecutionProgressPanel } from "./report/executionProgress/ExecutionProgressPanel.js";
9
+ import { ExecutionStats } from "./report/executionProgress/ExecutionStats.js";
7
10
  import { ReportBlank } from "./report/ReportBlank.js";
8
11
  import { ReportComputing } from "./report/ReportComputing.js";
9
12
  import { ReportCustomError } from "./report/ReportCustomError.js";
@@ -21,7 +24,7 @@ import { ReportTooLargeToDisplay } from "./report/ReportTooLargeToDisplay.js";
21
24
  import { ReportUnsupportedConfiguration } from "./report/ReportUnsupportedConfiguration.js";
22
25
  import { ReportVisualization } from "./report/ReportVisualization.js";
23
26
  import { WorkspaceEmpty } from "./report/WorkspaceEmpty.js";
24
- export const ReportBase = memo(function Report({ projectId = null, appSessionId, messages = {}, isSmallScreen = false, isExecutionRunning = false, isReportNotFound = false, reportNotFoundMissingItems, isReportTooLargeToCompute = false, isReportTooLargeToDisplay = false, isInvalidConfiguration = false, isReportWithFiltersEmpty = false, isReportWithoutFiltersEmpty = false, isBadRequest = false, isReportProtected = false, isMissingLocation = false, isMissingArea = false, isMissingMetric = false, isMissingColumns = false, isExecutable = false, isComputingShortcut = false, isNoMetricSupported, hasNegativeValue = false, unsupportedConfiguration = false, hasReportLoadingError = false, customError = null, }) {
27
+ export const ReportBase = memo(function Report({ projectId = null, appSessionId, messages = {}, isSmallScreen = false, isExecutionRunning = false, isReportNotFound = false, reportNotFoundMissingItems, isReportTooLargeToCompute = false, isReportTooLargeToDisplay = false, isInvalidConfiguration = false, isReportWithFiltersEmpty = false, isReportWithoutFiltersEmpty = false, isBadRequest = false, isReportProtected = false, isMissingLocation = false, isMissingArea = false, isMissingMetric = false, isMissingColumns = false, isExecutable = false, isComputingShortcut = false, isNoMetricSupported, hasNegativeValue = false, unsupportedConfiguration = false, hasReportLoadingError = false, customError = null, isExecutionProgressEnabled = false, }) {
25
28
  const getReportErrorComponent = () => {
26
29
  if (hasReportLoadingError) {
27
30
  return ReportBlank; // we do not render specific error for now, only red toast message
@@ -79,10 +82,16 @@ export const ReportBase = memo(function Report({ projectId = null, appSessionId,
79
82
  const ErrorComponent = getReportErrorComponent();
80
83
  const className = classNames({
81
84
  "invisible-report-visualization": ErrorComponent !== null,
85
+ "adi-execution-stats-enabled": isExecutionProgressEnabled,
82
86
  });
83
- return (_jsxs("div", { className: className, children: [ErrorComponent === ReportNotFound ? (_jsx(ReportNotFound, { missingItems: reportNotFoundMissingItems })) : ErrorComponent === null ? null : (_jsx(ErrorComponent, { isSmallScreen: isSmallScreen })), _jsx(ReportVisualization, { projectId: projectId, appSessionId: appSessionId, messages: messages }, appSessionId)] }));
87
+ // The progress panel takes the spinner's place while the report executes. It stays mounted
88
+ // whatever the outcome is (visualization, empty or error state), and overlays it for a moment
89
+ // after the execution settled so the final progress is readable; it renders nothing otherwise.
90
+ const replacesSpinner = isExecutionProgressEnabled && ErrorComponent === ReportComputing && isExecutionRunning;
91
+ return (_jsxs("div", { className: className, children: [isExecutionProgressEnabled ? (_jsxs(_Fragment, { children: [_jsx(ExecutionProgressPanel, { isExecutionRunning: isExecutionRunning }), isExecutable ? _jsx(ExecutionStats, { isExecutionRunning: isExecutionRunning }) : null] })) : null, replacesSpinner ? null : ErrorComponent === ReportNotFound ? (_jsx(ReportNotFound, { missingItems: reportNotFoundMissingItems })) : ErrorComponent === null ? null : (_jsx(ErrorComponent, { isSmallScreen: isSmallScreen })), _jsx(ReportVisualization, { projectId: projectId, appSessionId: appSessionId, messages: messages }, appSessionId)] }));
84
92
  });
85
93
  export function Report({ isSmallScreen }) {
86
94
  const reportProps = useSelector(reportSelector);
87
- return _jsx(ReportBase, { ...reportProps, isSmallScreen: isSmallScreen });
95
+ const executionProgressEnabled = useSelector(isExecutionProgressEnabled);
96
+ return (_jsx(ReportBase, { ...reportProps, isSmallScreen: isSmallScreen, isExecutionProgressEnabled: executionProgressEnabled }));
88
97
  }
@@ -0,0 +1,12 @@
1
+ export interface IExecutionProgressPanelProps {
2
+ isExecutionRunning: boolean;
3
+ }
4
+ /**
5
+ * The loading view of the report execution, in place of the computing spinner: the "Rendering
6
+ * visualisation" header, with the sub-steps appended below it (revealed one by one) when the data comes
7
+ * from the data source. Falls back to the spinner when no progress arrives.
8
+ *
9
+ * Everything sits in one fixed-width box, so the block keeps its place while the text changes.
10
+ */
11
+ export declare function ExecutionProgressPanel({ isExecutionRunning }: IExecutionProgressPanelProps): import("react/jsx-runtime").JSX.Element | null;
12
+ //# sourceMappingURL=ExecutionProgressPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutionProgressPanel.d.ts","sourceRoot":"","sources":["../../../../src/components/report/executionProgress/ExecutionProgressPanel.tsx"],"names":[],"mappings":"AA4CA,MAAM,WAAW,4BAA4B;IACzC,kBAAkB,EAAE,OAAO,CAAC;CAC/B;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,kBAAkB,EAAE,EAAE,4BAA4B,kDA8C1F"}
@@ -0,0 +1,157 @@
1
+ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ // (C) 2026 GoodData Corporation
3
+ import { useEffect, useMemo, useState } from "react";
4
+ import classNames from "classnames";
5
+ import { useIntl } from "react-intl";
6
+ import { useSelector } from "react-redux";
7
+ import { UiAiThinkingIcon, UiIconButton } from "@gooddata/sdk-ui-kit";
8
+ import { advanceStepReveal, buildExecutionLoadingViewModel, initialStepRevealState, loadingStepDuration, nextStepRevealAt, revealedLoadingSteps, } from "../../../store/execution_progress/execution_loading_view_model.js";
9
+ import { getExecutionProgressViewModel } from "../../../store/execution_progress/execution_progress_selectors.js";
10
+ import { ReportComputing } from "../ReportComputing.js";
11
+ import { dataSourceLabel } from "./ExecutionProgressSteps.js";
12
+ import { computeGanttBars } from "./timeline.js";
13
+ /** no progress event by then: the generic spinner is shown instead */
14
+ const NO_EVENT_FALLBACK_MS = 1500;
15
+ /** the stream may lag behind a settled report execution at most this long */
16
+ const MAX_STREAM_LAG_MS = 10_000;
17
+ const TICK_MS = 250;
18
+ function useNow(enabled) {
19
+ const [now, setNow] = useState(() => Date.now());
20
+ useEffect(() => {
21
+ if (!enabled) {
22
+ return undefined;
23
+ }
24
+ setNow(Date.now());
25
+ const timer = setInterval(() => setNow(Date.now()), TICK_MS);
26
+ return () => clearInterval(timer);
27
+ }, [enabled]);
28
+ return now;
29
+ }
30
+ /**
31
+ * The loading view of the report execution, in place of the computing spinner: the "Rendering
32
+ * visualisation" header, with the sub-steps appended below it (revealed one by one) when the data comes
33
+ * from the data source. Falls back to the spinner when no progress arrives.
34
+ *
35
+ * Everything sits in one fixed-width box, so the block keeps its place while the text changes.
36
+ */
37
+ export function ExecutionProgressPanel({ isExecutionRunning }) {
38
+ const viewModel = useSelector(getExecutionProgressViewModel);
39
+ // the view follows a stream that lags behind the settled report (e.g. a mocked stream); a
40
+ // finished stream closes it at once — there is no hold after the finish
41
+ const streamLagging = !viewModel.unavailable &&
42
+ viewModel.hasEvents &&
43
+ (viewModel.phase === "running" || viewModel.phase === "waiting") &&
44
+ viewModel.reportFinishedAt !== undefined &&
45
+ Date.now() - viewModel.reportFinishedAt < MAX_STREAM_LAG_MS;
46
+ const active = isExecutionRunning || streamLagging;
47
+ const now = useNow(active);
48
+ // the view re-renders on every tick; the steps change only with the progress
49
+ const loading = useMemo(() => buildExecutionLoadingViewModel(viewModel), [viewModel]);
50
+ if (!active) {
51
+ return null;
52
+ }
53
+ const showsProgress = viewModel.source === "browserCache" ||
54
+ viewModel.hasEvents ||
55
+ (!viewModel.unavailable &&
56
+ (viewModel.reportStartedAt === undefined ||
57
+ now - viewModel.reportStartedAt < NO_EVENT_FALLBACK_MS));
58
+ if (!showsProgress) {
59
+ return isExecutionRunning ? _jsx(ReportComputing, {}) : null;
60
+ }
61
+ return (_jsx("div", { className: "adi-execution-progress s-execution-progress", "data-phase": viewModel.phase, "data-mode": loading.mode, "data-cache-hit": viewModel.cacheHit || viewModel.source === "browserCache" ? "true" : undefined, children: _jsx("div", { className: "adi-execution-progress-box", children: _jsx(LoadingSteps, { steps: loading.steps, serverNow: now - viewModel.clockOffsetMs }, viewModel.reportStartedAt ?? "none") }) }));
62
+ }
63
+ const COLLAPSED_STORAGE_KEY = "adi-execution-progress-collapsed";
64
+ function readCollapsed() {
65
+ try {
66
+ return window.localStorage?.getItem(COLLAPSED_STORAGE_KEY) === "true";
67
+ }
68
+ catch {
69
+ return false;
70
+ }
71
+ }
72
+ function writeCollapsed(collapsed) {
73
+ try {
74
+ window.localStorage?.setItem(COLLAPSED_STORAGE_KEY, String(collapsed));
75
+ }
76
+ catch {
77
+ // a convenience only: without storage the state is not remembered
78
+ }
79
+ }
80
+ /**
81
+ * The persistent "Rendering visualisation" header with the animated sparkle and, once there are
82
+ * sub-steps, the collapse toggle; below it the sub-steps revealed so far in chronological order, at
83
+ * least STEP_REVEAL_GAP_MS apart even when they started together.
84
+ */
85
+ function LoadingSteps({ steps, serverNow }) {
86
+ const intl = useIntl();
87
+ const [reveal, setReveal] = useState(initialStepRevealState);
88
+ const [collapsed, setCollapsed] = useState(readCollapsed);
89
+ const started = steps.length;
90
+ useEffect(() => {
91
+ const dueAt = nextStepRevealAt(reveal, started);
92
+ if (dueAt === undefined) {
93
+ return undefined;
94
+ }
95
+ const timer = setTimeout(() => setReveal((current) => advanceStepReveal(current, started, Date.now())), Math.max(0, dueAt - Date.now()));
96
+ return () => clearTimeout(timer);
97
+ }, [reveal, started]);
98
+ const shown = revealedLoadingSteps(steps, Math.min(reveal.revealed, started));
99
+ const header = intl.formatMessage({ id: "executionProgress.loading.render" });
100
+ const toggleLabel = collapsed
101
+ ? intl.formatMessage({ id: "executionProgress.toggle.expand" })
102
+ : intl.formatMessage({ id: "executionProgress.toggle.collapse" });
103
+ const toggle = () => {
104
+ setCollapsed(!collapsed);
105
+ writeCollapsed(!collapsed);
106
+ };
107
+ // only the step transitions are announced, not the ticking durations or the toggle
108
+ const latest = shown[shown.length - 1];
109
+ const announcement = latest ? loadingStepLabel(intl, latest) : header;
110
+ return (_jsxs(_Fragment, { children: [_jsx("span", { className: "sr-only", role: "status", "aria-live": "polite", children: announcement }), _jsxs("div", { className: "adi-execution-progress-header s-execution-progress-header", children: [_jsx("span", { className: "adi-execution-progress-step-marker", children: _jsx(UiAiThinkingIcon, {}) }), _jsx("span", { className: "adi-execution-progress-header-label", title: header, children: header }), shown.length > 0 ? (_jsx("span", { className: "adi-execution-progress-toggle", children: _jsx(UiIconButton, { icon: collapsed ? "chevronDown" : "chevronUp", size: "medium", variant: "tertiary", label: toggleLabel, onClick: toggle, dataTestId: "s-execution-progress-toggle", ariaAttributes: { role: "button", "aria-expanded": !collapsed } }) })) : null] }), shown.length > 0 && !collapsed ? (_jsx("ol", { className: "adi-execution-progress-list s-execution-progress-list", children: shown.map((step) => (_jsx(LoadingStep, { step: step, serverNow: serverNow }, step.kind))) })) : null] }));
111
+ }
112
+ function LoadingStep({ step, serverNow }) {
113
+ const intl = useIntl();
114
+ const duration = loadingStepDuration(step, serverNow);
115
+ const label = loadingStepLabel(intl, step);
116
+ return (_jsxs("li", { className: classNames("adi-execution-progress-step", "s-execution-progress-step", `s-execution-progress-step-${step.kind}`, `is-${step.state}`), "data-step": step.kind, "data-state": step.state, children: [_jsxs("div", { className: "adi-execution-progress-step-row", children: [_jsx("span", { className: "adi-execution-progress-step-marker", "aria-hidden": "true", children: _jsx("span", { className: "adi-execution-progress-dot" }) }), _jsx("span", { className: "adi-execution-progress-step-label", title: label, children: label }), _jsx("span", { className: "adi-execution-progress-step-duration s-execution-progress-step-duration", children: duration ?? "" })] }), step.kind === "query" && step.sources && step.sources.length > 1 ? (_jsx(LoadingSources, { step: step, serverNow: serverNow })) : null] }));
117
+ }
118
+ function loadingStepLabel(intl, step) {
119
+ switch (step.kind) {
120
+ case "cache":
121
+ return intl.formatMessage({ id: "executionProgress.loading.cache" });
122
+ case "prepare":
123
+ return intl.formatMessage({ id: "executionProgress.loading.prepare" });
124
+ case "query":
125
+ return step.dataSourceId && !(step.sources && step.sources.length > 1)
126
+ ? intl.formatMessage({ id: "executionProgress.loading.query.dataSource" }, { dataSource: dataSourceLabel(step.dataSourceId, step.dataSourceName) })
127
+ : intl.formatMessage({ id: "executionProgress.loading.query" });
128
+ case "render":
129
+ return intl.formatMessage({ id: "executionProgress.loading.render" });
130
+ default:
131
+ return "";
132
+ }
133
+ }
134
+ /** the federated data sources: one row each, the slowest highlighted */
135
+ function LoadingSources({ step, serverNow }) {
136
+ const intl = useIntl();
137
+ const sources = step.sources ?? [];
138
+ const spanStart = step.startedAt ?? serverNow;
139
+ const spanEnd = step.finishedAt ?? serverNow;
140
+ const bars = new Map(computeGanttBars(sources.map((source) => ({
141
+ id: source.resultId,
142
+ startedAt: source.startedAt,
143
+ finishedAt: source.finishedAt,
144
+ })), spanStart, spanEnd).map((bar) => [bar.id, bar]));
145
+ const slowest = sources.find((source) => source.resultId === step.slowestSourceResultId);
146
+ const waitingOn = step.state === "running" && slowest?.dataSourceId
147
+ ? intl.formatMessage({ id: "executionProgress.waitingOn" }, { dataSource: dataSourceLabel(slowest.dataSourceId, slowest.dataSourceName) })
148
+ : undefined;
149
+ return (_jsxs("div", { className: "adi-execution-progress-federation", children: [waitingOn ? (_jsx("div", { className: "adi-execution-progress-waiting s-execution-progress-waiting", title: waitingOn, children: waitingOn })) : null, _jsx("ul", { className: "adi-execution-progress-sources", children: sources.map((source) => {
150
+ const bar = bars.get(source.resultId);
151
+ const duration = loadingStepDuration(source, serverNow);
152
+ const name = source.dataSourceId
153
+ ? dataSourceLabel(source.dataSourceId, source.dataSourceName)
154
+ : source.resultId;
155
+ return (_jsxs("li", { className: classNames("adi-execution-progress-source", "s-execution-progress-source", `is-${source.state}`, { "is-slowest": source.resultId === step.slowestSourceResultId }), "data-data-source": source.dataSourceId, "data-state": source.state, children: [_jsx("span", { className: "adi-execution-progress-source-name", title: name, children: name }), _jsx("span", { className: "adi-execution-progress-source-track", children: bar ? (_jsx("span", { className: "adi-execution-progress-source-bar", style: { left: `${bar.offsetPct}%`, width: `${bar.widthPct}%` } })) : null }), _jsx("span", { className: "adi-execution-progress-source-duration", children: duration ?? "" })] }, source.resultId));
156
+ }) })] }));
157
+ }
@@ -0,0 +1,17 @@
1
+ import { type ExecutionCacheSaving, type IExecutionProgressStepViewModel } from "../../../store/execution_progress/execution_progress_view_model.js";
2
+ /** the largest whole unit of a time span in the past, e.g. [-2, "hour"] */
3
+ export declare function toRelativeTime(agoMs: number): [number, Intl.RelativeTimeFormatUnit];
4
+ export declare function ExecutionProgressSteps({ steps, serverNow, }: {
5
+ steps: IExecutionProgressStepViewModel[];
6
+ serverNow: number;
7
+ }): import("react/jsx-runtime").JSX.Element;
8
+ /** the display name of a data source; its id when the backend could not resolve the name */
9
+ export declare function dataSourceLabel(dataSourceId: string, dataSourceName?: string): string;
10
+ /** the original end-to-end time; "~" when it ends before the post-processing */
11
+ export declare function formatOriginalTotal(totalDurationMs: number, approximate?: boolean): string;
12
+ /** what a cache hit saved: the time when it is meaningful, otherwise the queries not run */
13
+ export declare function CacheSaving({ saving, className }: {
14
+ saving: ExecutionCacheSaving;
15
+ className: string;
16
+ }): import("react/jsx-runtime").JSX.Element;
17
+ //# sourceMappingURL=ExecutionProgressSteps.d.ts.map