-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Add a retry button on webinstaller #5246
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
Conversation
For more info please check #5233
|
I don't like that we're putting the button html markup into language strings :( but at the same time i can see it's done for several other web installer language strings so I guess we should probably keep things consistent for now and change them en-masse later |
|
I also don’t like the rude reload here but the way the script is written an alternative needs some major changes there. Unhappy with the end result, but at least now you get an option redo the call if something goes wrong, or no internet connection |
|
hmm i can't produce the error message. what i do
|
|
Can you make a print screen of the message you re getting? |
|
@zero-24 Try in another browser. The key point is that you should NOT allow web installer to run initially because then the request is cached! So once the web installer gets installed you have to click somewhere or close the tab. then close your internet and go back… |
|
Folks, I would really prefer we do this in the plugin.
then change lines 209 and 236 to use a sprintf Lang strings would be: This would make it easier for TTs. |
|
I agree with George that it's not nice to have code within language strings. If anything they should be injected and not hardcoded into the translation string. Maybe stupid question but do we really need a retry button? Each browser already has a button to reload the page. Imho the difference isn't big between reloading only the webinstaller or reloading the whole page. |
|
Agree with @Bakual : If really needed to handhold web-browser beginners (but are such people even Joomla super-admins?): Just add text " (Reload page to retry)". Second question: Did this case even happen ? The whole AppStore is served through a redundant high-availablity high-performance CDN, so that downtimes are really very rare server-side. So the real happening of this is for people not connected to the Internet. And for those the error message seems clear enough to me. And the main issue in that case is getting fixed by joomla-extensions/install-from-web-client#7 imho. So do we still need this button in real situations ? |
|
I am closing this one, since the functionality offered here is exists already in all browsers. Lets not complicate the things too much, @beat is right:
|

For more info please check #5233
Testing
Make sure you have web installer installed.
Apply patch
Close your wifi/lan so no inernet connection exists
Go to web installer and wait till the fail message appears (20sec!)
press retry => the page should refresh