• Moody Salem's avatar
    improvement(swap): Better swap errors for FoT (#1015) · 0f91af1d
    Moody Salem authored
    * move the gas estimation stuff into its own hook and report errors from the gas estimation
    
    * fix linter errors
    
    * show the swap callback error separately
    
    * rename some variables
    
    * use a manually specified key for gas estimates
    
    * flip price... thought i did this already
    
    * only show swap callback error if approval state is approved
    
    * some clean up to the swap components
    
    * stop proactively looking for gas estimates
    
    * improve some retry stuff, show errors inline
    
    * add another retry test
    
    * latest ethers
    
    * fix integration tests
    
    * simplify modal and fix jitter on open in mobile
    
    * refactor confirmation modal into pieces before creating the error content
    
    * finish refactoring of transaction confirmation modal
    
    * show error state in the transaction confirmation modal
    
    * fix lint errors
    
    * error not always relevant
    
    * fix lint errors, remove action item
    
    * move a lot of code into ConfirmSwapModal.tsx
    
    * show accept changes flow, not styled
    
    * Adjust styles for slippage error states
    
    * Add styles for updated price prompt
    
    * Add input/output highlighting
    
    * lint errors
    
    * fix link to wallets in modal
    
    * use total supply instead of reserves for `noLiquidity` (fixes #701)
    
    * bump the walletconnect version to the fixed alpha
    Co-authored-by: default avatarCallil Capuozzo <callil.capuozzo@gmail.com>
    0f91af1d
Name
Last commit
Last update
..
AccountDetails Loading commit data...
AddressInputPanel Loading commit data...
Button Loading commit data...
Card Loading commit data...
Column Loading commit data...
CurrencyInputPanel Loading commit data...
CurrencyLogo Loading commit data...
DoubleLogo Loading commit data...
Header Loading commit data...
Identicon Loading commit data...
Loader Loading commit data...
Menu Loading commit data...
Modal Loading commit data...
NavigationTabs Loading commit data...
NumericalInput Loading commit data...
Popover Loading commit data...
Popups Loading commit data...
PositionCard Loading commit data...
QuestionHelper Loading commit data...
Row Loading commit data...
SearchModal Loading commit data...
Settings Loading commit data...
Slider Loading commit data...
SlippageTabs Loading commit data...
Toggle Loading commit data...
TokenWarningCard Loading commit data...
Tooltip Loading commit data...
TransactionConfirmationModal Loading commit data...
WalletModal Loading commit data...
Web3ReactManager Loading commit data...
Web3Status Loading commit data...
analytics Loading commit data...
swap Loading commit data...