Commit Graph

279 Commits

Author SHA1 Message Date
Tomas Boda
6d80f47903 chore: bump @reduxjs/toolkit 2026-02-16 16:11:39 +01:00
Jiri Zbytovsky
90a1c8ea0b test(native-e2e): initialize store with default full preloadedState 2026-02-16 16:04:12 +01:00
Jiri Zbytovsky
4cc7b5cb77 chore(suite-common): consistently export all reducer initial states 2026-02-16 16:04:12 +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
Matej Kriz
f0500bb4fb feat(suite-native): add custom analytics URL support for mobile
- Store custom analytics url in common analytics reducer.

- Add AnalyticsUrlControl component to Dev Utils screen allowing users to
override the analytics endpoint URL at runtime.
2026-02-12 16:56:49 +01:00
karliatto
f373e4c9f5 chore(suite-native): rename to firmwareChannel 2026-02-12 10:16:29 +01:00
Petr Knetl
eb7dc08edd fix(suite-native): services provider in graph 2026-02-10 10:46:59 +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
Jirka Bažant
58b07e994b feat(suite-native): Trading: Log trading errors to sentry 2026-02-04 06:57:31 +01:00
Petr Knetl
2fc024faca refactor(suite): enhance common logger middleware 2026-01-29 11:12:22 +01:00
vytick
0e7d9e0daa chore(suite-native): bump rozenite deps 2026-01-28 14:12:21 +01:00
Vojtěch Tranta
8d29b67f9c fix: create migration rbf compsition root 2026-01-28 13:16:30 +01:00
Peter Sanderson
657d5c3efa chore: introduce toGetter to convert selector to service 2026-01-28 13:16:30 +01:00
Vojtěch Tranta
5790213fbc fix: pass properly deps to update and delete the labels to the migration 2026-01-28 13:16:30 +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
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
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
yanas
dcdb9669fe feat(suite-native): allow usage of custom Electrum backend for BTC 2026-01-19 13:16:48 +01:00
Marek Polak
1f5d7a30a2 chore(connect): remove popup param 2026-01-19 10:56:33 +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
4655fb3413 fix(suite): Fix issues from code review 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
Peter Sanderson
c08d61b267 chore: SuiteSync Tables (proper domain entities)
wip: vibe coding slicer

fix the id of hte account

wip: use the labeling selection for the wallet label

wip: applying the evolu state to redux

wiP: scope data under wallet

working version of sliced data

fix: remove unnecessary subscribo code, no longer relevant

fix: bumch of ts errors that were lighting up around

fix: test imports of suite sync types

fix: adapt the code for the suite sync selectors in metadataThunks

fix: suite sync adata selection in AddressLabel

fix: selecct suite sync data in AddressLabelEditable

fix: data selection for suite sync in TransactionUTxoAddress

fix: suite sync data selection in TransactionOutputLabel

fix: seledction of the suite sync data in WalletLabel

fix: suite sync data selection in AccountsListItem

fix: suite sync data sselection in AccountListAddressItem

fix: suite sync data selection in AccountDetailScreenHeader

fix: suite sync adata selection in AccountRenameForm

fix: suite sync data selection AccoutnSettingsScreen

fix: suite sync data selection in UsedAddresses

fix: suite sync data selection in UtxoSelection

fix:  remove labeling reducer

fix: suite sync data selection in AccountsList

fix: suite sync data selection in COnfirmValueModal

fix: suite sync data selection in TargetAddressLabel

fix: suite sync data selection in TransactionTarget

fix: suite sync data reducer usage in suiteActions.test.ts

fix: typecase account descriptor string in processLegacyMetdataInfoSuiteSyncThunk

fix: suite sync data selection in DeviceStatusTextVisible

fix: suite sync data selection in useSendForm.ts

fix: suite sync data selectio nin WalletInstance

fix: remove usage of the remove labeling actins

fix: usage of the remove labeling reducer in defaultAppState

fix: suiteActions suiteSyncData reducer state key

chore: extra implmentation of Suite Sync Listener that applies the suite sync state to redux from composition root

fix: lint import order in AddressTable

chore: extract selectors from suiteSyncDataReducer

fix

fix: test & isHidden remove

fix: remove usunused selector

fix: suite sync data not having reducer registered in native

fix: getting the local account labels in natie

fix: optimize multi-import

fix: nameing

fix: only trigger updates in the app when the number of sync udpated entites is more than zero

fix: remove harmful entity adapter that doesnt play along with immer and causes problems

chore: propagate evolu update errors properly

fix: update project deps

fix: ts refs

fix: typedObjectValues

fix: selector missing memo
2026-01-12 16:57:09 +01:00
brantalikp
cde81b1c79 chore(suite-native): dependencies update 2026-01-09 12:50:23 +01:00
Vojtěch Tranta
9ea26932ea chore: rename MMKKey to general EncryptionKey 2026-01-07 09:48:00 +01:00
Vojtěch Tranta
ab9b030a41 fix: test of the storage migrations 2026-01-07 09:48:00 +01:00
Matej Kriz
57ce0fae97 chore(suite-native): do not create new storage for migrartions
- Storage instance can now be passed in params.
2026-01-07 09:48:00 +01:00
Peter Sanderson
0643f534fe feat: prototype of Native Platform Encryption 2026-01-07 09:48:00 +01:00
juriczech
49daea07e9 fix(suite-native): create logger middleware 2026-01-05 15:59:28 +01:00
Vojtěch Tranta
37f6e2f256 fix: properly pull out srevices from casted extra store 2026-01-05 15:56:01 +01:00
Peter Sanderson
8f65d64bd1 fix: resolve circular dependencis caused by NativeServices 2026-01-05 15:56:01 +01:00
Peter Sanderson
f34b05fdfc chore: split Services for Native vs Desktop
chore: hacky fix to address circular deps
2026-01-05 15:56:01 +01:00
Szymon Lesisz
d5985240cf chore(suite): Thp staticKey => ThpSuiteCredentials.host_static_key 2025-12-30 15:15:20 +01:00
Matej Kriz
a712ef4e12 fix(suite-native): fix rozenite redux devtools and delete redux-devtools-expo-dev-plugin 2025-12-17 17:16:32 +01:00
Matěj Husák
b8721f8f81 feat(common): make quotaManager persistent 2025-12-16 16:42:51 +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
99b21ccd73 chore: solve circular deps in suite-sync 2025-12-12 12:32:03 +01:00
Matej Kriz
368a43a151 fix(suite-native): fix BridgeTransport port after change
- iOS simulator was not able to connect to trezor emulator after the port change, this fixes it.
2025-12-11 17:17:00 +01:00
juriczech
f932f92f7a feat(suite-sync): init evolu with connected device 2025-12-11 15:21:03 +01:00
Jiri Zbytovsky
fa9d3e1c4d chore(suite-native): define Store types 2025-12-11 12:39:56 +01:00
Peter Sanderson
e9e63f8bd4 chore: fix naming 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