Skip to content

Commit 93a4f3e

Browse files
committed
loading values as YAML messages
1 parent eef03ae commit 93a4f3e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

cyclops-ui/src/components/pages/NewModule/NewModule.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ const NewModule = () => {
592592
</Col>
593593
</Row>
594594
<Modal
595-
title="Values to import"
595+
title="Import values as YAML"
596596
visible={loadingValuesModal}
597597
onCancel={handleCancel}
598598
onOk={handleImportValues}
@@ -613,6 +613,14 @@ const NewModule = () => {
613613
style={{ marginBottom: "20px" }}
614614
/>
615615
)}
616+
<div style={{paddingRight: "16px", paddingBottom: "16px", color: "#777"}}>
617+
<Row>
618+
You can paste your values in YAML format here, and after submitting them, you can see them in the form and edit them further.
619+
</Row>
620+
<Row>
621+
If you set a value in YAML that does not exist in the UI, it will not be applied to your Module.
622+
</Row>
623+
</div>
616624
<AceEditor
617625
mode={"yaml"}
618626
theme="github"

0 commit comments

Comments
 (0)