107 Commits

Author SHA1 Message Date
juriczech
7ec1eeaaf5 chore(suite): exclude publishable libs from eslint deep imports rule 2026-02-23 15:48:08 +01:00
juriczech
d13595d0e2 chore(suite): enable rule for @trezor 2026-02-23 12:35:24 +01:00
juriczech
1fb8f36d3a fix(suite): direct imports removal 2 2026-02-23 12:35:24 +01:00
Jirka Bažant
45e4e38421 chore(suite-native): rename component and hook test files for consistency 2026-02-19 15:09:09 +01:00
Seibei Iguchi
ce71b08bb2 refactor(theme): standardize typography styles across components 2026-02-19 14:04:05 +01:00
Matej Kriz
664e558504 fix(suite-native): fix address formatter
-  It was not working for account labels because it was using the address as the accountKey.
- The last change caused it to crash.
-  Removing the old, non-functional functionality. AddressFormatter can be merged with AddressLabel as a follow-up.
2026-02-09 12:35:34 +01:00
Peter Sanderson
f992d2c490 fix: bad accountLabel in receive screen 2026-02-06 13:57:12 +01:00
Petr Knetl
ac37cefa67 fix(suite-native): Fix scam transactions infinite loading state
When scam/phishing transactions have tokens without fiat rates,
the formatters were showing an infinite loading skeleton instead
of hidden/discreet content.

This fix checks for `isForcedDiscreetMode` (set for phishing
transactions) before showing the skeleton, and displays a hidden
placeholder value instead.

Fixes #24717
2026-02-06 10:26:24 +01:00
tomasklim
8e8b7c8211 chore(suite-native): remove # from tx id 2026-01-29 11:51:48 +01:00
brantalikp
1aaff9d7c5 fix(suite-native): fix formatter for empty amount transactions 2026-01-26 15:43:11 +01:00
brantalikp
d5066d9e05 fix(suite-native): add skeleton loader for token list item 2026-01-12 14:21:53 +01:00
Peter Sanderson
0643f534fe feat: prototype of Native Platform Encryption 2026-01-07 09:48:00 +01:00
Jiří Čermák
a22149caef fix: move asBaseCurrencyAmount to wallet-types to prevent circular esm 2025-12-17 13:45:34 +01:00
juriczech
75d529c243 feat(suite-native): transaction detail module 2025-12-11 16:39:24 +01:00
Petr Knetl
c98fb409f5 refactor(suite-native): save system locale to redux 2025-12-01 16:47:09 +00:00
Vojtěch Tranta
a3ff0ff558 feat(suite): add option to pass extra dependencies factory to store and as extra thunk parameter and use it freely also from react context
fix: magic fix for extra in middlewares

fix(suite): make sure that the thunk middleware is added first so that other middlewares also can use it
2025-11-27 22:00:57 +01:00
Jirka Bažant
1b26dbdd04 chore(suite-native): test-utils and types should be listed as devDependencies 2025-11-20 12:21:58 +01:00
Jirka Bažant
810e313c8a chore(suite-native): Add tests for TokenAmountFormatter 2025-11-20 12:21:58 +01:00
Petr Knetl
0e705205ce fix(suite-native): format of phishing transactions value 2025-11-20 09:30:15 +01:00
Petr Knetl
5716e2a72d feat(suite-native): czech language as community (beta) 2025-11-10 17:24:20 +01:00
Petr Knetl
76c584ea19 fix(suite-native): graph formatter without formatToParts 2025-11-10 16:34:29 +01:00
Petr Knetl
d7ec77283a feat(suite-native): localization of base currency amounts 2025-11-06 11:27:04 +01:00
Petr Knetl
65a8820c3a feat(suite-native): localization of crypto amounts 2025-11-06 11:27:04 +01:00
Jirka Bažant
156fbe2a64 chore(suite-native): Remove circular dependency test-utils -> formatters 2025-10-31 18:07:31 +01:00
Jirka Bažant
1c12d92899 chore(suite-native): Export formatNumberWithThousandCommas 2025-10-02 23:59:25 +02:00
Peter Sanderson
3c6e711ce6 chore: rename currency & fiat to BaseCurrency for consistency 2025-08-12 10:12:42 +02:00
Peter Sanderson
d2fd2da55b fix: refactor (bold claim) formatting of a large base-currency number 2025-07-28 16:08:25 +02:00
Peter Sanderson
e70bc25056 fix: make UI reflect better that when BTC is base currency, there is no 'Fiat' value 2025-07-28 16:08:25 +02:00
Peter Sanderson
a97fab0ca1 fix: value for sats and BTC as base currency above Movile Graph 2025-07-24 16:24:07 +02:00
Peter Sanderson
ef6243f4fb fix: extract the sendform format & convert logic to utils and use it for recalculateFiat (send-max) as well 2025-07-23 13:40:18 +02:00
Peter Sanderson
c6ceccf061 chore: extract repeaded code for checking if BaseCurrency is BTC in Sats 2025-07-23 13:40:18 +02:00
Peter Sanderson
aae405680e chore: add //Todo: warrning about duplicated code-logic 2025-07-23 13:40:18 +02:00
Peter Sanderson
9978ed272b fix: work with big numbers in Native Assets page to fix the rounding issue (it was hardcoded to 2) 2025-07-23 13:40:18 +02:00
Peter Sanderson
25babe8b7d feat: use BaseCurrencyAmount for fiat rates as much as possible, also utilize it for displaying Significcatnt Digits
# Conflicts:
#	packages/suite/src/utils/wallet/graph/utilsWorker.ts
2025-07-11 09:19:48 +02:00
Peter Sanderson
750b359239 chore: more renaming of Fiat -> BaseCurrency 2025-07-04 09:57:48 +02:00
Matej Kriz
ec28fca257 fix(suite-native): stop overriding letter spacing fix
- The `resetLetterSpacingOnAndroidStyle` style was being overridden by the custom style passed via props. Now, the styles are merged in the correct order.
2025-06-09 11:13:17 +02:00
Jirka Bažant
39c4237e94 chore(suite-native): update test providers to accept FormatterProviderConfig 2025-05-28 14:52:39 +02:00
Tomas Martykan
dad7111eb6 chore: unify suite and native wallet settings 2025-05-19 13:52:13 +02:00
Jan Václavík
309457058c feat(ds): Create typography.inherit and use it in Link as default (#17810)
* feat(ds): Create typography.inherit and use it in Link as default

* fix(ds): Divide typography and nativeTypography

* fix(suite): Update naming and don't show px when inherit
2025-03-26 18:05:50 +01:00
Petr Knetl
8f20631304 test(suite-native): settings e2e 2025-03-19 13:34:19 +01:00
yanas
761b542bc0 fix(suite-native): prevent layout shift on coin price card 2025-03-13 13:15:57 +01:00
Matej Kriz
4ccb7d3e36 fix(suite-native): apply letterSpacing workaround on Connecting title 2025-02-18 15:58:45 +01:00
Martin Vytick Vytrhlík
65583b294c feat(suite-native): use crypto icon with network 2025-02-11 11:45:01 +01:00
yanas
04988b2deb chore(suite-native): autofix for sort-imports eslint rule 2025-01-30 15:03:34 +01:00
Peter Sanderson
64fcbde4bd chore: enable ESLint rule for as-needed | auto-fix 2025-01-10 10:58:46 +01:00
Martin Homola
9aca381b9d chore(suite): update network symbol naming 9 2024-12-07 19:19:14 +09:00
Martin Homola
a83ce9ee45 chore(suite): update network symbol naming 8 2024-12-07 01:29:02 +09:00
Steven Luscher
c67cdea030 chore: Port @trezor/blockchain-link to @solana/web3.js v2
1. Added an RPC subscriptions instance to the `API` type
2. Added code to throw in the event that the transaction is a durable nonce transaction. A little extra work would have to be done to import and construct the durable nonce transaction confirmer.
3. Added a `FIXME` explaining why it would be better to save the `lastValidBlockhash` at the time the transaction was first given a blockhash lifetime, instead of fetching a too-new one in `pushTransaction`
4. Eliminated all of the custom transaction confirmation code, in favour of the new built-in routines.
5. Added a `FIXME` to note that the `fetch()` API typically doesn't allow you to override the `Origin` header. I didn't test whether your runtime actually allows it or not.

Note that all RPC methods are now cancellable via `AbortController`, if you supply an `AbortSignal` to the send/subscribe methods (ie. `.send({ abortSignal })`)
2024-11-29 17:51:12 +09:00
Petr Knetl
45ee4cc2df fix(suite-native): amount formatters loading prop 2024-11-19 09:53:44 +01:00
Daniel Suchý
a33bf1d19f chore: replace proxy-memoize with reselect (#15333) 2024-11-11 23:24:39 +01:00