From 837e7ae512c20e2a7b8ba420af6ec2a9cf2a1863 Mon Sep 17 00:00:00 2001 From: Albina Nikiforova Date: Thu, 12 Dec 2024 16:04:16 +0100 Subject: [PATCH] fix(suite): temp --- packages/suite/src/support/messages.ts | 4 +- .../views/wallet/nfts/NftsTable/NftsRow.tsx | 89 +++++-------- suite-common/icons/assets/pictureFrame.svg | 3 + suite-common/icons/assets/trezorSafe7.svg | 2 +- .../icons/assets/trezorSafe7Filled.svg | 2 +- .../icons/cryptoAssets/cryptoIcons/base.svg | 8 +- suite-common/icons/generateIconFont.ts | 1 + .../iconFontsMobile/TrezorSuiteIcons.json | 123 +++++++++--------- .../iconFontsMobile/TrezorSuiteIcons.ttf | Bin 20796 -> 20968 bytes suite-common/icons/src/icons.ts | 1 + 10 files changed, 106 insertions(+), 127 deletions(-) create mode 100644 suite-common/icons/assets/pictureFrame.svg diff --git a/packages/suite/src/support/messages.ts b/packages/suite/src/support/messages.ts index e39e25317dd..812be576f9a 100644 --- a/packages/suite/src/support/messages.ts +++ b/packages/suite/src/support/messages.ts @@ -5002,12 +5002,12 @@ export default defineMessages({ }, TR_EXPERIMENTAL_NFT_SECTION: { id: 'TR_EXPERIMENTAL_NFT_SECTION', - defaultMessage: 'NFT Section', + defaultMessage: 'NFTs (non-fungible tokens)', }, TR_EXPERIMENTAL_NFT_SECTION_DESCRIPTION: { id: 'TR_EXPERIMENTAL_NFT_SECTION_DESCRIPTION', defaultMessage: - 'Access NFT section in your wallet. Right now available only for EVM based chains.', + 'Access the NFTs stored in your wallet. Currently available for EVM-based chains only.', }, TR_EXPERIMENTAL_FEATURES_ALLOW: { id: 'TR_EXPERIMENTAL_FEATURES_ALLOW', diff --git a/packages/suite/src/views/wallet/nfts/NftsTable/NftsRow.tsx b/packages/suite/src/views/wallet/nfts/NftsTable/NftsRow.tsx index 4f7e32222af..6f7f3031a16 100644 --- a/packages/suite/src/views/wallet/nfts/NftsTable/NftsRow.tsx +++ b/packages/suite/src/views/wallet/nfts/NftsTable/NftsRow.tsx @@ -195,76 +195,49 @@ const NftsRow = ({ nft, network, isShown, selectedAccount }: NftsRowProps) => { isCollapsed={!isCollectionOpen} isHighlightedOnHover={false} > - - - - - - - - - - - + + + + {nft.name} - + # - - - - - ))} - - )} - {nft.type === 'ERC1155' && ( - <> - {nft.multiTokenValues?.map((value, index) => ( - - - - - - - - - - - - - - - - - - - + + + - + ))} )} + {nft.type === 'ERC1155' && + nft.multiTokenValues?.map((value, index) => ( + + + + {nft.name} # + + + + + + + + ))} ); }; diff --git a/suite-common/icons/assets/pictureFrame.svg b/suite-common/icons/assets/pictureFrame.svg new file mode 100644 index 00000000000..165bc75a5d1 --- /dev/null +++ b/suite-common/icons/assets/pictureFrame.svg @@ -0,0 +1,3 @@ + + + diff --git a/suite-common/icons/assets/trezorSafe7.svg b/suite-common/icons/assets/trezorSafe7.svg index 23f39ff6ba9..fcc6c6f302e 100644 --- a/suite-common/icons/assets/trezorSafe7.svg +++ b/suite-common/icons/assets/trezorSafe7.svg @@ -1,3 +1,3 @@ - + diff --git a/suite-common/icons/assets/trezorSafe7Filled.svg b/suite-common/icons/assets/trezorSafe7Filled.svg index 99465f61732..c70feaf36c6 100644 --- a/suite-common/icons/assets/trezorSafe7Filled.svg +++ b/suite-common/icons/assets/trezorSafe7Filled.svg @@ -1,3 +1,3 @@ - + diff --git a/suite-common/icons/cryptoAssets/cryptoIcons/base.svg b/suite-common/icons/cryptoAssets/cryptoIcons/base.svg index 67c432246a6..ccd5390d4f2 100644 --- a/suite-common/icons/cryptoAssets/cryptoIcons/base.svg +++ b/suite-common/icons/cryptoAssets/cryptoIcons/base.svg @@ -1,4 +1,4 @@ - - - - \ No newline at end of file + + + + diff --git a/suite-common/icons/generateIconFont.ts b/suite-common/icons/generateIconFont.ts index 88f67015002..5961e545b27 100644 --- a/suite-common/icons/generateIconFont.ts +++ b/suite-common/icons/generateIconFont.ts @@ -77,6 +77,7 @@ const usedIcons = [ 'pencilSimpleLine', 'piggyBank', 'piggyBankFilled', + 'pictureFrame', 'plugs', 'plus', 'plusCircle', diff --git a/suite-common/icons/iconFontsMobile/TrezorSuiteIcons.json b/suite-common/icons/iconFontsMobile/TrezorSuiteIcons.json index 9a8aae0bf23..04762a38e50 100644 --- a/suite-common/icons/iconFontsMobile/TrezorSuiteIcons.json +++ b/suite-common/icons/iconFontsMobile/TrezorSuiteIcons.json @@ -32,65 +32,66 @@ "plugs": 61727, "piggyBankFilled": 61728, "piggyBank": 61729, - "pencilSimpleLine": 61730, - "pencilSimple": 61731, - "pencil": 61732, - "password": 61733, - "palette": 61734, - "magnifyingGlass": 61735, - "lock": 61736, - "link": 61737, - "lightbulb": 61738, - "lifebuoy": 61739, - "info": 61740, - "image": 61741, - "house": 61742, - "handPalm": 61743, - "githubLogo": 61744, - "gear": 61745, - "flagCheckered": 61746, - "flag": 61747, - "fingerprintSimple": 61748, - "fingerprint": 61749, - "filePdf": 61750, - "facebookLogo": 61751, - "eyeSlash": 61752, - "eye": 61753, - "discover": 61754, - "detective": 61755, - "database": 61756, - "cpu": 61757, - "copy": 61758, - "coins": 61759, - "coinVerticalCheck": 61760, - "clockClockwise": 61761, - "circleDashed": 61762, - "checks": 61763, - "checkCircleFilled": 61764, - "checkCircle": 61765, - "check": 61766, - "chatCircle": 61767, - "change": 61768, - "caretUpFilled": 61769, - "caretUpDown": 61770, - "caretUp": 61771, - "caretRight": 61772, - "caretLeft": 61773, - "caretDownFilled": 61774, - "caretDown": 61775, - "caretCircleRight": 61776, - "calendar": 61777, - "bugBeetle": 61778, - "bookmarkSimple": 61779, - "backspace": 61780, - "arrowsCounterClockwise": 61781, - "arrowUpRight": 61782, - "arrowUp": 61783, - "arrowURightDown": 61784, - "arrowSquareOut": 61785, - "arrowRight": 61786, - "arrowLineUpRight": 61787, - "arrowLineUp": 61788, - "arrowLineDown": 61789, - "arrowDown": 61790 + "pictureFrame": 61730, + "pencilSimpleLine": 61731, + "pencilSimple": 61732, + "pencil": 61733, + "password": 61734, + "palette": 61735, + "magnifyingGlass": 61736, + "lock": 61737, + "link": 61738, + "lightbulb": 61739, + "lifebuoy": 61740, + "info": 61741, + "image": 61742, + "house": 61743, + "handPalm": 61744, + "githubLogo": 61745, + "gear": 61746, + "flagCheckered": 61747, + "flag": 61748, + "fingerprintSimple": 61749, + "fingerprint": 61750, + "filePdf": 61751, + "facebookLogo": 61752, + "eyeSlash": 61753, + "eye": 61754, + "discover": 61755, + "detective": 61756, + "database": 61757, + "cpu": 61758, + "copy": 61759, + "coins": 61760, + "coinVerticalCheck": 61761, + "clockClockwise": 61762, + "circleDashed": 61763, + "checks": 61764, + "checkCircleFilled": 61765, + "checkCircle": 61766, + "check": 61767, + "chatCircle": 61768, + "change": 61769, + "caretUpFilled": 61770, + "caretUpDown": 61771, + "caretUp": 61772, + "caretRight": 61773, + "caretLeft": 61774, + "caretDownFilled": 61775, + "caretDown": 61776, + "caretCircleRight": 61777, + "calendar": 61778, + "bugBeetle": 61779, + "bookmarkSimple": 61780, + "backspace": 61781, + "arrowsCounterClockwise": 61782, + "arrowUpRight": 61783, + "arrowUp": 61784, + "arrowURightDown": 61785, + "arrowSquareOut": 61786, + "arrowRight": 61787, + "arrowLineUpRight": 61788, + "arrowLineUp": 61789, + "arrowLineDown": 61790, + "arrowDown": 61791 } diff --git a/suite-common/icons/iconFontsMobile/TrezorSuiteIcons.ttf b/suite-common/icons/iconFontsMobile/TrezorSuiteIcons.ttf index c752a59087745b27568609c4df8327fdb5d536de..25576203f3b2194fbbda2d01dfbdf7ec9d22fe46 100644 GIT binary patch delta 557 zcmdn9i1Ec@#t8=Xzi&zWV_;y;VPIgJlAcqUmNn&Y0|Nus5e5eP0~x7_DG^f^_%bjs zJOE;|44?p01Y<9dy$6U@GIC2Q@?8G^XJBA_1H=tE`N@g8rm|*0{Xl7kL%E3+1&qZE z>wt0+K)ym=Vs7g4hw^tA7`$2-7?{cm@{4&(T;q&V85n&2Ffg#ZnYc%pH-Ui>s1}I1 zoF*)v_{NYiVX_=!A*0&l35@oP@slqwE@5KWH2EE)&E$1VXEg=Dsu>u$7?{B<9Uu*~ zoJoLzh2b9192Ou1n)NY$@)G8=jPaWbSa=yZftG_o{N^^+EEcYh@gN02k@(3UINj@a zaKGY_;0fY6!|TP{zo>|{>JddL>Y z?vYcG^O7r)TP62FUP9hazD0hQ`~#pHm^W|YdMqZ)3U=T|hFJ{!3^EJ~45|#elaFX< z`m33ViLfcDEuO;0!NCS5#8|jl1XY2Al8$r!6d^f5c^gJ&bS zbwD`@AYUObF*kMjL-{)l44zLI7?{cm@{4&(7TsY=V_@)!VPIgnJ8_RPZ#)AdP%RMO zYMFRv;u}N8_{nmNg^cQxCotMG#!bG!xMUKO)#Ob~XEpi2Dj66#7?{B<9U#pGG?$No zg#l;>kYoXge~g>Fg83{^3ESjGmOqmxu(0#<0A(3iDnKL<#BJ_j&0?9veX%e3#Du_ieuCo5Q#{+~xg? diff --git a/suite-common/icons/src/icons.ts b/suite-common/icons/src/icons.ts index e037428606f..905c4cafadb 100644 --- a/suite-common/icons/src/icons.ts +++ b/suite-common/icons/src/icons.ts @@ -1825,6 +1825,7 @@ export const icons = { piFilled: require('../assets/piFilled.svg'), pianoKeys: require('../assets/pianoKeys.svg'), pianoKeysFilled: require('../assets/pianoKeysFilled.svg'), + pictureFrame: require('../assets/pictureFrame.svg'), pictureInPicture: require('../assets/pictureInPicture.svg'), pictureInPictureFilled: require('../assets/pictureInPictureFilled.svg'), piggyBank: require('../assets/piggyBank.svg'),