feat: adding analytics for fiat on ramp buy button feature (#6272)
* init * testing if it works * wip * tooltip still not working correctly * modal still not triggered after initial buy click * remove invalid import * region check fixed * add disabled buy button treatment * simplify and fix toggle twice bug * no more state mgmt bugs finally * rename vars for clarity and add todos * add feature flag, remove toast * keep wallet drawer open upon repeated buy clicks * remove from feature flag modal for now * unused vars * first round respond to tina comments * respond to tina padding comments, fix padding in response to cal feedback * last round tina comments * init pending element names being added to analytics events repo * update event names * add tooltip delay requested by fred and cal * middle of revisions, fiat buy flow readability wip * hook logic refactor done + added basic unit test * rename enum and add todo for unit tests * mouseover tooltip disable properly * fix mouseover tooltip not working, ensure dot working as expected, rename buyFiatClicked to buyFiatFlowCompleted * change developer doc comment * respond comments * update snapshot test * lint fix * remove unnecessary changes
Showing
... | @@ -141,7 +141,7 @@ | ... | @@ -141,7 +141,7 @@ |
"@sentry/tracing": "^7.45.0", | "@sentry/tracing": "^7.45.0", | ||
"@types/react-window-infinite-loader": "^1.0.6", | "@types/react-window-infinite-loader": "^1.0.6", | ||
"@uniswap/analytics": "^1.3.1", | "@uniswap/analytics": "^1.3.1", | ||
"@uniswap/analytics-events": "^2.8.0", | "@uniswap/analytics-events": "^2.9.0", | ||
"@uniswap/conedison": "^1.4.0", | "@uniswap/conedison": "^1.4.0", | ||
"@uniswap/governance": "^1.0.2", | "@uniswap/governance": "^1.0.2", | ||
"@uniswap/liquidity-staker": "^1.0.2", | "@uniswap/liquidity-staker": "^1.0.2", | ||
... | ... |
Please register or sign in to comment