Light-client: Redirecting to Transfer screen displays blank screen during delay

Created on 16 Dec 2019  ·  4Comments  ·  Source: raiden-network/light-client

Steps to Reproduce

  1. Press the "Channels" link on the Transfer screen
  2. In the channels overlay press the upper left back arrow

Expected Result

Expecting the arrow to take me back to the Transfer screen

Actual Result

Takes me to a blank screen
bug

bug 🕷️ 2 dApp 📱

Most helpful comment

I investigated this. The delay wasn't caused by tokens loading, but was triggered on next action/event, indicating some watcher was waiting for any commit, i.e. wasn't fired at first, just on next event, which usually was a SDK's newBlock commit. Ended up being the tokens watcher in Home.vue.
One-liner fix is available in #830.

All 4 comments

I discovered just now that it redirects to the Transfer screen eventually, it just takes quiet some time. The same thing happens whenever we are trying to go back to the Transfer screen.

This is probably a consequence of making the Transfer screen the new start screen, where it takes time to load the users token and display the first token in the array?

If we can't do anything about the delay we should probably provide something indicating the loading process.

@taleldayekh Thanks for tracking your observations :)
We have got this issue to tackle the problem throughout the dApp -> https://github.com/raiden-network/light-client/issues/688

Ah, yes, missed that we had that one. :)

I investigated this. The delay wasn't caused by tokens loading, but was triggered on next action/event, indicating some watcher was waiting for any commit, i.e. wasn't fired at first, just on next event, which usually was a SDK's newBlock commit. Ended up being the tokens watcher in Home.vue.
One-liner fix is available in #830.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

christianbrb picture christianbrb  ·  3Comments

agatsoh picture agatsoh  ·  6Comments

MrCleanerPickerUpper picture MrCleanerPickerUpper  ·  6Comments

christianbrb picture christianbrb  ·  3Comments

christianbrb picture christianbrb  ·  5Comments