diff --git a/src/img/icons.json b/src/img/icons.json index ab466f91a1..4101d81b11 100644 --- a/src/img/icons.json +++ b/src/img/icons.json @@ -34,7 +34,6 @@ "circle-thumbs-up-outlined", "clny-token", "clock", - "usd-coin", "close", "colony-logo", "comment", diff --git a/src/modules/dashboard/components/ColonyHomeActions/ColonyHomeActions.tsx b/src/modules/dashboard/components/ColonyHomeActions/ColonyHomeActions.tsx index 85330f98c4..850594e535 100644 --- a/src/modules/dashboard/components/ColonyHomeActions/ColonyHomeActions.tsx +++ b/src/modules/dashboard/components/ColonyHomeActions/ColonyHomeActions.tsx @@ -97,7 +97,6 @@ const ColonyHomeActions = ({ colony, ethDomainId }: Props) => { nextStepManageDomains: 'dashboard.ManageDomainsDialog', nextStepAdvanced: 'dashboard.AdvancedDialog', nextStepManageReputation: 'dashboard.ManageReputationDialog', - nextStepDAOInterporation: 'dashboard.DAOIncorporationDialog', }, }, { @@ -210,6 +209,7 @@ const ColonyHomeActions = ({ colony, ethDomainId }: Props) => { nextStepRecovery: 'dashboard.RecoveryModeDialog', nextStepEditDetails: 'dashboard.EditColonyDetailsDialog', nextStepVersionUpgrade: 'dashboard.NetworkContractUpgradeDialog', + nextStepDAOIncorporation: 'dashboard.DAOIncorporationDialog', colony, isVotingExtensionEnabled, }, diff --git a/src/modules/dashboard/components/Dialogs/AdvancedDialog/AdvancedDialog.tsx b/src/modules/dashboard/components/Dialogs/AdvancedDialog/AdvancedDialog.tsx index 759d8bf545..825030732e 100644 --- a/src/modules/dashboard/components/Dialogs/AdvancedDialog/AdvancedDialog.tsx +++ b/src/modules/dashboard/components/Dialogs/AdvancedDialog/AdvancedDialog.tsx @@ -83,6 +83,14 @@ const MSG = defineMessages({ defaultMessage: 'Want to interact with DeFi, or govern an external smart contract?', }, + incorporationTitle: { + id: 'dashboard.AdvancedDialog.incorporationTitle', + defaultMessage: 'DAO Incorporation', + }, + incorporationDesc: { + id: 'dashboard.AdvancedDialog.incorporationDesc', + defaultMessage: `Setup a legal entity to extend functionality and protect contributors.`, + }, }); interface CustomWizardDialogProps extends ActionDialogProps { @@ -90,6 +98,7 @@ interface CustomWizardDialogProps extends ActionDialogProps { nextStepRecovery: string; nextStepEditDetails: string; nextStepVersionUpgrade: string; + nextStepDAOIncorporation: string; prevStep: string; colony: Colony; } @@ -107,6 +116,7 @@ const AdvancedDialog = ({ nextStepRecovery, nextStepEditDetails, nextStepVersionUpgrade, + nextStepDAOIncorporation, colony, colony: { version: colonyVersion }, isVotingExtensionEnabled, @@ -187,6 +197,12 @@ const AdvancedDialog = ({ icon: 'emoji-dna', comingSoon: true, }, + { + title: MSG.incorporationTitle, + description: MSG.incorporationDesc, + icon: 'flag', + onClick: () => callStep(nextStepDAOIncorporation), + }, ]; return ( & CustomWizardDialogProps; @@ -84,7 +75,6 @@ const ColonyActionsDialog = ({ nextStepManageDomains, nextStepAdvanced, nextStepManageReputation, - nextStepDAOInterporation, }: Props) => { const items = [ { @@ -122,13 +112,6 @@ const ColonyActionsDialog = ({ onClick: () => callStep(nextStepAdvanced), dataTest: 'advancedDialogIndexItem', }, - { - title: MSG.DAOIncorporationTitle, - description: MSG.DAOIncorporationDesc, - icon: 'flag', - onClick: () => callStep(nextStepDAOInterporation), - dataTest: 'nextStepDAOInterporation', - }, ]; return (