Skip to content

Commit 41106f9

Browse files
authored
feat: rework network selector with popover, search, and grouped categ… (#2929)
1 parent 0733461 commit 41106f9

9 files changed

Lines changed: 4198 additions & 1810 deletions

File tree

src/components/MarketSwitcher.tsx

Lines changed: 508 additions & 351 deletions
Large diffs are not rendered by default.

src/locales/el/messages.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/locales/el/messages.po

Lines changed: 1197 additions & 458 deletions
Large diffs are not rendered by default.

src/locales/en/messages.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/locales/en/messages.po

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,6 +1122,10 @@ msgstr "Borrow power used"
11221122
msgid "Operation not supported"
11231123
msgstr "Operation not supported"
11241124

1125+
#: src/components/MarketSwitcher.tsx
1126+
msgid "L2 Networks"
1127+
msgstr "L2 Networks"
1128+
11251129
#: src/modules/governance/RepresentativesInfoPanel.tsx
11261130
msgid "Linked addresses"
11271131
msgstr "Linked addresses"
@@ -1596,6 +1600,10 @@ msgstr "Learn more about the Kernel points distribution"
15961600
msgid "Please connect your wallet to swap debt."
15971601
msgstr "Please connect your wallet to swap debt."
15981602

1603+
#: src/components/MarketSwitcher.tsx
1604+
msgid "Ethereum"
1605+
msgstr "Ethereum"
1606+
15991607
#: src/components/AssetCategoryMultiselect.tsx
16001608
#: src/components/MarketAssetCategoryFilter.tsx
16011609
msgid "All"
@@ -1679,6 +1687,10 @@ msgstr "Proposal overview"
16791687
msgid "Protocol debt ceiling is at 100% for this asset. Futher borrowing against this asset is unavailable."
16801688
msgstr "Protocol debt ceiling is at 100% for this asset. Futher borrowing against this asset is unavailable."
16811689

1690+
#: src/components/MarketSwitcher.tsx
1691+
msgid "Favourites"
1692+
msgstr "Favourites"
1693+
16821694
#: src/components/AssetCategoryMultiselect.tsx
16831695
#: src/modules/history/HistoryFilterMenu.tsx
16841696
msgid "Reset"
@@ -2631,6 +2643,10 @@ msgstr "Please review the swap values before confirming."
26312643
msgid "Supply cap reached for {symbol}. Reduce the amount or choose a different asset."
26322644
msgstr "Supply cap reached for {symbol}. Reduce the amount or choose a different asset."
26332645

2646+
#: src/components/MarketSwitcher.tsx
2647+
msgid "L1 Networks"
2648+
msgstr "L1 Networks"
2649+
26342650
#: src/components/Warnings/BorrowDisabledWarning.tsx
26352651
msgid "Borrowing is disabled due to an Aave community decision. <0>More details</0>"
26362652
msgstr "Borrowing is disabled due to an Aave community decision. <0>More details</0>"
@@ -2834,10 +2850,6 @@ msgstr "This swap has a price impact of {0}%, which exceeds the 25% safety thres
28342850
msgid "Zero address not valid"
28352851
msgstr "Zero address not valid"
28362852

2837-
#: src/components/MarketSwitcher.tsx
2838-
msgid "Version 3"
2839-
msgstr "Version 3"
2840-
28412853
#: src/components/infoTooltips/NetAPYTooltip.tsx
28422854
msgid "Net APY is the combined effect of all supply and borrow positions on net worth, including incentives. It is possible to have a negative net APY if debt APY is higher than supply APY."
28432855
msgstr "Net APY is the combined effect of all supply and borrow positions on net worth, including incentives. It is possible to have a negative net APY if debt APY is higher than supply APY."
@@ -3253,10 +3265,6 @@ msgstr "Selected borrow assets"
32533265
msgid "Balancer Pool"
32543266
msgstr "Balancer Pool"
32553267

3256-
#: src/components/MarketSwitcher.tsx
3257-
msgid "Version 2"
3258-
msgstr "Version 2"
3259-
32603268
#: src/modules/dashboard/DashboardEModeButton.tsx
32613269
msgid "E-Mode increases your LTV for a selected category of assets. <0>Learn more</0>"
32623270
msgstr "E-Mode increases your LTV for a selected category of assets. <0>Learn more</0>"
@@ -4006,6 +4014,10 @@ msgstr "The Aave Protocol is programmed to always use the price of 1 GHO = $1. T
40064014
msgid "You have no AAVE/stkAAVE/aAave balance to delegate."
40074015
msgstr "You have no AAVE/stkAAVE/aAave balance to delegate."
40084016

4017+
#: src/components/MarketSwitcher.tsx
4018+
msgid "No markets found"
4019+
msgstr "No markets found"
4020+
40094021
#: src/modules/faucet/FaucetTopPanel.tsx
40104022
msgid "With testnet Faucet you can get free assets to test the Aave Protocol. Make sure to switch your wallet provider to the appropriate testnet network, select desired asset, and click ‘Faucet’ to get tokens transferred to your wallet. The assets on a testnet are not “real,” meaning they have no monetary value. <0>Learn more</0>"
40114023
msgstr "With testnet Faucet you can get free assets to test the Aave Protocol. Make sure to switch your wallet provider to the appropriate testnet network, select desired asset, and click ‘Faucet’ to get tokens transferred to your wallet. The assets on a testnet are not “real,” meaning they have no monetary value. <0>Learn more</0>"

src/locales/es/messages.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)