• lynn's avatar
    feat: Web 2996 add fiat on ramp buy flow to swap modal on the interface (#6240) · 55bd3555
    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
    
    * 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
    
    * comments
    
    * small changes + unit tests
    
    * dedup
    
    * remove enzyme
    
    * Remove unecessary line
    
    * simplify
    
    * more cleanup
    
    * add missing await
    
    * more comments
    
    * more comment responses
    
    * more comment responses
    
    * delay show fixes and respond to comments
    
    * fix logic for show
    
    * remove tooltip delay, unit test changes
    
    * Update src/components/Popover/index.tsx
    Co-authored-by: default avatarZach Pomerantz <zzmp@uniswap.org>
    
    * remove delay on tooltip
    
    * missed one
    
    * Update src/components/swap/SwapBuyFiatButton.test.tsx
    Co-authored-by: default avatarTina <59578595+tinaszheng@users.noreply.github.com>
    
    * comments
    
    * .
    
    * lint error
    
    ---------
    Co-authored-by: default avatarZach Pomerantz <zzmp@uniswap.org>
    Co-authored-by: default avatarTina <59578595+tinaszheng@users.noreply.github.com>
    55bd3555
fiatOnRampButton.ts 293 Bytes