Commit Graph

21 Commits

Author SHA1 Message Date
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
Jan Václavík
5d2b17d001 refactor(suite): Separate redux package to @suite-native/analytics-redux 2026-02-05 18:16:11 +01:00
Petr Knetl
21571789fc refactor(suite-native): fix analytics events changelogs based on notion 2026-02-03 11:31:02 +01:00
Petr Knetl
1fa124c920 refactor(suite-native): app ready analytics event 2026-02-03 11:31:02 +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
Jan Václavík
b3ba262876 refactor(suite): Rename suite-common/analytics-types to suite-common/analytics 2026-01-29 09:53:34 +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
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
7027213e3f fix: add TON of missing dependecies in package.json 2025-09-18 13:04:25 +02:00
Tomas Martykan
e60b4fa768 chore: move analytics definitions to suite-common 2025-06-03 11:00:18 +02:00
Martin Vytick Vytrhlík
9626b35740 feat(suite-native): add analytics for trading 2025-05-13 22:39:05 +02:00
Peter Sanderson
abb41f8033 chore: remove glboal nx/workspace link scripts (it shall be run only globally) + resolve ugly igonores for devDependencies in import/no-extraneous-dependencies 2024-11-13 10:36:38 +01:00
Petr Knetl
2206f19f2e chore(suite): depcheck enabled 2024-06-18 13:07:58 +02:00
Jan Komarek
84bc9b8bd3 chore: update typescript and use global tsc 2024-02-12 11:56:09 +01:00
Jan Komarek
01e33b7145 chore: remove test scripts for packages without tests 2024-02-12 11:56:09 +01:00
Bohdan Juříček
96712ed39e feat(suite-native): analytics for connected device (#10115) 2023-12-01 08:24:10 +01:00
Matej Kriz
aec3d373dc chore(suite): add suite version and commit hash to env utils 2023-06-14 10:00:11 +02:00
Bohdan Juříček
2829d5b4d7 fix(suite-native): show tokens with fiat rates (#8142)
* feat(suite-native): token list

* fix(suite-native): fix circular deps

* fix(suite-native): icon name

* fix(suite-native): remove delete icon
2023-04-20 16:14:28 +00:00
Petr Knetl
853c61d197 feat(suite-native): analytic events (#8068) 2023-04-18 12:07:07 +00:00
Petr Knetl
b41daf2da0 Feat/transaction notifications (#7685) 2023-03-01 14:20:07 +00:00
Bohdan Juříček
0aab3c6447 feat(suite-common): move analytics to common (#7622)
* feat(suite-common):analytics

* chore(suite-common): add tests for analytics

* fix(suite-common): formatting

* fix(suite-common): analytics reducer, types

* fix(suite-native): reducers inits

* fix(suite-native): deps

* fix(suite-native): thunks types

* fix(suite-native): remove empty string type

* fix(suite-common): fix default env
2023-02-23 12:10:40 +00:00