mysteriumnetwork/node

Node UI should report expired session properly

PaJaSoft opened this issue · 7 comments

When a session expired, Node UI reported weird issue (a box at right bottom) or just using/visualize stale data. In such a situation there should be a proper handling which should lead to report about situation and ask user for a session refreshing action (-> a new login). Current behavior is really confusing...

Severity: low
Priority: low

@lusine-h try to reproduce

When the token is expired and I do refresh it shows Node UI Welcome screen for login and there isn't reported issue at right corner.

That's another case - if you have an open tab with Node UI in web browser and do F5/Ctrl-F5 (aka Refresh) than it is taken properly. However if you have an open tab with Node UI, session somehow expires, you can still navigate through pages (e.g. Dashboard -> History, Transaction - Settle now etc.) and there is no any sign that displayed data are staled. Sometimes something gets broken and you can see red box in right bottom corner, but not always, so you can't easy discover your session is over and you need to re-login.

Hello, we will be changing the NodeUI in the upcoming quarters that would solve the issue.

  • Adjusted token expiry date using the DevTools application section
  • Navigated within the webpage after modifying the token expiry
  • Token expired during navigation
  • Clicked around the page, resulting in an error message Request failed with status code 401 (path="node/monitoring-status")
  • Continued clicking led to a white empty screen display

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This issue has been automatically closed because it has not had activity for a long time. If this issue is still valid, please ping a maintainer and ask them to label it as "pinned". Thank you for your contributions.