From c91828b0b4c2843c6f28a19fc7ab8319be4f8b7a Mon Sep 17 00:00:00 2001 From: Nicole O'Brien Date: Wed, 14 Aug 2024 14:35:27 +0100 Subject: [PATCH] ui: update wording of choose networks on onboarding (#2790) --- .../network-setup/views/ChooseNetworkView.svelte | 16 ++++++---------- packages/shared/package.json | 2 +- packages/shared/src/locales/en.json | 14 +++++++------- yarn.lock | 8 ++++---- 4 files changed, 18 insertions(+), 22 deletions(-) diff --git a/packages/desktop/views/onboarding/views/network-setup/views/ChooseNetworkView.svelte b/packages/desktop/views/onboarding/views/network-setup/views/ChooseNetworkView.svelte index fd2892b9d4..4d7fc89a22 100644 --- a/packages/desktop/views/onboarding/views/network-setup/views/ChooseNetworkView.svelte +++ b/packages/desktop/views/onboarding/views/network-setup/views/ChooseNetworkView.svelte @@ -108,10 +108,7 @@ secondaryText={localize( `views.onboarding.networkSetup.chooseNetwork.${OnboardingNetworkType.Iota}.secondary` )} - icon={IconName.Iota} - iconSize="md" - iconColor="iota" - backgroundColor="iota-background" + icon={IconName.Rocket} hidden={features?.onboarding?.[OnboardingNetworkType.Iota]?.hidden} disabled={!features?.onboarding?.[OnboardingNetworkType.Iota]?.enabled} onClick={() => onNetworkClick(OnboardingNetworkType.Iota)} @@ -124,10 +121,8 @@ secondaryText={localize( `views.onboarding.networkSetup.chooseNetwork.${OnboardingNetworkType.Shimmer}.secondary` )} - icon={IconName.Shimmer} - iconSize="md" - iconColor="shimmer" - backgroundColor="shimmer-background" + icon={IconName.Beaker} + iconColor="info" hidden={features?.onboarding?.[OnboardingNetworkType.Shimmer]?.hidden} disabled={!features?.onboarding?.[OnboardingNetworkType.Shimmer]?.enabled} onClick={() => onNetworkClick(OnboardingNetworkType.Shimmer)} @@ -140,7 +135,8 @@ secondaryText={localize( `views.onboarding.networkSetup.chooseNetwork.${OnboardingNetworkType.Testnet}.secondary` )} - icon={IconName.Beaker} + icon={IconName.Atom} + iconColor="cyan" hidden={features?.onboarding?.[OnboardingNetworkType.Testnet]?.hidden} disabled={!features?.onboarding?.[OnboardingNetworkType.Testnet]?.enabled} onClick={() => onNetworkClick(OnboardingNetworkType.Testnet)} @@ -154,7 +150,7 @@ `views.onboarding.networkSetup.chooseNetwork.${OnboardingNetworkType.Custom}.secondary` )} icon={IconName.SettingsSliders} - iconColor="info" + iconColor="text-secondary" hidden={features?.onboarding?.[OnboardingNetworkType.Custom]?.hidden} disabled={!features?.onboarding?.[OnboardingNetworkType.Custom]?.enabled} onClick={() => onNetworkClick(OnboardingNetworkType.Custom)} diff --git a/packages/shared/package.json b/packages/shared/package.json index 7b0a7260dd..0bd25c933d 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -5,7 +5,7 @@ "author": "Bloom Labs Ltd ", "license": "PolyForm Strict License 1.0.0", "dependencies": { - "@bloomwalletio/ui": "0.21.11", + "@bloomwalletio/ui": "0.21.12", "@ethereumjs/common": "4.3.0", "@ethereumjs/rlp": "5.0.2", "@ethereumjs/tx": "5.3.0", diff --git a/packages/shared/src/locales/en.json b/packages/shared/src/locales/en.json index 4e4330148e..9f1ad81f7e 100644 --- a/packages/shared/src/locales/en.json +++ b/packages/shared/src/locales/en.json @@ -36,18 +36,18 @@ }, "networkSetup": { "chooseNetwork": { - "title": "Choose your network", + "title": "Choose your networks", "iota": { - "primary": "IOTA Mainnet", - "secondary": "Production network with stable features" + "primary": "Default networks", + "secondary": "Manage IOTA, Ethereum and other key networks" }, "shimmer": { - "primary": "Shimmer", - "secondary": "Experimental network with the latest features" + "primary": "Experimental networks", + "secondary": "Manage Shimmer and other experimental chains" }, "testnet": { - "primary": "Testnet", - "secondary": "Test network using valueless tokens" + "primary": "Test networks", + "secondary": "Test networks using valueless tokens" }, "custom": { "primary": "Advanced configuration", diff --git a/yarn.lock b/yarn.lock index bbb7c2a21d..87c34ae828 100644 --- a/yarn.lock +++ b/yarn.lock @@ -343,10 +343,10 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@bloomwalletio/ui@0.21.10": - version "0.21.10" - resolved "https://npm.pkg.github.com/download/@bloomwalletio/ui/0.21.10/44e5f2c482c58afb570ea8abe125f3f119e00da5#44e5f2c482c58afb570ea8abe125f3f119e00da5" - integrity sha512-3177JmjcVIaw2pv12tVU8XvxXJvNGmYYl/X7RWXPD4uOtCFbxPXCG+j+6eBCz4ttf1U2piUf6y9wE02x3SZhFQ== +"@bloomwalletio/ui@0.21.12": + version "0.21.12" + resolved "https://npm.pkg.github.com/download/@bloomwalletio/ui/0.21.12/554ad665b63b9d8d3140d26df28603ef14ccffd9#554ad665b63b9d8d3140d26df28603ef14ccffd9" + integrity sha512-KaRjEdB+z08edX55QlUmWZxBkDdILr4ROvGSRCOQdWFzpWVjnqeBFWEFSN0BuUACeFWMHFYaHtpYjqayNEOFYA== dependencies: "@floating-ui/dom" "1.4.3" "@popperjs/core" "2.11.8"