-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Site Editor: consider adding a message in the editor canvas when no template is selected #48292
Comments
While I can't replicate this with 6.2 beta 3, I believe @ellatrix ran into this in an early part of the release cycle. In my opinion, this is a bug and we should automatically select a template to load rather than requiring the user to do so. cc @youknowriad as a heads up. |
In theory, this shouldn't happen, when you're not in a specific template, the "front-page" is supposed to be loaded. There might be an edge case depending on the site config that we missed. I'll debug more later. |
Adding more info about the context of the issue:
The spinner keeps turning, and nothing never loads on the page on my side. |
My testing results:
|
@youknowriad is correct. We're sending "homepage" template data from the server to set up the correct template on initial loads. I've got a feeling failing perf tests problem caught this flakiness behavior, but we thought it was only CI related - #48240. Edit: I see that we no longer use server-side redirection - WordPress/wordpress-develop@81feb44. |
@Mamaduka the perf issues were something else (basically we had wrong code being tested for 3 months but now it's fixed) Still unable to reproduce this. Any network response error or anything would be helpful :) |
If anyone who can replicate this would like to use replay.io, which records the full browser session, let me know and I'll give access to use. We can then have devs dig in to debug. |
For the record, we tracked this down. It's only an issue for sites installed in a subfolder. |
@ellatrix pretty sure #48391 is related to this. Going to quote it below for easier access, and in this particular case, we'd want the Site Editor to go straight to the
|
I reported this same problem in 57805 Clicking on Edit Site yields the url below which generates no response http://localhost/wordpress-svn/src/wp-admin/site-editor.php?canvas=view&path=%2F The url from the the same action on a bare install of 6.1.1 yields the following: http://localhost/wordpress/wp-admin/site-editor.php?postType=wp_template&postId=smartcube%2F%2Fhome which works. I did change the theme on the 6.1.1 instance as noted. My installs are in subdirectories as noted in the urls |
For me, this is now fixed with revision 55442. URL passed is unchanged but site editor "finds" the home template and loads it. |
Confirming that my issue is also fixed! :) Clicking on Appearance > Template Parts takes you to the Template Parts page. 🎉 Thank you! |
Description
Currently (WP 6.2 Beta 3), when we open the Site Editor (tested with TT2 activated and no plugin), we have a blank canvas a we need to select something to edit. I'm not sure about the experience, it looks like something is broken (plus, we have a "loading" icon).
Currently:
Maybe we could add a message?
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: