-
-
Notifications
You must be signed in to change notification settings - Fork 162
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
very fast progress indicator on slow systems #913
Comments
the progress indicator does not show real progress, its only an indicator that the theme is waiting for data to be transfered. additional question: which system is slow, client or server running webmin? guessthe latter. @qooob may be the progress indicator can start over instead of waiting for data and staying at 98%? |
It's not natural for it to start over. The only thing I can do right now is to decrease its rate and speed. It will go directly to the release within 3 hours. |
No big difference than before. From 0-98 it will take 15 seconds and from 98-100 it will take 32 seconds. |
Server response can be different. We never know how long it's gonna be. How do you expect progress behave? |
I don't think so.. Unless it's constantly moving and occupying the whole width right at once. What others think? |
I think the simplest way is to start over if the inidicator reaches the end, so you know we are waiting ... alternative may be switch to a circling loading indicator instead |
If there is no way to know how long, a looping one is only solution. Preferably with some message such as "Waiting for server" or something |
I like it, actually. :) |
Maybe the speed could have an option so the user could adjust how fast it should go back and forth? |
I think I will remove all js libraries for this and simply replace it with few lines of css code. Emplementation of progress is abstracted so replacing it will be very easy. |
Alright, let's keep it repeating so far. In the future, I will come up with more fancy CSS animation. Tell me how you like it. It uses no JS now. So one dependency less. |
there is not much difference. moves from left to right, sometimes halts and stay at 98% if a module needs log time to load. if someone is looking for a module with long loading time, try read user mail :) if you have users with big mailboxes |
@gnadelwartz I have no idea what you mean by "no difference". The loader now automatically restarts. Exactly addresses the initial issue. Have a look at my video-screencast. |
Okay, I think I know why it's not working for you. Firefox 57 unlike 59a and Chromium doesn't recognize 0 in @Keyframes. I will update it very soon. |
yes Im using firefox and yandex (a chrome clone) but I don't bother because in a few weeks I'll have FF59 😁 |
Okay, I have fixed my local compilers to make sure latest code styles are considered. You can upgrade now. It will use fancy loaders. In case it's fast - it will be as used to be. In case it's slow or something big is updating, it's going to be bouncing back and forth. I hope you like it @Sopor- . Let me know more. |
Now it will work as it did before but if the server is slow it will start to go backwards. |
When i for example refresh the modules the red progress indicator at the top of the page goes very quickly from left to right and when there is only a few percent left it will get stuck there for a long time. It is very hard to see if the page is working or if it got stuck or maybe it is already finish.
From 0%-98% it takes 10 seconds and from 98%-100% it takes 37 seconds.
The text was updated successfully, but these errors were encountered: