@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
@@ -0,0 +1,547 @@
1
+ // (C) 2026 GoodData Corporation
2
+ @use "@gooddata/sdk-ui-kit/styles/scss/variables" as kit-variables;
3
+
4
+ // The loading view of the report execution, in place of the .adi-computing spinner
5
+ // (components/report/executionProgress/ExecutionProgressPanel.tsx): one line, or the steps newest
6
+ // first. The detailed step list below (.adi-execution-progress-steps …) is the stats popover's.
7
+ .adi-execution-progress {
8
+ position: absolute;
9
+ top: 0;
10
+ right: 0;
11
+ bottom: 0;
12
+ left: 0;
13
+ z-index: 1;
14
+ display: flex;
15
+ justify-content: center;
16
+ align-items: flex-start;
17
+ overflow: auto;
18
+ overscroll-behavior: contain;
19
+ padding: 80px 16px 0;
20
+ // Figma: Avenir Roman 14 px, complementary-7
21
+ font-family: kit-variables.$gd-font-primary;
22
+ font-size: 14px;
23
+ font-weight: 400;
24
+ line-height: 19px;
25
+ color: kit-variables.$gd-medium-gray;
26
+ background-color: kit-variables.$gd-color-white;
27
+
28
+ // Figma frames 2305:1888 / 2336:2201: one fixed 280 px box, centred, its text left-aligned — the
29
+ // block keeps its place while the sub-steps are appended
30
+ .adi-execution-progress-box {
31
+ flex: 0 0 auto;
32
+ box-sizing: border-box;
33
+ width: 280px;
34
+ max-width: 100%;
35
+ text-align: left;
36
+ }
37
+
38
+ // the persistent "Rendering visualisation" header: sparkle, label, collapse toggle (27 px)
39
+ .adi-execution-progress-header {
40
+ display: flex;
41
+ align-items: center;
42
+ gap: 10px;
43
+ min-height: 27px;
44
+ padding: 5px 0 10px;
45
+ }
46
+
47
+ .adi-execution-progress-header-label {
48
+ flex: 1 1 auto;
49
+ min-width: 0;
50
+ overflow: hidden;
51
+ text-overflow: ellipsis;
52
+ white-space: nowrap;
53
+ }
54
+
55
+ .adi-execution-progress-toggle {
56
+ display: inline-flex;
57
+ flex: 0 0 auto;
58
+ }
59
+
60
+ // the sub-steps, appended below the header; a dot each on one vertical line (frame 2336:2209)
61
+ .adi-execution-progress-list {
62
+ position: relative;
63
+ display: flex;
64
+ flex-direction: column;
65
+ gap: 10px;
66
+ margin: 0;
67
+ padding: 0;
68
+ list-style: none;
69
+
70
+ &::before {
71
+ content: "";
72
+ position: absolute;
73
+ top: 0;
74
+ bottom: 0;
75
+ left: 8.5px;
76
+ width: 1px;
77
+ background-color: kit-variables.$gd-border-color;
78
+ }
79
+ }
80
+
81
+ .adi-execution-progress-step {
82
+ position: relative;
83
+ animation: adi-execution-progress-reveal 180ms ease-out;
84
+
85
+ @media (prefers-reduced-motion: reduce) {
86
+ animation: none;
87
+ }
88
+
89
+ &.is-failed {
90
+ color: kit-variables.$gd-palette-error-base;
91
+ }
92
+ }
93
+
94
+ .adi-execution-progress-step-row {
95
+ display: flex;
96
+ align-items: center;
97
+ gap: 5px;
98
+ }
99
+
100
+ .adi-execution-progress-step-marker {
101
+ position: relative;
102
+ z-index: 1;
103
+ display: inline-flex;
104
+ flex: 0 0 auto;
105
+ justify-content: center;
106
+ align-items: center;
107
+ width: 18px;
108
+ height: 19px;
109
+ }
110
+
111
+ .adi-execution-progress-dot {
112
+ width: 6px;
113
+ height: 6px;
114
+ border-radius: 50%;
115
+ background-color: kit-variables.$gd-color-state-blank;
116
+ }
117
+
118
+ .is-failed .adi-execution-progress-dot {
119
+ background-color: kit-variables.$gd-palette-error-base;
120
+ }
121
+
122
+ .adi-execution-progress-step-label {
123
+ flex: 1 1 auto;
124
+ min-width: 0;
125
+ overflow: hidden;
126
+ text-overflow: ellipsis;
127
+ white-space: nowrap;
128
+ }
129
+
130
+ // the durations, an experiment kept quiet: Figma "Copy Small" 12/17 px, complementary-5, in a
131
+ // reserved right-aligned column (text nodes 2336:2713 / 2336:2716 / 2336:2711)
132
+ .adi-execution-progress-step-duration,
133
+ .adi-execution-progress-source-duration {
134
+ flex: 0 0 36px;
135
+ margin-left: 5px;
136
+ font-size: 12px;
137
+ line-height: 17px;
138
+ text-align: right;
139
+ font-variant-numeric: tabular-nums;
140
+ white-space: nowrap;
141
+ color: kit-variables.$gd-color-disabled;
142
+ }
143
+
144
+ // the federated data sources: secondary rows under "Querying data"
145
+ .adi-execution-progress-federation {
146
+ margin: 6px 0 0 23px;
147
+ font-size: 12px;
148
+ line-height: 18px;
149
+ }
150
+
151
+ .adi-execution-progress-waiting {
152
+ margin-bottom: 2px;
153
+ overflow: hidden;
154
+ text-overflow: ellipsis;
155
+ white-space: nowrap;
156
+ }
157
+
158
+ .adi-execution-progress-sources {
159
+ margin: 0;
160
+ }
161
+
162
+ .adi-execution-progress-source {
163
+ grid-template-columns: minmax(0, 1fr) 80px 36px;
164
+ color: inherit;
165
+ }
166
+ }
167
+
168
+ .adi-execution-progress-header {
169
+ display: flex;
170
+ justify-content: space-between;
171
+ align-items: baseline;
172
+ margin-bottom: 12px;
173
+ }
174
+
175
+ .adi-execution-progress-title {
176
+ font-size: 15px;
177
+ font-weight: 700;
178
+ }
179
+
180
+ .adi-execution-progress-total,
181
+ .adi-execution-progress-step-duration,
182
+ .adi-execution-progress-source-duration {
183
+ font-variant-numeric: tabular-nums;
184
+ color: kit-variables.$gd-color-label;
185
+ white-space: nowrap;
186
+ }
187
+
188
+ .adi-execution-progress-timeline {
189
+ display: flex;
190
+ gap: 1px;
191
+ height: 6px;
192
+ margin-bottom: 12px;
193
+ border-radius: 3px;
194
+ overflow: hidden;
195
+ background-color: kit-variables.$gd-color-light;
196
+ }
197
+
198
+ .adi-execution-progress-timeline-segment {
199
+ flex: 0 0 auto;
200
+ background-color: kit-variables.$gd-palette-primary-dimmed;
201
+ transition: width 0.1s linear;
202
+
203
+ &.is-running {
204
+ background-color: kit-variables.$gd-palette-primary-base;
205
+ }
206
+
207
+ &.is-failed {
208
+ background-color: kit-variables.$gd-palette-error-base;
209
+ }
210
+ }
211
+
212
+ .adi-execution-progress-steps {
213
+ margin: 0;
214
+ padding: 0;
215
+ list-style: none;
216
+ }
217
+
218
+ .adi-execution-progress-step {
219
+ padding: 4px 0;
220
+
221
+ &.is-pending {
222
+ color: kit-variables.$gd-color-disabled;
223
+ }
224
+
225
+ &.is-failed {
226
+ color: kit-variables.$gd-palette-error-base;
227
+ }
228
+ }
229
+
230
+ .adi-execution-progress-step-row {
231
+ display: flex;
232
+ align-items: center;
233
+ gap: 8px;
234
+ }
235
+
236
+ .adi-execution-progress-step-label {
237
+ flex: 1 1 auto;
238
+ min-width: 0;
239
+ overflow: hidden;
240
+ text-overflow: ellipsis;
241
+ white-space: nowrap;
242
+ }
243
+
244
+ .adi-execution-progress-step-indicator {
245
+ flex: 0 0 auto;
246
+ box-sizing: border-box;
247
+ width: 10px;
248
+ height: 10px;
249
+ border: 2px solid kit-variables.$gd-color-disabled;
250
+ border-radius: 50%;
251
+
252
+ .is-running > .adi-execution-progress-step-row > & {
253
+ border-color: kit-variables.$gd-palette-primary-base;
254
+ border-right-color: transparent;
255
+ animation: adi-execution-progress-spin 0.8s linear infinite;
256
+ }
257
+
258
+ .is-done > .adi-execution-progress-step-row > & {
259
+ border-color: kit-variables.$gd-palette-success-base;
260
+ background-color: kit-variables.$gd-palette-success-base;
261
+ }
262
+
263
+ .is-failed > .adi-execution-progress-step-row > & {
264
+ border-color: kit-variables.$gd-palette-error-base;
265
+ background-color: kit-variables.$gd-palette-error-base;
266
+ }
267
+ }
268
+
269
+ .adi-execution-progress-waiting {
270
+ flex: 0 1 auto;
271
+ overflow: hidden;
272
+ text-overflow: ellipsis;
273
+ white-space: nowrap;
274
+ font-size: 12px;
275
+ color: kit-variables.$gd-palette-warning-base-text;
276
+ }
277
+
278
+ .adi-execution-progress-sources {
279
+ margin: 6px 0 2px 18px;
280
+ padding: 0;
281
+ list-style: none;
282
+ }
283
+
284
+ .adi-execution-progress-source {
285
+ display: grid;
286
+ grid-template-columns: minmax(0, 120px) 1fr auto;
287
+ align-items: center;
288
+ gap: 8px;
289
+ padding: 2px 0;
290
+ font-size: 12px;
291
+ color: kit-variables.$gd-color-text;
292
+ }
293
+
294
+ .adi-execution-progress-source-name {
295
+ overflow: hidden;
296
+ text-overflow: ellipsis;
297
+ white-space: nowrap;
298
+ }
299
+
300
+ .adi-execution-progress-source-track {
301
+ position: relative;
302
+ height: 8px;
303
+ border-radius: 4px;
304
+ background-color: kit-variables.$gd-color-light;
305
+ }
306
+
307
+ .adi-execution-progress-source-bar {
308
+ position: absolute;
309
+ top: 0;
310
+ bottom: 0;
311
+ border-radius: 4px;
312
+ background-color: kit-variables.$gd-palette-primary-dimmed;
313
+
314
+ .is-running > .adi-execution-progress-source-track > & {
315
+ background-color: kit-variables.$gd-palette-primary-base;
316
+ }
317
+
318
+ .is-failed > .adi-execution-progress-source-track > & {
319
+ background-color: kit-variables.$gd-palette-error-base;
320
+ }
321
+
322
+ .is-slowest > .adi-execution-progress-source-track > & {
323
+ background-color: kit-variables.$gd-palette-warning-base;
324
+ }
325
+ }
326
+
327
+ // the parts of a finished query, laid out one after another (they add up to the query)
328
+ .adi-execution-progress-query-breakdown .adi-execution-progress-query-part {
329
+ color: kit-variables.$gd-color-label;
330
+
331
+ &.is-waiting .adi-execution-progress-source-bar {
332
+ background-color: kit-variables.$gd-palette-primary-dimmed;
333
+ }
334
+
335
+ &.is-database .adi-execution-progress-source-bar {
336
+ background-color: kit-variables.$gd-palette-primary-base;
337
+ }
338
+
339
+ &.is-transfer .adi-execution-progress-source-bar {
340
+ background-color: kit-variables.$gd-palette-success-base;
341
+ }
342
+ }
343
+
344
+ // the time the query waited for the data source: the pale head of the bar
345
+ .adi-execution-progress-source-bar-queued {
346
+ position: absolute;
347
+ top: 0;
348
+ bottom: 0;
349
+ left: 0;
350
+ border-radius: 4px 0 0 4px;
351
+ background-color: kit-variables.$gd-color-white;
352
+ opacity: 0.6;
353
+ }
354
+
355
+ .adi-execution-progress-source.is-slowest .adi-execution-progress-source-name {
356
+ font-weight: 700;
357
+ }
358
+
359
+ .adi-execution-progress-cache {
360
+ display: flex;
361
+ align-items: center;
362
+ gap: 8px;
363
+ padding: 10px 12px;
364
+ border-radius: 4px;
365
+ font-weight: 700;
366
+ color: kit-variables.$gd-color-text;
367
+ background-color: kit-variables.$gd-palette-success-dimmed;
368
+ }
369
+
370
+ .adi-execution-progress-cache-icon {
371
+ flex: 0 0 auto;
372
+ color: kit-variables.$gd-palette-success-base;
373
+ }
374
+
375
+ // on a cache hit: how the cached result was originally computed
376
+ .adi-execution-progress-original {
377
+ margin-top: 8px;
378
+ padding: 0 12px;
379
+ font-size: 12px;
380
+ color: kit-variables.$gd-color-label;
381
+ }
382
+
383
+ .adi-execution-progress-original-total strong {
384
+ color: kit-variables.$gd-color-text;
385
+ }
386
+
387
+ .adi-execution-progress-original-sources {
388
+ margin: 0;
389
+ padding: 0;
390
+ list-style: none;
391
+ }
392
+
393
+ .adi-execution-progress-original-source {
394
+ overflow: hidden;
395
+ text-overflow: ellipsis;
396
+ white-space: nowrap;
397
+
398
+ strong {
399
+ color: kit-variables.$gd-color-text;
400
+ }
401
+ }
402
+
403
+ .adi-execution-progress-original-saved {
404
+ margin-top: 4px;
405
+ font-weight: 700;
406
+ color: kit-variables.$gd-palette-success-base;
407
+ }
408
+
409
+ .adi-execution-progress-failed {
410
+ margin-top: 10px;
411
+ color: kit-variables.$gd-palette-error-base;
412
+ }
413
+
414
+ // a newly revealed step fades and slides in
415
+ @keyframes adi-execution-progress-reveal {
416
+ from {
417
+ opacity: 0;
418
+ transform: translateY(-4px);
419
+ }
420
+
421
+ to {
422
+ opacity: 1;
423
+ transform: none;
424
+ }
425
+ }
426
+
427
+ @keyframes adi-execution-progress-spin {
428
+ to {
429
+ transform: rotate(360deg);
430
+ }
431
+ }
432
+
433
+ // The stats of the last report execution (components/report/executionProgress/ExecutionStats.tsx).
434
+ // the link sits in a strip below the visualization, which leaves the strip free
435
+ .adi-execution-stats-enabled .adi-chart-container {
436
+ bottom: 22px;
437
+ }
438
+
439
+ .adi-execution-stats-anchor {
440
+ position: absolute;
441
+ right: 0;
442
+ bottom: 0;
443
+ z-index: 2;
444
+ }
445
+
446
+ .adi-execution-stats-tooltip-anchor {
447
+ display: inline-flex;
448
+ }
449
+
450
+ .adi-execution-stats-trigger {
451
+ display: inline-flex;
452
+ align-items: center;
453
+ gap: 4px;
454
+ height: 20px;
455
+ padding: 0 2px;
456
+ border: 0;
457
+ background-color: transparent;
458
+ font-size: 11px;
459
+ color: kit-variables.$gd-color-state-blank;
460
+ cursor: pointer;
461
+
462
+ &:hover,
463
+ &:focus-visible,
464
+ &[aria-expanded="true"] {
465
+ color: kit-variables.$gd-color-link;
466
+
467
+ .adi-execution-stats-trigger-text {
468
+ text-decoration: underline;
469
+ }
470
+ }
471
+ }
472
+
473
+ .adi-execution-stats-trigger-icon {
474
+ flex: 0 0 auto;
475
+ }
476
+
477
+ .adi-execution-stats {
478
+ font-size: 12px;
479
+ line-height: 18px;
480
+ color: kit-variables.$gd-color-text;
481
+
482
+ .adi-execution-progress-timeline {
483
+ margin-bottom: 6px;
484
+ }
485
+
486
+ .adi-execution-progress-step {
487
+ padding: 2px 0;
488
+ }
489
+ }
490
+
491
+ .adi-execution-stats-section + .adi-execution-stats-section {
492
+ margin-top: 12px;
493
+ padding-top: 10px;
494
+ border-top: 1px solid kit-variables.$gd-border-color;
495
+ }
496
+
497
+ .adi-execution-stats-heading {
498
+ margin: 0 0 6px;
499
+ font-size: 11px;
500
+ font-weight: 700;
501
+ text-transform: uppercase;
502
+ color: kit-variables.$gd-color-label;
503
+ }
504
+
505
+ .adi-execution-stats-summary {
506
+ margin-bottom: 8px;
507
+ font-weight: 700;
508
+ }
509
+
510
+ .adi-execution-stats-note,
511
+ .adi-execution-stats-computed-at {
512
+ color: kit-variables.$gd-color-label;
513
+ }
514
+
515
+ .adi-execution-stats-computed-at {
516
+ margin-bottom: 6px;
517
+ }
518
+
519
+ .adi-execution-stats-sources {
520
+ width: 100%;
521
+ border-collapse: collapse;
522
+ table-layout: fixed;
523
+ font-variant-numeric: tabular-nums;
524
+
525
+ th,
526
+ td {
527
+ padding: 2px 4px 2px 0;
528
+ text-align: right;
529
+ white-space: nowrap;
530
+ }
531
+
532
+ th:first-child,
533
+ td:first-child {
534
+ width: 34%;
535
+ text-align: left;
536
+ }
537
+
538
+ th {
539
+ font-weight: 400;
540
+ color: kit-variables.$gd-color-label;
541
+ }
542
+ }
543
+
544
+ .adi-execution-stats-source-name {
545
+ overflow: hidden;
546
+ text-overflow: ellipsis;
547
+ }