singnet / snet-rfai-dapp

MIT License
1 stars 10 forks source link

Strange behavior in case of refreshing the Home Page or first navigation to it (bug) - #21

Closed rustam-RI closed 5 years ago

rustam-RI commented 5 years ago

Testing Environment:

Windows 10, Google Chrome 73.0.3683.86 (64bit), 15.6", 1920х1080

Steps to reproduce:

  1. Navigate to Home Page of RFAI
  2. Refresh the page
  3. Observe the result
  4. Repeat steps 2 and 3 several times

EXPECTED RESULT:

User sees Home Page without any glitches and excessive elements

ACTUAL RESULT:

User can see some excessive text and "NaN" in "Amount" field for a moment

Please see the video below

20190405_05h17_44

ksridharbabuus commented 5 years ago

It will automatically changes the NAN to actual value once the page is loaded. Anyway fixed the issue by initializing the value to zero instead of null.

Issue is fixed.

ksridharbabuus commented 5 years ago

Closing the issue as it is fixed.

Blockspaced commented 5 years ago

@ksridharbabuus it seems that this once the page is refreshed it still appears "0 AGI" for a brief moment. What do you think about replacing the escrow amount placeholder on the homepage from “0 AGI” to “Loading” or “ ”?

ksridharbabuus commented 5 years ago

OKay will do the change makes sense. Thanks!

On Thu, Apr 25, 2019 at 1:41 AM smbss notifications@github.com wrote:

@ksridharbabuus https://github.com/ksridharbabuus it seems that this once the page is refreshed it still appears "0 AGI" for a brief moment. What do you think about replacing the escrow amount placeholder on the homepage from “0 AGI” to “Loading” or “ ”?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/singnet/snet-rfai-dapp/issues/21#issuecomment-486406963, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYVNXDXMZCE65S4GEZFISDPSC5IVANCNFSM4HDYFM2A .

-- Thanks, Sri Blog: http://sridharbabuk.blogspot.com/