Commit Graph

63 Commits

Author SHA1 Message Date
Szymon Lesisz
2b4232d158 refactor(suite-common): resolve circular deps in @suite-common/thp
just moving the problem one level up
2026-02-16 13:10:32 +01:00
Peter Sanderson
5da09763f3 feat: abstract target/output to use it in native
test: implement test for createTargets
2026-02-12 11:51:16 +01:00
Peter Sanderson
5c06608858 fix: bad dependency flow in staking
fix: move stakingTypes into wallet types

after: rebase fix

fix: more bad typing in staking

fix: more types fixies

chore: add script for File Watcher to fix Webstorm libs imports
2026-02-09 13:44:52 +01:00
Jirka Bažant
298cec4e42 fix(suite-common): Trading: Fix circular dep 2026-02-03 14:24:44 +01:00
Marek Polak
2e1ae32dbf chore(connect): fix dependencies 2026-01-22 10:51:53 +01:00
Marek Polak
15edd1741c refactor(connect): remove StateStorage 2026-01-19 10:56:33 +01:00
Jiří Čermák
e8dbc121b0 refactor: create @suite/intl package and update all related imports
- remove re-exports, use direct imports from @suite/intl
- resolve cir. dep. between suite-data and package/suite
- update imports from @suite-common/intl-types to @suite/intl
- update imports from src/support/messages to @suite/intl
- remove @suite-common/intl-types
- move Translation from @trezor/suite to the new package
2026-01-16 17:44:21 +01:00
Martin Varmuza
254ca2fe7d chore(suite-common): break one import cycle 2026-01-08 15:08:03 +01:00
Jiří Čermák
694c8112ad fix: use direct imports to avoid cir. ESM in device and firmware in suite-native 2025-12-17 13:45:34 +01:00
Jiří Čermák
f102ab50f4 fix(suite): move common util to separate file to avoid cir. ESM in onboarding steps 2025-12-17 13:45:34 +01:00
Jiří Čermák
61daf69708 fix(suite): use direct import to avoid cir. ESM in AnalyticsConsentScreen 2025-12-17 13:45:34 +01:00
Jiří Čermák
e9bce3dd4e fix(suite): prevent cir. ESMs in TransactionReviewModal by moving common types and utils to separate files 2025-12-17 13:45:34 +01:00
Jiří Čermák
e315a5d5cb fix(suite): divide metadata actions to thunks and plain actions to prevent circular esm 2025-12-17 13:45:34 +01:00
Jiří Čermák
8c6eca2c13 fix: circular esm between wallet-core and bluetooth, thp packages 2025-12-17 13:45:34 +01:00
Jiří Čermák
671e8aa1f2 fix(wallet-utils): move amounts utils from accountsUtils to amountsUtils to prevent circular esm 2025-12-17 13:45:34 +01:00
Jiří Čermák
a22149caef fix: move asBaseCurrencyAmount to wallet-types to prevent circular esm 2025-12-17 13:45:34 +01:00
Jiří Čermák
1cf4a52d8e refactor: migrate from useTradingInfo to useTradingAssets
- Create a new hooks for handling trading asset options.
    - It's now currectly memoized, greatly simplified and provides set of network symbols found in the trading info data.
    - Also, the types has been greatly improved. There's now `asset.isNativeToken` boolean which easily narrows types.
- However, this change required to migrate all old types related to this hook including those ones in suite-native workspace.
    - Instead of `toCryptoOption` method, there're now `createAssetOption` and `createDefaultAssetOption` method. Also the `useTradingAssets` hook now returns `createAssetOptionFromCryptoId` method.
2025-12-15 15:06:36 +01:00
Jirka Bažant
468ade049c chore(suite-common): Resolve circular dependency in trading reducer 2025-12-12 21:18:47 +01:00
Martin Varmuza
aa48ab24b9 chore(components): remove some circular imports 2025-12-12 16:08:21 +01:00
Tomas Martykan
7fc1aa8f2e fix(suite): circular deps in connect popup 2025-12-08 13:43:33 +01:00
Jirka Bažant
a4d774c66a fix(suite-native): Resolve circular dependency with device ConfirmOnTrezorWrapperProps 2025-12-03 09:15:18 +01:00
Jirka Bažant
8c7834caa6 fix(suite-native): Resolve circular dependency with navigation StackToTabCompositeProps 2025-12-03 09:15:18 +01:00
Jirka Bažant
190b1a67ce fix(suite-native): Resolve circular dependency with react-native-graph types 2025-12-03 09:15:18 +01:00
Jirka Bažant
92559fabdb fix(suite-native): Resolve circular dependency of device and device-manager module 2025-12-01 12:01:55 +01:00
Jirka Bažant
623bfc41be fix(suite-native): Resolve circular dependency of atoms and navigation modules 2025-12-01 11:22:20 +01:00
Jirka Bažant
7d71615001 fix(suite-native): Resolve circular dependency of helpers and toasts modules 2025-12-01 10:50:23 +01:00
Jirka Bažant
03eb68c602 fix(suite-native): Resolve circular include in ScreenHeader <-> ScreenHeaderContent 2025-12-01 10:50:23 +01:00
Jirka Bažant
1b118bf90b chore(suite-common): Resolve circular dependencies in suite-common/trading types 2025-12-01 10:49:33 +01:00
Jirka Bažant
2d3e854353 chore(suite-common): Resolve circular dependencies in suite-common/trading thunks 2025-12-01 10:49:33 +01:00
Martin Vere Cihlar
887e06b58d refactor(e2e-suite): move from suite-desctop-core to suite 2025-11-30 09:48:39 -04:00
Martin Varmuza
6e9e92c001 chore(connect-explorer-theme): remove circular imports 2025-11-27 18:32:35 +01:00
Martin Varmuza
4c0f4156e5 chore(ipc-proxy): remove circular imports 2025-11-27 18:32:35 +01:00
Martin Varmuza
b6182806da chore(connect-explorer): remove all remaining circular imports 2025-11-27 11:18:55 +01:00
Petr Knetl
d165f93e09 chore(suite-native): remove atoms and icons circular dep 2025-11-13 09:16:47 +01:00
Jiří Čermák
c772307712 refactor(suite): collapse network fees 2025-11-04 16:04:22 +01:00
Martin Varmuza
dda1f3a30c chore(connect-explorer): remove circular deps 2025-10-30 12:24:49 +01:00
Pavlo Syrotyna
41bd234749 feat(suite): cardano staking dashboard and stake modal 2025-10-13 13:20:08 +02:00
Peter Sanderson
ced095fe53 chore: solve few Circular Dependencies in components 2025-10-10 12:04:30 +02:00
Peter Sanderson
b8461e0029 chore: fix circular-imports for suite-desktop-core 2025-10-10 11:59:39 +02:00
Martin Varmuza
78618f8ece chore(connect-explorer-theme): another step removing circulars 2025-10-10 11:41:19 +02:00
Martin Varmuza
dbddb1cfc4 chore(connect-explorer-theme): remove circual dependencies 2025-10-10 11:41:19 +02:00
Martin Varmuza
c66442e05d chore(connect-explorer-theme): remove contexts/index reepxorts 2025-10-10 11:41:19 +02:00
juriczech
da50398ee6 chore(suite-native): cleanup navigation helpers 2025-10-09 10:55:37 +01:00
Jiří Čermák
5c71815cc1 feat(suite): extend tooltip content of account item when sidebar collapsed
- Always display account name (e.g. Ethereum #1)
- Display account item type (staking, tokens)
- Display non-default account type (e.g. Ledger)
- Plus do some basic component refactor to make it a little bit more readable (place styles to seperate files, do some component de-composition, etc.)
2025-10-03 13:23:12 +02:00
Peter Sanderson
f442b79558 fix: hack-fix for selected device vs. thp-device, pick forst THP device insetad of selected one 2025-09-30 14:08:13 +02:00
karliatto
48a9e51a40 chore(scripts): updating circular dependencies file 2025-09-25 17:59:05 +02:00
Peter Sanderson
0ec58ff67b fix: removal of LoggedOutLayout + small refactoring of layout that allows modal switcher on the welcomelayouts
# Conflicts:
#	packages/suite/src/components/suite/layouts/LoggedOutLayout.tsx
2025-09-25 15:08:02 +02:00
Peter Sanderson
bdd87839d0 fix: all new depndencies after rebase & remove depchecks from example
packages
2025-09-18 13:04:25 +02:00
Peter Sanderson
74e9cac84c fix: update masge snapshot (import fix newly discovered more circulars) 2025-09-18 13:04:25 +02:00
Peter Sanderson
96c3f95aad fix: update medge snapshot, some circulars were removed by dependency fixies 2025-09-18 13:04:25 +02:00