Skip to content

Commit

Permalink
loading values as YAML messages
Browse files Browse the repository at this point in the history
  • Loading branch information
petar-cvit committed Nov 19, 2024
1 parent eef03ae commit 93a4f3e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion cyclops-ui/src/components/pages/NewModule/NewModule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ const NewModule = () => {
</Col>
</Row>
<Modal
title="Values to import"
title="Import values as YAML"
visible={loadingValuesModal}
onCancel={handleCancel}
onOk={handleImportValues}
Expand All @@ -613,6 +613,14 @@ const NewModule = () => {
style={{ marginBottom: "20px" }}
/>
)}
<div style={{paddingRight: "16px", paddingBottom: "16px", color: "#777"}}>
<Row>
You can paste your values in YAML format here, and after submitting them, you can see them in the form and edit them further.
</Row>
<Row>
If you set a value in YAML that does not exist in the UI, it will not be applied to your Module.
</Row>
</div>
<AceEditor
mode={"yaml"}
theme="github"
Expand Down

0 comments on commit 93a4f3e

Please sign in to comment.