Skip to content

Commit

Permalink
ui: update wording of choose networks on onboarding (#2790)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicole-obrien authored Aug 14, 2024
1 parent ce8cc98 commit c91828b
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)}
Expand All @@ -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)}
Expand All @@ -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)}
Expand All @@ -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)}
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Bloom Labs Ltd <[email protected]>",
"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",
Expand Down
14 changes: 7 additions & 7 deletions packages/shared/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,10 @@
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==

"@bloomwalletio/[email protected].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/[email protected].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"
Expand Down

0 comments on commit c91828b

Please sign in to comment.