Commit faaa515
authored
ECOPROJECT-4164 | fix: prevent modal unmounting when creating environment from empty state in Environments table (#468)
The issue was that the DiscoverySourceSetupModal modal was rendered
inside the EmptyState component, which is unmounted when the first
source is created. This caused the modal to unmount before step 2
(downloading the OVA) could be displayed.
https://github.com/user-attachments/assets/e873395c-0abc-4842-afd4-64c865a53b6c
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Added visual feedback during OVA downloads
* Source list automatically refreshes after environment setup completes
* Actions disabled during OVA downloads to prevent user conflicts
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Signed-off-by: Montse Ortega <mortegag@redhat.com>1 parent 734e958 commit faaa515
2 files changed
Lines changed: 50 additions & 38 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
23 | 19 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
32 | 25 | | |
33 | 26 | | |
34 | 27 | | |
35 | 28 | | |
36 | 29 | | |
37 | 30 | | |
38 | 31 | | |
39 | | - | |
40 | | - | |
41 | 32 | | |
42 | 33 | | |
43 | 34 | | |
| |||
52 | 43 | | |
53 | 44 | | |
54 | 45 | | |
55 | | - | |
| 46 | + | |
56 | 47 | | |
57 | 48 | | |
58 | 49 | | |
| |||
90 | 81 | | |
91 | 82 | | |
92 | 83 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
| 84 | + | |
109 | 85 | | |
110 | 86 | | |
111 | 87 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
15 | 21 | | |
16 | 22 | | |
17 | 23 | | |
| |||
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
| 29 | + | |
23 | 30 | | |
24 | 31 | | |
25 | 32 | | |
| |||
95 | 102 | | |
96 | 103 | | |
97 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
98 | 119 | | |
99 | 120 | | |
100 | 121 | | |
| |||
512 | 533 | | |
513 | 534 | | |
514 | 535 | | |
515 | | - | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
516 | 540 | | |
517 | 541 | | |
518 | 542 | | |
| |||
540 | 564 | | |
541 | 565 | | |
542 | 566 | | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
543 | 579 | | |
544 | 580 | | |
545 | 581 | | |
| |||
0 commit comments