1. 11 May, 2021 7 commits
    • Moody Salem's avatar
      feat: automatic slippage tolerance (#1463) · 7ee761a5
      Moody Salem authored
      * automatic slippage tolerance start
      
      * get it compiling
      
      * out of range/in range behavior of slippage tolerance in add
      
      * small useDerivedSwapInfo refactor
      
      * improve useSwapSlippageTolerance
      
      * fix unit test
      
      * thread placeholder slippage through
      
      * small improvement to slippage input behavior
      
      * fix the display bug
      
      * fix tx settings modal ux
      
      * don't pass props unnecessarily
      
      * switch back to static swap slippage for now
      
      bump migrate slippage to .75%
      
      * fix font size
      
      * add flag for auto slippage migration
      
      validate version updates even more
      Co-authored-by: default avatarNoah Zinsmeister <noahwz@gmail.com>
      7ee761a5
    • jochenboesmans's avatar
      Add App-level error boundary, referring users to GitHub issue creation (#1464) · 78e95f60
      jochenboesmans authored
      * Add App-level error boundary, referring users to GitHub issue creation on page crashes. (#1452)
      
      * Class component is used as boundary since catching errors is apparently not yet possible with hooks.
      
      * EventListener in window was removed and replaced by error boundary's error catch, which now fires a GA exception. The fields it passes are slightly different because React uses slightly different error types.
      
      * Pre-filling issues with dynamic data is possible with POST requests to GitHub's API, but the GH web client seems to only support pre-fill based on templates. Therefore users still need to copy error info themselves.
      
      * Prefill GitHub issues with crash data.
      
      * Added package 'react-device-detect' to include device data such as OS, browser etc. in crash report.
      * Included error stack in issue body.
      * Used <code> html tag for displaying stack to user.
      
      * Slightly reduce vertical padding on code block.
      
      * Add ua-parser-js for parsing user agent.
      
      * Revert react-device-detect to ^1.6.2 (which is used for mobile detection etc. in components)
      78e95f60
    • Noah Zinsmeister's avatar
      make price sig figs more consistent · c67e5750
      Noah Zinsmeister authored
      c67e5750
    • Justin Domingue's avatar
      30f7385d
    • Noah Zinsmeister's avatar
      c0f58ae8
    • Noah Zinsmeister's avatar
      fetch fees directly from collect via callStatic (#1500) · 54dd5476
      Noah Zinsmeister authored
      * fetch fees directly from collect via callStatic
      
      * don't clear state
      54dd5476
    • Moody Salem's avatar
      fix calculateSlippageAmount (#1497) · 57786335
      Moody Salem authored
      57786335
  2. 10 May, 2021 2 commits
  3. 09 May, 2021 2 commits
  4. 08 May, 2021 1 commit
  5. 07 May, 2021 2 commits
  6. 06 May, 2021 12 commits
  7. 05 May, 2021 14 commits