From 4b9205faa2007c90720ad007cbc4e62e5315d991 Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Fri, 16 Jul 2021 18:24:19 +0200 Subject: [PATCH] Improve org creation copy --- src/base/orgs/Create.svelte | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/src/base/orgs/Create.svelte b/src/base/orgs/Create.svelte index 6a33bb6e2..8c64d5341 100644 --- a/src/base/orgs/Create.svelte +++ b/src/base/orgs/Create.svelte @@ -21,32 +21,33 @@ } enum Governance { - BDFL = "bdfl", + Existing = "existing", Quorum = "quorum", } const orgTypes = [ - { label: "Single-signature", - description: [ - `Creates an org with the specified address as the sole owner.`, - `Org transactions such as anchoring are signed and executed directly from the owner's wallet.` - ], - value: Governance.BDFL - }, { label: "Multi-signature", description: [ - "Creates an org with a multi-signature contract as its owner, and the specified address as the first member.", + "Creates an org with a multi-signature contract as its owner, and the specified account as the first member.", "A [Gnosis Safe](https://gnosis-safe.io) will be deployed for your org.", "Transactions such as anchoring have to be approved by a quorum of signers." ], value: Governance.Quorum }, + { label: "Existing owner", + description: [ + `Creates an org with the specified account as the sole owner.`, + `Org transactions such as anchoring are signed and executed from that account.`, + `This option allows for using an existing contract or EOA as the owner of the org.` + ], + value: Governance.Existing + }, ]; let state = State.Idle; let error: Err | null = null; let org: Org | null = null; - let governance = Governance.BDFL; + let governance = Governance.Quorum; const dispatch = createEventDispatcher(); const createOrg = async () => { @@ -72,7 +73,7 @@ const onGovernanceChanged = (event: { detail: string }) => { switch (event.detail) { - case "bdfl": governance = Governance.BDFL; break; + case "existing": governance = Governance.Existing; break; case "quorum": governance = Governance.Quorum; break; } }; @@ -148,7 +149,7 @@ {#if state === State.Idle} -
Select a governance model
+
Select how you'd like to create your org
{:else if state === State.Signing}
Please confirm the transaction in your wallet.
{:else if state === State.Pending} @@ -165,7 +166,7 @@ on:changed={onGovernanceChanged} /> - + {:else}