?
avatar Harmageddon
Harmageddon
24 Jul 2020

Steps to reproduce the issue

  1. Open the backend login screen.
  2. Enter your credentials.
  3. Press "Log in".

Expected result

After clicking "Log in", while we wait for a response, something should indicate that there is ongoing work in the background.

Actual result

Between clicking the button and receiving the answer that leads to either changing to the backend control panel, or to displaying an error message, nothing indicates that something is happening.

The login process is handled via AJAX in the background. Maybe due to my old laptop that has to run my local server, the time between request and response is high enough to be noticeable for me. It's not a big issue, but even after having used J!4 many times and having logged into the backend many times, I'm still irritated for a second every time I hit the log in button, thinking "Oh, nothing changes after clicking, I must have misclicked or made a mistake."

Can we maybe add a small indicator, like a loading circle or bar on or next to the button while the AJAX request is being processed?

avatar Harmageddon Harmageddon - open - 24 Jul 2020
avatar joomla-cms-bot joomla-cms-bot - change - 24 Jul 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 24 Jul 2020
avatar C-Lodder
C-Lodder - comment - 25 Jul 2020

If I rightly remember, there is a PR to remove the Ajax functionality as it's of no benefit.

avatar C-Lodder
C-Lodder - comment - 25 Jul 2020

Yup, that's the one

avatar Harmageddon
Harmageddon - comment - 25 Jul 2020

@C-Lodder @ChristineWk Ah, thank you! Wasn't aware of that one. I'm going to follow the discussion there.
I'd still like to leave this here open, because it is not clear from the PR whether it is actually going to be merged, or instead the AJAX mechanism should be optimized.

avatar brianteeman
brianteeman - comment - 21 May 2021

As the ajax login was removed I guess this can be closed

avatar alikon alikon - change - 22 May 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-05-22 07:22:50
Closed_By alikon
avatar alikon alikon - close - 22 May 2021

Add a Comment

Login with GitHub to post a comment