interlay / interbtc-ui

Kintsugi and Interlay App - BTC DeFi
https://app.interlay.io/
Apache License 2.0
32 stars 30 forks source link

Vault Dashboard barely usable: slow loading times, timeouts, and forced reloads #1045

Closed nud3l closed 1 year ago

nud3l commented 1 year ago

Describe the bug When opening the vault dashboard for a specific vault, e.g., https://kintsugi.interlay.io/vaults/a3dP5XHM6t1bGi7dxXFgqtUeujMpHHQhBhbFegMG5up63yHRD/KINT/KBTC I experience:

  1. Slow loading times with about 18 seconds for the page to load
  2. Frequent forced reloads where the UI goes away completely and I cannot interact with the dashboard.

The issue is that I can't access my vault or manage it. I'd have to go to polkadot.js to get a stable connection to interact with it as once I try to add/withdraw collateral the chance that the modals get reset and the page reloads is significant. There's also a lot of uncertainty me about what happens to my transactions once I've sent them when the page reloads.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://kintsugi.interlay.io/vaults/a3dP5XHM6t1bGi7dxXFgqtUeujMpHHQhBhbFegMG5up63yHRD/KINT/KBTC
  2. See error

Expected behavior

  1. Page load: ideal would be <1 second; acceptable would be <5 seconds
  2. Once the page is loaded, the page should stay online.

Screenshots

https://user-images.githubusercontent.com/14966470/226510613-f61a869d-4881-4420-a519-45a283b870b1.mp4

Desktop (please complete the following information):

tomjeatt commented 1 year ago

Fixed