Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a meaningfull message when the user session expires in Databases tab #1324

Open
meafs opened this issue Sep 30, 2021 · 2 comments
Open

Comments

@meafs
Copy link

meafs commented Sep 30, 2021

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)

  1. Login in Fauxton
  2. Keep the Databases tab and wait for the session to end
  3. Loading bars will infinitely move up and down. Like below:

Fauxton

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
@pas-trop-de-zele
Copy link

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,

@meafs
Copy link
Author

meafs commented Oct 18, 2021

@pas-trop-de-zele Sure. That will be great 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants