Skip to content

Commit 34ce837

Browse files
authored
MTV-3756: Fix YAML editors height and title (#2104)
Resolves: MTV-3756 Signed-off-by: Sharon Gratch <[email protected]>
1 parent 1392463 commit 34ce837

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

locales/en/plugin__forklift-console-plugin.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@
415415
"For VMs used for development, testing, or other non-essential tasks, the downtime is unlikely to have a major business impact.": "For VMs used for development, testing, or other non-essential tasks, the downtime is unlikely to have a major business impact.",
416416
"Forklift controller logs": "Forklift controller logs",
417417
"Forklift controller logs capture Migration Toolkit for Virtualization (MTV) related events.": "Forklift controller logs capture Migration Toolkit for Virtualization (MTV) related events.",
418+
"Forklift controller YAML": "Forklift controller YAML",
418419
"Frequently asked questions": "Frequently asked questions",
419420
"General": "General",
420421
"Get quick answers to common problems.": "Get quick answers to common problems.",
@@ -594,13 +595,13 @@
594595
"Network map details": "Network map details",
595596
"Network map is required.": "Network map is required.",
596597
"Network map name": "Network map name",
598+
"Network map YAML": "Network map YAML",
597599
"Network map:": "Network map:",
598600
"Network maps": "Network maps",
599601
"Network maps ensure that the network configurations of your migrating virtual machines (VMs) are correctly translated and applied in the target environment.": "Network maps ensure that the network configurations of your migrating virtual machines (VMs) are correctly translated and applied in the target environment.",
600602
"Network name template": "Network name template",
601603
"Network name template is a template for generating network interface names in the target virtual machine.": "Network name template is a template for generating network interface names in the target virtual machine.",
602604
"NetworkAttachmentDefinitions": "NetworkAttachmentDefinitions",
603-
"NetworkMap YAML": "NetworkMap YAML",
604605
"Networks": "Networks",
605606
"Networks used by the selected VMs": "Networks used by the selected VMs",
606607
"New migration plan name": "New migration plan name",
@@ -919,12 +920,12 @@
919920
"Storage map is required.": "Storage map is required.",
920921
"Storage map name": "Storage map name",
921922
"Storage map type": "Storage map type",
923+
"Storage map YAML": "Storage map YAML",
922924
"Storage map:": "Storage map:",
923925
"Storage maps": "Storage maps",
924926
"Storage maps define how the storage of source VMs will be provisioned on the target cluster by linking source storage entities to target storage classes.": "Storage maps define how the storage of source VMs will be provisioned on the target cluster by linking source storage entities to target storage classes.",
925927
"Storage product": "Storage product",
926928
"Storage secret": "Storage secret",
927-
"StorageMap YAML": "StorageMap YAML",
928929
"Storages used by the selected VMs": "Storages used by the selected VMs",
929930
"Stuck and not sure where to start? We recommend looking in this order for troubleshooting:": "Stuck and not sure where to start? We recommend looking in this order for troubleshooting:",
930931
"succeeded": "succeeded",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.resource-yaml-editor-wrapper {
22
.yaml-editor {
3-
min-height: 300px;
3+
min-height: 400px;
44
}
55
}

src/modules/NetworkMaps/views/details/tabs/YAML/NetworkMapYAMLTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const NetworkMapYAMLTab: FC<NetworkMapYAMLTabProps> = ({ name, namespace }) => {
2525
return (
2626
<LoadingSuspend obj={obj} loaded={loaded} loadError={loadError}>
2727
<ResourceYAMLEditorWrapper>
28-
<ResourceYAMLEditor header={t('NetworkMap YAML')} initialResource={obj} />
28+
<ResourceYAMLEditor header={t('Network map YAML')} initialResource={obj} />
2929
</ResourceYAMLEditorWrapper>
3030
</LoadingSuspend>
3131
);

src/modules/StorageMaps/views/details/tabs/YAML/StorageMapYAMLTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const StorageMapYAMLTab: FC<StorageMapYAMLTabProps> = ({ name, namespace
2525
return (
2626
<LoadingSuspend obj={obj} loaded={loaded} loadError={loadError}>
2727
<ResourceYAMLEditorWrapper>
28-
<ResourceYAMLEditor header={t('StorageMap YAML')} initialResource={obj} />
28+
<ResourceYAMLEditor header={t('Storage map YAML')} initialResource={obj} />
2929
</ResourceYAMLEditorWrapper>
3030
</LoadingSuspend>
3131
);

src/overview/tabs/YAML/ForkliftControllerYAMLTab.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ const ForkliftControllerYAMLTab: FC = () => {
3030

3131
{forkliftController && loaded && !loadError && (
3232
<ResourceYAMLEditorWrapper>
33-
<ResourceYAMLEditor header={t('Provider YAML')} initialResource={forkliftController} />
33+
<ResourceYAMLEditor
34+
header={t('Forklift controller YAML')}
35+
initialResource={forkliftController}
36+
/>
3437
</ResourceYAMLEditorWrapper>
3538
)}
3639
</Suspense>

0 commit comments

Comments
 (0)