Commit Graph

16 Commits

Author SHA1 Message Date
Jiří Čermák
c4f4153f9d fix(suite-common): include non-hex plaform contracts too in updateIcon 2025-11-21 12:42:08 +01:00
Jiří Čermák
4c2574b31a refactor: download crypto icons
- Don't store different image densities (qualities), store just different image size instead.
- Simplify usage of `getAssetLogoUrl` util
2025-11-20 14:36:56 +01:00
Jiří Čermák
345939f9e5 feat(suite): add redux slice for global send and receive
It's not possible to use the existing accountSearchReducer, the search would conflict with the accounts search in the sidebar.
2025-11-20 14:01:54 +01:00
Jiří Čermák
9aba3112ce feat: add new GlobalSendModal 2025-11-20 14:01:54 +01:00
Jiří Čermák
4c8f531277 fix(suite-common): catch getCoinData error and add progress to logs 2025-11-11 17:44:11 +01:00
Jiří Čermák
2b8cde5e13 fix(suite-common): update download crypto icons script 2025-11-11 09:25:43 +01:00
Jiří Čermák
df1181f519 refactor(suite-common): adjust download crypto icons limits 2025-11-10 14:47:53 +01:00
Jiří Čermák
7094a02dd1 chore: update download crypto icons script
- use async methods
- filter our invalid contract address (only related to `KASPY`, it was actually an debug/error message)
- don't create FILES_CRYPTOICONS_PATH if it already exists
- increase rate limit per minute to 90 (by 50%)
2025-11-10 12:03:17 +01:00
Jiří Čermák
3adf35323e chore: add more logs to download crypto icons script 2025-11-09 13:18:01 +01:00
Jiří Čermák
28e951aaa7 refactor: extend coin image sizes
- Currently, it was possible to generate coin images from Coingecko only in single size (24x24) in two image qualities (1x, 2x).
- Now it's possible to easily add additionally sizes to the `COIN_IMAGE_SIZES` or qualities to `COIN_IMAGE_QUALITIES`.
- This required to change the generated image name. I made sure to update all existing occurances, mainly the `getAssetLogoUrl` util to stay backwards compatible.

Coin image name:
```
 type OldCoinImageName = `${string}--{'' | '2x'}.webp`
 type NewCoinImageName = `${string}--${24 | 40}{'' | '2x'}.webp`
```
2025-11-07 07:30:42 +01:00
Seibei Iguchi
5fdfa052cb fix(ci): token icons download script 2025-04-23 09:44:30 +02:00
Adam Havel
492915d623 feat(components): add new set of icons 2024-09-04 15:53:48 +02:00
Michal Vaněk
e9a2e1efc5 fix(coin-icons): always save icon by coin id (#13915) 2024-08-27 13:40:33 +02:00
Michal Vanek
e86c3fea59 feat(coin-icons): change network separator 2024-08-16 11:11:23 +02:00
Michal Vanek
3b1051bc4b fix(crypto-icons): fix sort function 2024-07-15 15:26:43 +02:00
Michal Vanek
4a557b3fe1 feat(crypto-icons): download crypto icons from Coingecko 2024-07-09 13:27:26 +02:00