singnet / snet-rfai-dapp

MIT License
1 stars 10 forks source link

User gets to blank page "Sample Services" after navigating back from "Account" page (bug) #17

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. Press "ADD MORE FUNDS" button
  3. Press browser "Back" button
  4. Observe the result

EXPECTED RESULT:

User gets to Home Page with initial state of all elements and data

ACTUAL RESULT:

User gets to blank page with such URL Home Page URL + "/SampleServices"

Please see the video below

20190405_04h18_29

ksridharbabuus commented 5 years ago

It is default browser behaviour to navigate to the previous page. We dont have explicit handle on using the browser back button.

ksridharbabuus commented 5 years ago

@rustam-snet Based on your suggestion added the Navigation feature now. We should be able to leverage the back navigation button. Thanks!

Blockspaced commented 5 years ago

@ksridharbabuus pressing “Add more funds” followed by “go back” on browser redirects to singularitynet.io - shouldn't it redirect to the RFAI portal?

ksridharbabuus commented 5 years ago

Since it is the first change URL in the Browser RFAI, browser history will have the previous page in the history. if you click on back button will take you to the previous page in your case it is SingularityNet.io

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

@ksridharbabuus https://github.com/ksridharbabuus pressing “Add more funds” followed by “go back” on browser redirects to singularitynet.io - shouldn't it redirect to the RFAI portal?

— 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/17#issuecomment-486404790, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYVNXHJG4F2D6FFWH5IPRDPSC4QJANCNFSM4HDX7D4A .

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

Blockspaced commented 5 years ago

After clearing browser history this was fixed, thanks @ksridharbabuus !

ksridharbabuus commented 5 years ago

Cool Thanks!

On Thu, Apr 25, 2019 at 7:28 PM smbss notifications@github.com wrote:

After clearing browser history this was fixed, thanks @ksridharbabuus https://github.com/ksridharbabuus !

— 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/17#issuecomment-486684081, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYVNXFL27IFDUDPGMMGDN3PSG2GZANCNFSM4HDX7D4A .

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