Commit Graph

262 Commits

Author SHA1 Message Date
Tomas Boda
6d80f47903 chore: bump @reduxjs/toolkit 2026-02-16 16:11:39 +01:00
Daniel Skýpala
f288b4a588 chore: Bump core-js 2026-02-16 14:29:26 +01:00
Peter Sanderson
bf04aa4807 fix: user service from DI, not to create one in place 2026-02-16 13:36:40 +01:00
Matej Kriz
ecd7aa6fc7 feat(analytics): introduce console logger functionality for analytics on both mobile and desktop
- Delete EXPO_PUBLIC_IS_ANALYTICS_LOGGER_ENABLED evn variable and replace it with toggle in dev utils.
2026-02-12 16:56:49 +01:00
Peter Sanderson
4b17096edc fix: fix the polyfill madness with web3 library
fix correct explanation
2026-02-12 11:51:16 +01:00
Jan Václavík
e81194535a refactor(suite-native): remove legacy analytics and update to new analytics service across multiple components 2026-02-05 09:06:20 +01:00
Peter Sanderson
5be7bd1ab8 fix: mockAccount everywhere 2026-02-02 16:22:37 +01:00
Peter Sanderson
90cff0eff0 fix: use getWalletAccount in test & fix types 2026-02-02 16:22:37 +01:00
Peter Sanderson
1418377d13 fix: tests with bad fixture (removed 'as' cast) 2026-02-02 16:22:37 +01:00
Peter Sanderson
129f04e27f fix: make mocks in separate index-file so they are not mixed with implementation 2026-02-02 12:59:08 +01:00
Peter Sanderson
5f7dd5d807 fix: separate getDeviceMock so it is in the packekage togeter with type that it mocks 2026-02-02 12:59:08 +01:00
Jan Václavík
fc78dc315a refactor(suite): Rename trezor/analytics to trezor/analytics-uploader
# Conflicts:
#	suite-native/analytics/src/getTypedNativeLegacyAnalytics.ts
#	suite/analytics/src/getTypedDesktopLegacyAnalytics.ts

# Conflicts:
#	suite-native/analytics/src/getTypedNativeAnalytics.ts
#	suite/analytics/src/getTypedDesktopAnalytics.ts
2026-01-29 10:35:28 +01:00
Peter Sanderson
7aa8492d94 fix: comment 2026-01-28 13:44:34 +01:00
Vojtěch Tranta
5e9312b503 feat: servicefy migrateSuiteSyncLabelsForRbfTransation 2026-01-28 13:16:30 +01:00
Peter Sanderson
fceb48ad6d chore: move connectInitSettings to services 2026-01-28 10:06:47 +01:00
Peter Sanderson
efbe14d277 chore: convert saveAs into service 2026-01-28 10:06:47 +01:00
Peter Sanderson
dbaaeab93c chore: conver reportSecurityCheck to service
# Conflicts:
#	suite-common/redux-utils/src/extraDependenciesType.ts
2026-01-28 10:06:47 +01:00
Jan Václavík
227bb3b001 refactor(suite): Rename suite-common/analytics to suite-common/analytics-redux 2026-01-27 13:57:06 +01:00
Peter Sanderson
4752b1b565 fix: turning ON the SuiteSync triggers flow only for selected device 2026-01-23 12:02:01 +01:00
Peter Sanderson
e39da40572 chore: separate ExtraDependencies mocks 2026-01-23 01:26:53 +01:00
Vojtěch Tranta
f38bf816d3 fix: move the routerServices to services: and rename to SuiteRouterHistory 2026-01-21 16:02:21 +01:00
Jan Václavík
84cf54e47b fix(suite): Fix tests 2026-01-17 21:10:25 +01:00
Jan Václavík
4178e9681c fix(suite): Update PR according to code review 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
Vojtěch Tranta
6ad9752e26 fix: ensure that the suite sync is turned on even when titles are just updated
chore: Improve tests a lot, add a tolling to mock dependencies

chore: I really hate jest

chore: even more

fix: more

fix: PlatformEncryption naming

fix: remove needless ensureSuiteSync from createUpdate* tables

fix: update project deps

fix: yolo mock fix

fix: bool

fix: mock

fix: rename error Refresh suite sync key unavailable to general unavaialble suite sync
2026-01-15 09:05:07 +01:00
Marek Polak
a101765c14 refactor(suite): better routerServices typing 2026-01-08 17:12:45 +01:00
Marek Polak
0551669978 refactor(suite): add listen to routerServices 2026-01-08 17:12:45 +01:00
Peter Sanderson
47f2cc48d5 fix: use AccountDescriptor as branded type 2026-01-08 09:24:34 +01:00
Jiri Zbytovsky
4eb3200ccb chore: bump misc CI-related dependencies 2026-01-06 10:07:56 +01:00
Peter Sanderson
876ed63ae5 fix: error handling for labeling updates 2025-12-15 18:04:07 +01:00
Peter Sanderson
fa92298c4b feat: encrypt suiteSyncOwner 2025-12-15 18:04:07 +01:00
Tomas Boda
6147797599 chore: bump @reduxjs/toolkit 2025-12-15 10:47:12 +01:00
Peter Sanderson
c593516d13 chore: rename SecureStorage to PlatformEncryption, it does not store
chore: rename SecureStorage to PlatformEncryption, it does not store anything
2025-12-12 13:04:06 +01:00
Peter Sanderson
1a87fc7333 feat: introduce suite-sync-types to handle circular imports in extraDeendencies 2025-12-09 14:39:04 +01:00
Peter Sanderson
a61d8db4e1 chore: types & stuff, fix after ciclic madness 2025-12-09 14:39:04 +01:00
Peter Sanderson
a5d5ccb2d7 Revert "chore: separate servicies from Redux thunks extra, this is huge circular deps issue source"
This reverts commit a9cb0afdae.
2025-12-09 14:39:04 +01:00
Peter Sanderson
d2ef109595 chore: separate servicies from Redux thunks extra, this is huge circular deps issue source 2025-12-09 14:39:04 +01:00
Tomas Boda
7022e1825c chore(suite): remove unused wallet.blockchain.explorer 2025-12-05 15:27:25 +01:00
Peter Sanderson
3bf846dd5d feat: safe storage
fix: package naming

feat: implement Secure Storage Debug
2025-12-03 15:40:27 +01:00
Vojtěch Tranta
5595990b55 fix: make services are available in the additional middlewares 2025-12-03 14:37:03 +01:00
Peter Sanderson
595cf7abd9 chore: un-thunk subscribe/unsubscribe
fix: fixup

chore: turn off sync
2025-12-03 14:37:03 +01:00
Vojtěch Tranta
a628af18c5 chore: add test for ChangeRelay
feat(suite): add option to pass extra dependencies factory to store and as extra thunk parameter and use it freely also from react context

chore: change Relay Test

# Conflicts:
#	suite-native/suite-sync/package.json
#	suite/suite-sync/package.json
#	yarn.lock
2025-12-01 11:38:10 +01: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
Peter Sanderson
bd7e1481c2 chore: rename LocalFirstStorage to SuiteSync 2025-11-25 10:18:45 +01:00
Peter Sanderson
d1020fdb34 chore: Refactoring to properly solve dependencis and abstraction for Evolu vs. Suite Sync 2025-11-25 09:44:44 +01:00
Peter Sanderson
8c46edd82b chore: correct naming for SuiteSyncOwner (abstract-type) for Evolu 2025-11-24 13:23:57 +01:00
tomasklim
55a132183d chore(suite): do not fetch not working cardano pools data 2025-11-24 10:01:22 +01:00
Peter Sanderson
939581ee34 chore: refactor initEvoluThunk from redux toolkit, to simple
Resut<OK,ERR> pattern
2025-11-20 16:09:16 +01:00
Peter Sanderson
8dc14e06db fix: test snapshot 2025-11-14 20:58:05 +01:00