Auto-start site when user opens it in header or overview - #1041
Conversation
ivan-ottinger
left a comment
There was a problem hiding this comment.
The proposed changes look good and work as expected. Clicking on the header links or site preview screenshot first starts the site. 👌🏼
One thing I would like to share is that with the currently proposed approach users might not notice that the site is starting. Instead of waiting for it to open, they might be motivated to click on those links again (multiple times) - as it may not be obvious the click went through correctly.
Clicking the link again before the site started opens it, but lands on the This site can’t be reached page.
I think that if we would like to autostart the site for the user, we could consider making it clearer that their click "went through" and is actually starting the site.
An alternative solution that comes to my mind could be disabling the links momentarily until the site is started and the site / WP Admin is getting opened.
What do you think? 🤔
|
Good catch @ivan-ottinger. I've experimented with loading indicators, but it looked overwhelming. I decided to disable buttons when the server is starting. |
ivan-ottinger
left a comment
There was a problem hiding this comment.
Nice! The changes look good and work as intended.
All three buttons get disabled as soon as the server is starting. Once the server is running, the site or WP Admin gets opened right away.
I did not notice any regressions. Clicking the links when the site is already running works as before.
Related issues
Proposed Changes
Testing Instructions
Pre-merge Checklist