Commit 29e7130
Image registry bug fix (#4887)
* fix: fetch image registry data correctly in StudioOverviewView
Fixes an issue where the image registry data was not being fetched
Why:
Previously, the image registry data was not being fetched, even though ExperimentMetadata has a field ‘imageRegistry’. This change ensures that the form receives the correct image registry data.
How:
Added a check for loading state by disabling the ‘next’ button and assigned the fetched image registry data to a variable before form submission. This ensures the `values.imageRegistry` field is populated correctly.
Signed-off-by: Aditya Sridasyam <sridasyamaditya@gmail.com>
* fix: passed imageRegistry in kubernetesBlankCanvasTemplate
Fixes an issue where the image registry data was not being passed in the kubernetesBlankCanvasTemplate function
Why:
kubernetesBlankCanvasTemplate is expecting imageRegistry but never being passed, it is overridden always by default imageRegistry values.
Signed-off-by: Aditya Sridasyam <sridasyamaditya@gmail.com>
* Rectified import order
imported @utils before `./StudioOverview.module.scss`, rectified as per the frontend check pipeline error
Signed-off-by: aditya3103 <85363167+aditya3103@users.noreply.github.com>
* Fixed max character limit warning - kubernetesBlankCanvasTemplate function
Signed-off-by: aditya3103 <85363167+aditya3103@users.noreply.github.com>
* Fixed max character limit & trailing comma warning
Signed-off-by: aditya3103 <85363167+aditya3103@users.noreply.github.com>
* Fixed trailing comma warning - kubernetesBlankCanvasTemplate
Signed-off-by: Aditya Sridasyam <sridasyamaditya@gmail.com>
Signed-off-by: aditya3103 <85363167+aditya3103@users.noreply.github.com>
---------
Signed-off-by: Aditya Sridasyam <sridasyamaditya@gmail.com>
Signed-off-by: aditya3103 <85363167+aditya3103@users.noreply.github.com>
Co-authored-by: Saranya Jena <saranya.jena@harness.io>1 parent 101557c commit 29e7130
File tree
2 files changed
+32
-2
lines changed- chaoscenter/web/src/views
- ExperimentBuilderTemplateSelection
- StudioOverview
2 files changed
+32
-2
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
14 | 19 | | |
15 | 20 | | |
16 | 21 | | |
| |||
Lines changed: 26 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
55 | 71 | | |
56 | 72 | | |
57 | 73 | | |
| |||
85 | 101 | | |
86 | 102 | | |
87 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
88 | 107 | | |
89 | 108 | | |
90 | 109 | | |
| |||
144 | 163 | | |
145 | 164 | | |
146 | 165 | | |
147 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
148 | 173 | | |
149 | 174 | | |
150 | 175 | | |
| |||
0 commit comments