This bounty is no longer available
Web3 DAO | Uniswap Logo

Fix "Show closed positions" checkbox state saving behaviour on Arbitrum to be consistent with mainnet

Ethereum

Organization

Uniswap

Deadline

N/A

Status

ENDED


INSTRUCTIONS

Bug Description The state of the checkbox "Show closed positions" on the positions overview page saves the state of the checkbox on Arbitrum in an unexpected way which is inconsistent with behaviour of mainnet. On mainnet the state is saved for the user the moment the checkbox is interacted with. On Arbitrum the checkbox state seems to get saved only on page change.

Steps to Reproduce

  1. Make sure you are a liquidity provider in any pool on UniswapV3 on Arbitrum and have at least one open and one closed position.
  2. Go to https://app.uniswap.org/#/pool
  3. Observe state of checkbox "Show closed position"
  4. Change state of said checkbox
  5. Refresh the page
  6. Observe that state of checkbox got reset to state in Step 3
  7. Change checkbox state again
  8. This time don't refresh but click on "Swap" Menu item
  9. Click on "Pool" Menu item to get back to the positions overview
  10. Observe state of checkbox now is correctly set to the state set in Step 7.

Expected Behavior I expect the state of the checkbox getting saved for the user the moment I change the state, not on leaving the page.

Additional Context It may behave similar on Optimism, didn't test it. Browser (latest as of writing this report): Brave Version 1.29.81 Chromium: 93.0.4577.82 (Official Build) (x86_64)

ABOUT UNISWAP

Uniswap is an automated liquidity provider for swapping, earning, and building on the leading decentralized crypto trading protocol. Uniswap is governed by its community and enables developers to build third-party solutions on top of the protocol.