Add a meaningfull message when the user session expires in Databases tab
meafs opened this issue · comments
Expected Behavior
Usually when the user session expires, all the other tabs such as Setup
, Active Tasks
, Configuration
show a toast message: Failed to .... You're not a server admin.
But the Databases
tab shows just loading. (I'm referring to the sidebar items as tabs here)
The expected behaviour should be a user friendly message prompting the user to login. But I see only a loading animation without a hint.
Current Behavior
Use the same checking in Databases tab too like those available in other tabs.
Possible Solution
Just like other tabs, show a user friendly toast.
Steps to Reproduce (for bugs)
- Login in Fauxton
- Keep the
Databases
tab and wait for the session to end - Loading bars will infinitely move up and down. Like below:
No message is shown to the user until he moves to a new tab like (Set up/ Configuration) etc.
Context
I had to login again and again multiple times.
Your Environment
- Version used: 3.1.1
- Browser Name and version: Chromium 93.0.4577.82
- Operating System and version (desktop or mobile): Ubuntu 20.04 64 bit
- Link to your project: N/A
Hello @meafs, I'm on Chrome/ Window and was able to replicate your behavior, can I work on this to maybe display the same message as the other tabs?
Cheers,
@pas-trop-de-zele Sure. That will be great 😄