Commit Graph

27848 Commits

Author SHA1 Message Date
Vojtěch Tranta
d801f4f544 fix: lints / formatting 2026-01-17 21:10:25 +01:00
Vojtěch Tranta
ef49131dc4 fix: remove unused import 2026-01-17 21:10:25 +01:00
Vojtěch Tranta
9f53917c18 fix: analytics middleware double call of next() causes double dispatch 2026-01-17 21:10:25 +01:00
Vojtěch Tranta
37abec2de8 fix: not initalized analytics middleware 2026-01-17 21:10:25 +01:00
Jan Václavík
5cbbbe6762 fix(suite): Fix tests 2026-01-17 21:10:25 +01:00
Vojtěch Tranta
34947336cf fix: typing in recoveryActions add prepare mock store function 2026-01-17 21:10:25 +01:00
Jan Václavík
913204b19f fix(suite): Fix tests and typecheck 2026-01-17 21:10:25 +01:00
Jan Václavík
9d37d98581 feat(suite): Refactor analytics
feat(suite): Divide analytics to relevant packages

refactor(suite): Split suite-common/analytics

fix(suite): Fix errors

fix(suite): Update codeowners

fix(suite): Fix undefined in event attributes

fix(suite): Fix suite-native tests

chore: split Services for Native vs Desktop

refactor(suite): Polish @suite-common/analytics

refactor(suite): Polish @suite/analytics and @suite-native/analytics

refactor(suite): Add analytics and legacyAnalytics to extraDependencies

refactor(suite): add useAnalytics and useLegacyAnalytics for desktop/native

refactor(suite): use analytics reporting in thunks

refactor(suite): fix naming and event type

refactor(suite): Refactor existing analytics reporting

refactor(suite): Refactor existing analytics reporting

refactor(suite): Refactor existing analytics reporting in actions

refactor(suite): Delete generate docs

refactor(suite): Fix analytics in middleware

refactor(suite): Refactor useLegacyAnalytics for suite native

fix(suite): Fix errors

fix(suite): Fix errors

fix(suite): Fix issues from code review

fix(suite): Fix side effect in guideActions

refactor(suite): Create getTypedNativeLegacyAnalytics and getTypedDesktopLegacyAnalytics

fix(suite): Fix type errors

refactor(suite): Extract types from suite-common/analytics to separated package

fix(suite): Fix bugs

fix: missing shared legacy analytics type in desktop analytics type

fix(suite): Fix errors

refactor(suite): Refactor useLegacyAnalytics and useAnalytics to new package structure

fix(suite): Fix depchecks

fix(suite): Fix yarnlock and depchecks

fix(suite): Update project refs

WIP

fix: desktop services typing from extra

WIP

# Conflicts:
#	packages/suite/src/hooks/suite/useLabelingCombined.ts
#	suite-native/app/src/navigation/AppTabNavigator.tsx

# Conflicts:
#	packages/suite-desktop-ui/package.json
#	packages/suite-desktop-ui/src/support/DesktopUpdater/EarlyAccessDisable.tsx
#	packages/suite-desktop-ui/src/support/DesktopUpdater/EarlyAccessEnable.tsx
#	packages/suite-desktop-ui/tsconfig.json
#	packages/suite/src/actions/suite/suiteActions.ts
#	packages/suite/src/components/connection/BluetoothConnectionModal.tsx
#	packages/suite/src/components/connection/CantSeeTrezorModal.tsx
#	packages/suite/src/components/connection/ConnectDeviceGlobalModal.tsx
#	packages/suite/src/components/guide/Feedback.tsx
#	packages/suite/src/components/guide/Guide.tsx
#	packages/suite/src/components/guide/SupportFeedbackSelection.tsx
#	packages/suite/src/components/suite/PrerequisitesGuide/DeviceConnect.tsx
#	packages/suite/src/components/suite/bluetooth/BluetoothDeviceListItem.tsx
#	packages/suite/src/components/suite/layouts/SuiteLayout/PageHeader/GlobalSendReceive/GlobalReceiveModal/GlobalReceiveModal.tsx
#	packages/suite/src/components/suite/layouts/SuiteLayout/PageHeader/GlobalSendReceive/GlobalSendReceiveButtons.tsx
#	packages/suite/src/components/suite/layouts/SuiteLayout/PageHeader/HeaderDropdown.tsx
#	packages/suite/src/components/suite/layouts/SuiteLayout/PageHeader/TradeActions.tsx
#	packages/suite/src/components/suite/modals/ReduxModal/ConfirmValueModal/ConfirmValueModal.tsx
#	packages/suite/src/components/suite/modals/ReduxModal/TransactionReviewModal/TransactionReviewModalBodyInner.tsx
#	packages/suite/src/components/suite/modals/ReduxModal/TransactionReviewModal/TransactionReviewOutputList/TransactionReviewModalBottomContent.tsx
#	packages/suite/src/components/suite/modals/ReduxModal/UserContextModal/AddAccountModal/AddAccountButton/AddAccountButton.tsx
#	packages/suite/src/components/suite/modals/ReduxModal/UserContextModal/AddTokenModal.tsx
#	packages/suite/src/components/suite/modals/ReduxModal/UserContextModal/ApproveModal.tsx
#	packages/suite/src/components/suite/modals/ReduxModal/UserContextModal/AutoStartBeforeQuitModal.tsx
#	packages/suite/src/components/suite/modals/ReduxModal/UserContextModal/ClaimModal/ClaimModal.tsx
#	packages/suite/src/components/suite/modals/ReduxModal/UserContextModal/ConfirmUnverifiedModal.tsx
#	packages/suite/src/components/suite/modals/ReduxModal/UserContextModal/ConnectPermissionsModal.tsx
#	packages/suite/src/components/suite/modals/ReduxModal/UserContextModal/MultiShareBackupModal/MultiShareBackupModal.tsx
#	packages/suite/src/components/suite/modals/ReduxModal/UserContextModal/RevokeModal.tsx
#	packages/suite/src/components/suite/modals/ReduxModal/UserContextModal/StellarManageTokenModal.tsx
#	packages/suite/src/components/suite/modals/ReduxModal/UserContextModal/UnstakeModal/UnstakeForm/UnstakeButton.tsx
#	packages/suite/src/components/suite/modals/ReduxModal/UserContextModal/UnstakeModal/UnstakeModal.tsx
#	packages/suite/src/components/wallet/WalletLayout/AccountBanners/StakingBanner.tsx
#	packages/suite/src/components/wallet/WalletLayout/AccountTopPanel/AccountNavigation.tsx
#	packages/suite/src/hooks/settings/backends/useBackendsForm.ts
#	packages/suite/src/hooks/suite/useChangeDeviceLabel.ts
#	packages/suite/src/hooks/wallet/trading/form/useTradingExchangeForm.ts
#	packages/suite/src/hooks/wallet/trading/form/useTradingSellForm.ts
#	packages/suite/src/views/dashboard/AssetsView/AssetCard/AssetCard.tsx
#	packages/suite/src/views/dashboard/AssetsView/AssetTable/AssetRow.tsx
#	packages/suite/src/views/dashboard/DashboardFooter.tsx
#	packages/suite/src/views/dashboard/StakingDashboard/StakingDashboardAccountRow.tsx
#	packages/suite/src/views/onboarding/steps/DeviceAuthenticityStep/SecurityCheck.tsx
#	packages/suite/src/views/settings/SettingsDevice/AutoLock.tsx
#	packages/suite/src/views/settings/SettingsDevice/Brightness.tsx
#	packages/suite/src/views/settings/SettingsDevice/ChangePin.tsx
#	packages/suite/src/views/settings/SettingsDevice/DisplayRotation.tsx
#	packages/suite/src/views/settings/SettingsDevice/ForgetDevice.tsx
#	packages/suite/src/views/settings/SettingsDevice/HapticFeedback.tsx
#	packages/suite/src/views/settings/SettingsDevice/MultiShareBackup.tsx
#	packages/suite/src/views/settings/SettingsDevice/Passphrase.tsx
#	packages/suite/src/views/settings/SettingsDevice/PinProtection.tsx
#	packages/suite/src/views/settings/SettingsDevice/ThpAutoconnect.tsx
#	packages/suite/src/views/settings/SettingsDevice/WipeCode.tsx
#	packages/suite/src/views/settings/SettingsDevice/WipeDevice/WipeDeviceModal.tsx
#	packages/suite/src/views/settings/SettingsGeneral/AddressDisplay.tsx
#	packages/suite/src/views/settings/SettingsGeneral/AutoEject.tsx
#	packages/suite/src/views/settings/SettingsGeneral/BaseCurrency.tsx
#	packages/suite/src/views/settings/SettingsGeneral/BioAuthSettings.tsx
#	packages/suite/src/views/settings/SettingsGeneral/DesktopSuiteBanner.tsx
#	packages/suite/src/views/settings/SettingsGeneral/Labeling.tsx
#	packages/suite/src/views/settings/SettingsGeneral/Language.tsx
#	packages/suite/src/views/settings/SettingsGeneral/MevProtection.tsx
#	packages/suite/src/views/settings/SettingsGeneral/NetworkReserve.tsx
#	packages/suite/src/views/settings/SettingsGeneral/Theme.tsx
#	packages/suite/src/views/settings/SettingsGeneral/TorOnionLinks.tsx
#	packages/suite/src/views/suite/SwitchDevice/DeviceItem/EjectConfirmation.tsx
#	packages/suite/src/views/suite/SwitchDevice/SwitchDevice.tsx
#	packages/suite/src/views/wallet/send/Outputs/Address.tsx
#	packages/suite/src/views/wallet/send/SendRaw.tsx
#	packages/suite/src/views/wallet/staking/components/StakingDashboard/components/ClaimCard.tsx
#	packages/suite/src/views/wallet/staking/components/StakingDashboard/components/EmptyStakingCard.tsx
#	packages/suite/src/views/wallet/staking/components/StakingDashboard/components/NewProviderCard.tsx
#	packages/suite/src/views/wallet/staking/components/StakingDashboard/components/StakingCard.tsx
#	packages/suite/src/views/wallet/tokens/TokensNavigation.tsx
#	packages/suite/src/views/wallet/tokens/common/TokensTable/TokenRow.tsx
#	packages/suite/src/views/wallet/trading/common/TradingDetail/TradingDetailBuy/TradingDetailBuy.tsx
#	packages/suite/src/views/wallet/trading/common/TradingDetail/TradingDetailExchange/TradingDetailExchange.tsx
#	packages/suite/src/views/wallet/trading/common/TradingDetail/TradingDetailSell/TradingDetailSell.tsx
#	packages/suite/src/views/wallet/trading/common/TradingForm/TradingFormApproval.tsx
#	packages/suite/src/views/wallet/trading/common/TradingLayout/TradingLayoutNavigation.tsx
#	packages/suite/src/views/wallet/trading/common/TradingSelectedOffer/TradingOfferExchange/TradingOfferExchange.tsx
#	packages/suite/src/views/wallet/trading/common/TradingSelectedOffer/TradingOfferSell/TradingOfferSellTransaction.tsx
#	packages/suite/src/views/wallet/transactions/TradeBox/TradeBox.tsx
#	packages/suite/src/views/wallet/transactions/TransactionList/TransactionListActions/ExportAction.tsx
#	packages/suite/src/views/wallet/transactions/components/AccountEmpty.tsx
#	suite/e2e/package.json
#	suite/e2e/tsconfig.json
#	yarn.lock
2026-01-17 21:10:25 +01:00
Jaroslav Hrách
87c4399d3d fix(suite): allow account details on discovery error 2026-01-16 22:56:19 +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 Vere Cihlar
726149a638 chore(e2e-suite): remove legacy snapshot verification 2026-01-16 17:26:01 +01:00
Seibei Iguchi
d8bfaf5388 refactor(components): update Banner component to use description and title prop instead of children 2026-01-16 16:56:28 +01:00
Ondra-zik-SL
78698be34b feat(e2e): add manual suite-native E2E tests and update testAnnotations 2026-01-16 16:34:53 +01:00
Jirka Bažant
00ec0760ba fix(suite-native): Trade: fix shaking animation in trading inputs 2026-01-16 16:09:18 +01:00
Martin Vere Cihlar
c7946f85fe fix(e2e-suite): add missing locator for recovery modal 2026-01-16 15:47:21 +01:00
Petr Knetl
8f5329c0f3 docs(suite-native): storybook deployment docs 2026-01-16 15:17:29 +01:00
Petr Knetl
e6215c6854 feat(suite-native): storybook atoms 2026-01-16 15:17:29 +01:00
Petr Knetl
1121d1132a feat(suite-native): storybook preview improvements 2026-01-16 15:17:29 +01:00
karliatto
a690337ad0 ci(github): test building local packages connect 2026-01-16 14:57:18 +01:00
karliatto
e17ec94c84 feat(scripts): builb local packages 2026-01-16 14:57:18 +01:00
Jirka Bažant
656a8477bc chore(suite-native): Remove deprecated Trading header behavior 2026-01-16 14:18:27 +01:00
Matus Balascak
02024e876a chore(suite-common): lowercase search string in asset picker 2026-01-16 13:34:26 +01:00
Matus Balascak
859f0d105d test(suite): change token symbol casing in solana e2e tests 2026-01-16 13:34:26 +01:00
Ondrej Hajek
f6d1e5da8a feat(e2e): Added PW project builder for cleaner PW configuration 2026-01-16 12:32:18 +01:00
Jirka Bažant
0acb6989d6 chore(suite-native): Use new sync render methods in trading tests 2026-01-16 11:28:30 +01:00
Jirka Bažant
ea761e7e17 chore(suite-native): Update test-utils to initialize redux store synchronously 2026-01-16 11:28:30 +01:00
Martin Vere Cihlar
b8306c91c8 fix(e2e-native): fixes transformIgnorePatterns in reporter config 2026-01-16 11:28:04 +01:00
Jirka Bažant
6fe32ab883 chore(suite-native): Trade: update fiat and asset button colors 2026-01-16 11:26:43 +01:00
Jiří Čermák
809ff94bdc feat: add non-tradable tokens sections in From asset picker in trading
Non-tradable tokens are list of tokens which aren't supported by our trading backend.
2026-01-16 10:46:55 +01:00
Peter Sanderson
d27605c088 fix: Better error for turn on suite sync 2026-01-16 10:46:21 +01:00
Ondra-zik-SL
d5ea7488dc feat(nix): centralize Android development for nix flake/shell 2026-01-16 10:20:38 +01:00
Jirka Bažant
b49439a4f3 chore(suite-native): fix act warnings in module-onboarding unit-tests 2026-01-16 09:14:35 +01:00
Jirka Bažant
f1fe35a1a1 chore(suite-native): fix act warnings in module-trading unit-tests 2026-01-16 09:14:35 +01:00
Jirka Bažant
22c1217382 chore(suite-native): fix unstable selectAllAddressesForWallet selector 2026-01-16 09:14:35 +01:00
Jirka Bažant
af8116f11d chore(suite-native): stabilize useAddressValidationAlerts unit tests 2026-01-16 08:26:41 +01:00
Jirka Bažant
142bd3f34f chore(suite-native): Fix content overflow of CountryListItem 2026-01-16 08:26:24 +01:00
Tomas Martykan
b9a06bfb5d fix(connect): setProxy permissions 2026-01-15 17:59:13 +01:00
Jiří Čermák
eb273c60b3 feat: add hidden tokens to global send
- Divide useAccountWithTokensOptions hook for global send and for From asset picker in trading.
- Add "Hidden tokens" (`hiddenWithBalance`) group to each account in global send.
2026-01-15 17:00:49 +01:00
brantalikp
cc37b54a03 fix(suite-native): fix account list bottom sheet behaviour 2026-01-15 16:16:28 +01:00
brantalikp
f93777517a fix(suite-native): fix coin stroke contrast in dark mode 2026-01-15 16:16:04 +01:00
brantalikp
e3398df09d fix(suite-native): fix input error msg styles 2026-01-15 16:15:47 +01:00
Jiří Čermák
8966acf9c8 refactor: trading e2e tests 2026-01-15 16:10:16 +01:00
Jiří Čermák
b44c80ec6d refactor: remove unused TradingAddressOptions component 2026-01-15 16:10:16 +01:00
Jiří Čermák
dc88197b76 fix: prevent unwated scroll position resets in asset picker of From field 2026-01-15 16:10:16 +01:00
Jiří Čermák
8a0753c2d6 refactor: finish integration of new asset picker for From field in trading (sell, swap) 2026-01-15 16:10:16 +01:00
Jiří Čermák
04d4699c05 refactor: integrate new asset picker to sell for the from field 2026-01-15 16:10:16 +01:00
Jiří Čermák
5066da3660 refactor: integrate new asset picker to exchange for the from field 2026-01-15 16:10:16 +01:00
Jiří Čermák
c2fa023a41 refactor: pass only decimals prop to TradingBalance component 2026-01-15 16:10:16 +01:00
juriczech
f538a0ad27 feat(suite-native): suite sync debug 2026-01-15 16:01:17 +01:00
yanas
b88c864cc0 refactor(suite-common): simplify RateLimiter implementation 2026-01-15 14:54:58 +01:00