Commit a378893
committed
chore(perps): merge origin/main into perps analytics branch
Sync 37 commits from main. Resolve conflicts where main migrated the
button-color A/B test to the canonical useABTest standard (abTestConfig.ts
+ enrichWithABTests registry) that superseded this branch's bespoke
selector-based button-color wiring:
- featureFlags/index.ts: drop obsolete selectPerpsButtonColorTestVariant /
VALID_BUTTON_COLOR_VARIANTS (referenced deleted buttonColors.ts); keep
main's canonical config.
- PerpsMarketDetailsView / PerpsOrderView: drop manual ab_test_button_color
event injection; the assignment is now auto-attached to PERPS_SCREEN_VIEWED
and PERPS_UI_INTERACTION via enrichWithABTests(). Keep this branch's
comprehensive Place Order press tracking and controller-owned latency note;
avoid double-emitting the button-press interaction event.
- utils/abTesting/*: accept main's deletion of the legacy framework.
- docs/perps/*: take main's canonical A/B testing documentation.
Preserve all perps analytics work (discovery/search funnel, abandon
tracking, entry-CTA source, tradeAction, best-effort UTM).239 files changed
Lines changed: 8506 additions & 3705 deletions
File tree
- .ai-pr-analyzer/modes/flaky-unit-test-analysis
- .github
- scripts
- workflows
- .yarn/patches
- android/app
- app
- component-library/components
- List/ListItemSelect
- Modals/ModalConfirmation
- components
- UI
- Bridge
- Views/BridgeView
- components
- BatchSellDestinationTokenSelectorModal
- BatchSellFinalReviewModal
- BatchSellMinimumReceivedInfoModal
- BatchSellNetworkFeeInfoModal
- BatchSellQuoteDetailsModal
- HighRateAlertModal
- MissingPriceModal
- PriceImpactModal
- SwapsKeypad
- TransactionDetails
- constants
- hooks
- useBatchSellQuoteData
- Charts/AdvancedChart
- __tests__
- webview
- src
- core
- widget
- __tests__
- Earn/constants
- MarketInsights/components/MarketInsightsEntryCard
- Money
- Views
- MoneyActivityView
- MoneyHomeView
- MoneyPotentialEarningsView
- components
- AccountsApiActivityItem
- MoneyActivityItem
- MoneyActivityList
- MoneyActivityRow
- MoneyAddMoneySheet
- MoneyBalanceCard
- MoneyBalanceInfoSheet
- MoneyBalanceSummary
- MoneyEarnings
- MoneyMetaMaskCard
- MoneyMusdTokenRow
- MoneyPotentialEarnings
- MoneySheetOptionsList
- MoneyTransferSheet
- hooks
- utils
- NetworkMultiSelector
- Notification/TransactionNotification
- Perps
- Views
- PerpsMarketDetailsView
- PerpsOrderBookView
- PerpsOrderView
- PerpsTooltipView
- components
- PerpsAdvancedChart
- __tests__
- PerpsChartFullscreenModal
- PerpsMarketStatisticsCard
- PerpsMarketTradesList
- PerpsPositionCard
- PerpsRelatedMarkets
- constants
- hooks
- routes
- selectors/featureFlags
- types
- utils
- abTesting
- Predict/components
- PredictPreviewSheet
- Ramp
- Views/NativeFlow
- hooks
- types
- utils
- Stake/components/StakeButton
- Trending
- hooks/useTrendingRequest
- utils
- Views
- AddAsset/components/NetworkListBottomSheet
- AddDeviceToWallet
- Homepage/Sections/Perpetuals
- hooks
- ImportFromSecretRecoveryPhrase
- QRScanner
- QRTabSwitcher
- SocialLeaderboard/TraderPositionView/components
- TradeWalletActions
- components
- WhatsHappeningDetailView/hooks
- confirmations
- components
- activity
- transaction-details-paid-with-row
- transaction-details-summary
- info/custom-amount-info
- rows/pay-with-row
- hooks/transactions
- constants
- core
- Engine/controllers
- network-controller
- ramps-controller/event-handlers
- ExtensionAccountSync
- QrSync
- selectors/qrSyncController
- util
- analytics
- networks
- docs/perps
- ios/MetaMask.xcodeproj
- locales/languages
- tests
- component-view
- feature-flags
- flows
- page-objects/Browser
- smoke-appium/accounts
- smoke/snaps
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
Lines changed: 69 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
Lines changed: 33 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
0 commit comments