• lynn's avatar
    feat: adding analytics for fiat on ramp buy button feature (#6272) · b852e4e6
    lynn authored
    * 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
    b852e4e6
SwapBuyFiatButton.tsx 5.72 KB