From 5ef38aeffdbc1b8f5c20d4b252a199349d14b8f9 Mon Sep 17 00:00:00 2001 From: Miche Date: Fri, 23 Aug 2024 10:49:50 -0700 Subject: [PATCH 1/4] change up language a little bit --- website/src/tabs/record/DecryptRecord.css | 2 +- website/src/tabs/record/DecryptRecord.jsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/website/src/tabs/record/DecryptRecord.css b/website/src/tabs/record/DecryptRecord.css index 0093be967..c5b60a947 100644 --- a/website/src/tabs/record/DecryptRecord.css +++ b/website/src/tabs/record/DecryptRecord.css @@ -1,3 +1,3 @@ .container { - max-width: 750px; + max-width: 850px; } \ No newline at end of file diff --git a/website/src/tabs/record/DecryptRecord.jsx b/website/src/tabs/record/DecryptRecord.jsx index 4b67b9903..ff9a9249b 100644 --- a/website/src/tabs/record/DecryptRecord.jsx +++ b/website/src/tabs/record/DecryptRecord.jsx @@ -71,7 +71,7 @@ export const DecryptRecord = () => { setIsOwner(null); }; - const layout = { labelCol: { span: 4 }, wrapperCol: { span: 21 } }; + const layout = { labelCol: { span: 4 }, wrapperCol: { span: 21 }, layout:"vertical"}; if (aleo !== null) { const recordPlaintext = () => @@ -133,7 +133,7 @@ export const DecryptRecord = () => { } >
- + { { - + {plaintext ? ( From c20182c7626874675e50343b7e24d48c333efd96 Mon Sep 17 00:00:00 2001 From: Miche Date: Fri, 23 Aug 2024 10:57:01 -0700 Subject: [PATCH 2/4] add extra spacing in the fields --- website/src/tabs/rest/GetBlockByHash.jsx | 2 +- website/src/tabs/rest/GetBlockByHeight.jsx | 2 +- website/src/tabs/rest/GetMappingNames.jsx | 2 +- website/src/tabs/rest/GetMappingValue.jsx | 6 +++--- website/src/tabs/rest/GetProgram.jsx | 2 +- website/src/tabs/rest/GetTransaction.jsx | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/website/src/tabs/rest/GetBlockByHash.jsx b/website/src/tabs/rest/GetBlockByHash.jsx index 5095fe785..c3c54e116 100644 --- a/website/src/tabs/rest/GetBlockByHash.jsx +++ b/website/src/tabs/rest/GetBlockByHash.jsx @@ -39,7 +39,7 @@ export const GetBlockByHash = () => { } }; - const layout = { labelCol: { span: 3 }, wrapperCol: { span: 21 } }; + const layout = { labelCol: { span: 4 }, wrapperCol: { span: 21 } }; const blockString = useMemo(() => { return blockByHash !== null ? blockByHash.toString() : "" diff --git a/website/src/tabs/rest/GetBlockByHeight.jsx b/website/src/tabs/rest/GetBlockByHeight.jsx index 1d2cee3a0..d1a9fc36a 100644 --- a/website/src/tabs/rest/GetBlockByHeight.jsx +++ b/website/src/tabs/rest/GetBlockByHeight.jsx @@ -41,7 +41,7 @@ export const GetBlockByHeight = () => { } }; - const layout = { labelCol: { span: 3 }, wrapperCol: { span: 21 } }; + const layout = { labelCol: { span: 4 }, wrapperCol: { span: 21 } }; const blockString = useMemo(() => { return blockByHeight !== null ? blockByHeight.toString() : "" diff --git a/website/src/tabs/rest/GetMappingNames.jsx b/website/src/tabs/rest/GetMappingNames.jsx index 42adadc2a..527b5f738 100644 --- a/website/src/tabs/rest/GetMappingNames.jsx +++ b/website/src/tabs/rest/GetMappingNames.jsx @@ -55,7 +55,7 @@ export const GetMappingNames = () => { } }; - const layout = { labelCol: { span: 3 }, wrapperCol: { span: 21 } }; + const layout = { labelCol: { span: 4 }, wrapperCol: { span: 21 } }; const mappingString = useMemo(() => { return mapping !== null ? mapping : "" diff --git a/website/src/tabs/rest/GetMappingValue.jsx b/website/src/tabs/rest/GetMappingValue.jsx index 881db718f..2073f6fe5 100644 --- a/website/src/tabs/rest/GetMappingValue.jsx +++ b/website/src/tabs/rest/GetMappingValue.jsx @@ -79,7 +79,7 @@ export const GetMappingValue = () => { } }; - const layout = { labelCol: { span: 3 }, wrapperCol: { span: 21 } }; + const layout = { labelCol: { span: 4 }, wrapperCol: { span: 21 } }; const programIDString = () => (programID !== null ? programID : ""); const mappingNameString = () => (mappingName !== null ? mappingName : ""); const mappingKeyString = () => (mappingKey !== null ? mappingKey : ""); @@ -122,7 +122,7 @@ export const GetMappingValue = () => { { { } }; - const layout = { labelCol: { span: 3 }, wrapperCol: { span: 21 } }; + const layout = { labelCol: { span: 4 }, wrapperCol: { span: 21 } }; const programString = useMemo(() => { return program !== null ? program : "" diff --git a/website/src/tabs/rest/GetTransaction.jsx b/website/src/tabs/rest/GetTransaction.jsx index dcfdf2e0d..56675d1c3 100644 --- a/website/src/tabs/rest/GetTransaction.jsx +++ b/website/src/tabs/rest/GetTransaction.jsx @@ -39,7 +39,7 @@ export const GetTransaction = () => { } }; - const layout = { labelCol: { span: 3 }, wrapperCol: { span: 21 } }; + const layout = { labelCol: { span: 4 }, wrapperCol: { span: 21 } }; const transactionString = useMemo(() => { return transaction !== null ? transaction.toString() : "" From 8ba001e69f059ea1d19dbacb7b381a783990ebd8 Mon Sep 17 00:00:00 2001 From: Miche Date: Fri, 23 Aug 2024 11:00:14 -0700 Subject: [PATCH 3/4] columns for advanced tab --- website/src/tabs/advanced/DecryptAccount.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/tabs/advanced/DecryptAccount.jsx b/website/src/tabs/advanced/DecryptAccount.jsx index e88a38595..f02516217 100644 --- a/website/src/tabs/advanced/DecryptAccount.jsx +++ b/website/src/tabs/advanced/DecryptAccount.jsx @@ -43,7 +43,7 @@ export const DecryptAccount = () => { : ""; }; - const layout = { labelCol: { span: 3 }, wrapperCol: { span: 21 } }; + const layout = { labelCol: { span: 6 }, wrapperCol: { span: 21 } }; useEffect(() => {}, [inputCiphertext, inputPassword]); if (aleo !== null) { const privateKey = () => From c456a124776c1a51115d44187213dae39e323d3a Mon Sep 17 00:00:00 2001 From: Miche Date: Fri, 23 Aug 2024 11:43:27 -0700 Subject: [PATCH 4/4] adjust columns for labels --- website/src/tabs/develop/Deploy.jsx | 2 +- website/src/tabs/develop/Join.jsx | 2 +- website/src/tabs/develop/Split.jsx | 2 +- website/src/tabs/develop/Transfer.jsx | 2 +- website/src/tabs/develop/execute/index.jsx | 2 +- website/src/tabs/record/DecryptRecord.jsx | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/website/src/tabs/develop/Deploy.jsx b/website/src/tabs/develop/Deploy.jsx index be2a5e420..fae726a07 100644 --- a/website/src/tabs/develop/Deploy.jsx +++ b/website/src/tabs/develop/Deploy.jsx @@ -200,7 +200,7 @@ export const Deploy = () => { return privateKey; }; - const layout = { labelCol: { span: 3 }, wrapperCol: { span: 21 } }; + const layout = { labelCol: { span: 5 }, wrapperCol: { span: 21 } }; const privateKeyString = () => (privateKey !== null ? privateKey : ""); const programString = () => (program !== null ? program : ""); const feeRecordString = () => diff --git a/website/src/tabs/develop/Join.jsx b/website/src/tabs/develop/Join.jsx index 67767a520..216cbea43 100644 --- a/website/src/tabs/develop/Join.jsx +++ b/website/src/tabs/develop/Join.jsx @@ -141,7 +141,7 @@ export const Join = () => { return privateKey; }; - const layout = { labelCol: { span: 3 }, wrapperCol: { span: 21 } }; + const layout = { labelCol: { span: 5 }, wrapperCol: { span: 21 } }; const privateKeyString = () => (privateKey !== null ? privateKey : ""); const feeRecordString = () => (joinFeeRecord !== null ? joinFeeRecord : ""); const recordOneString = () => (recordOne !== null ? recordOne : ""); diff --git a/website/src/tabs/develop/Split.jsx b/website/src/tabs/develop/Split.jsx index fb5cc9157..45569ac13 100644 --- a/website/src/tabs/develop/Split.jsx +++ b/website/src/tabs/develop/Split.jsx @@ -117,7 +117,7 @@ export const Split = () => { return privateKey; }; - const layout = { labelCol: { span: 3 }, wrapperCol: { span: 21 } }; + const layout = { labelCol: { span: 5 }, wrapperCol: { span: 21 } }; const amountString = () => (splitAmount !== null ? splitAmount : ""); const privateKeyString = () => (privateKey !== null ? privateKey : ""); const amountRecordString = () => diff --git a/website/src/tabs/develop/Transfer.jsx b/website/src/tabs/develop/Transfer.jsx index c3f49e982..b692acf67 100644 --- a/website/src/tabs/develop/Transfer.jsx +++ b/website/src/tabs/develop/Transfer.jsx @@ -200,7 +200,7 @@ export const Transfer = () => { }, ]; - const layout = { labelCol: { span: 3 }, wrapperCol: { span: 21 } }; + const layout = { labelCol: { span: 5}, wrapperCol: { span: 21 } }; const feeString = () => (transferFee !== null ? transferFee : ""); const amountString = () => (transferAmount !== null ? transferAmount : ""); const recipientString = () => (recipient !== null ? recipient : ""); diff --git a/website/src/tabs/develop/execute/index.jsx b/website/src/tabs/develop/execute/index.jsx index 79dc02fad..66b650b4a 100644 --- a/website/src/tabs/develop/execute/index.jsx +++ b/website/src/tabs/develop/execute/index.jsx @@ -19,7 +19,7 @@ import { useAleoWASM } from "../../../aleo-wasm-hook"; import { useEffect, useState } from "react"; import { NewAccount } from "../../account/NewAccount.jsx"; -const layout = { labelCol: { span: 4 }, wrapperCol: { span: 18 } }; +const layout = { labelCol: { span: 5 }, wrapperCol: { span: 18 } }; export const Execute = () => { const [form] = Form.useForm(); diff --git a/website/src/tabs/record/DecryptRecord.jsx b/website/src/tabs/record/DecryptRecord.jsx index ff9a9249b..c8ffdee98 100644 --- a/website/src/tabs/record/DecryptRecord.jsx +++ b/website/src/tabs/record/DecryptRecord.jsx @@ -71,7 +71,7 @@ export const DecryptRecord = () => { setIsOwner(null); }; - const layout = { labelCol: { span: 4 }, wrapperCol: { span: 21 }, layout:"vertical"}; + const layout = { labelCol: { span: 4 }, wrapperCol: { span: 21 }}; if (aleo !== null) { const recordPlaintext = () =>