-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Replace my homepage content does not work if Default Homepage is not selected #75659
Comments
📌 SCRUBBING : RESULT - Replicated / Could Not Replicate / Uncertain
📌 FINDINGS/SCREENSHOTS/VIDEO
Screenshots/RecordingsATOMIC TEST Twenty Seventeen -> Stewart STezIz.mp4SIMPLE TEST Twenty Twenty-Three -> Stewart mgNQnE.mov📌 ACTIONS
|
@donalirl It looks like Stewart does not have a front page template in its Headstart annotation, even though it has the auto-loading-homepage tag. Adventurer and CTLG don't have annotations either, but they also don't have the tag in their @pbking Could You take a look at updating Stewart's Headstart annotations? |
@obenland & @donalirl & @pbking I don't think auto-loading-homepage tag has anything to do with this issue, though correct me if there is something I am missing. Stewart annotations work fine when creating a new site, I do not think the annotations are the problem. I would describe the root problem as this: For the examples shown above the site starts out with "Your homepage displays" set as a static page (not Default). During theme switch what SHOULD HAPPEN is
I don't know why the theme switch process/headstart isn't respecting the Stewart annotations. Can find out. I do know that this is broken for every theme switch like this: All new dotcom themes are made like this, where the root page content is in index.html. If we were to really do this right, theme switch would need to change the site's reading settings according to scenario at play (knowing what the current theme/reading settings are, knowing what they need to be for the new theme/site, knowing what the user really wants to do with their content). Team Lego has spent much reseach working on this large problem.
Addressing this a Marvel goal for the next two or so months. FYI
In Progress & Pending WorkWe are about to change the theme switch modal, in part for the exact reason of this issue, it isn't helpful and is broken for block themes.
We are removing these options to choose preserve or not: And then we'll be doing this: Lots of theme preview / theme switch fixes coming up: p58i-evH-p2#comment-58380 We welcome your HE input and advice as we make these improvements @donalirl cc: @Automattic/lego (please chime in if I missed any details) |
The code that does the homepage loading relies on the the tag to determine if it should swap it or not (See Themes that don't have annotations with a front page should not have the
Let's please remove the tag from themes that shouldn't have it. |
I guess this is because the Design Picker in the onboarding flow only showed themes with the |
After fixing this, it might be worth a quick P2 post, x-post to HE, as the fix may have a lot of impact on known issues with theme switch. |
@autumnfjeld You've summarized the issue well 👍 I've since recreated the same issue on the Iotix and Loudness themes. From a HE perspective, a typical user expects that when they activate a theme, they will have access to the same content they see on the demo site. The natural flow is to activate the theme, begin replacing the demo text and images for their own, and publish their customized content to the live site. |
Proposing D113778-code to configure the “Homepage Displays” setting to “posts” for any block themes as they should use the template as their homepage. Is there any block theme using the static page as the homepage? |
I left a comment in the diff, but some themes have a static page as the homepage, e.g., Appleton, Ames, and Dorna (I think there're more).
I vote for this! (If we have a large number of such themes, we might have to think about it though.) |
We have fixed this issue!
|
Quick summary
When activating a theme, choosing "Replace my homepage content with the [theme] homepage" does not show the theme demo's homepage on the site if Settings → Reading → Your homepage displays is not set to default. This headstart feature is important for helping users to succeed in creating their sites.
If a user selects "Replace my homepage content with the [theme] homepage", then Settings → Reading → Your homepage displays should switch back to 'Default'.
Steps to reproduce
What you expected to happen
I expected the site's homepage to match the demo.
What actually happened
My old content continued to display on the homepage.
Impact
All
Available workarounds?
No and the platform is unusable
Platform (Simple and/or Atomic)
Simple, Atomic
The text was updated successfully, but these errors were encountered: