Note the URL in the bottom left corner of my viewport as I hover over Customize …
via @galakhyati cc @kjellr
Hello!
Can you please show what the URL has to be instead?
It should be the Customizer URL to match the label. https://wordpress.com/customize/[subdomain].wordpress.com
Currently if a theme is Gutenberg-first and the site homepage is a page, we link the "Customize" button to /block-editor/page. However, this logic was added for the success modal, where the button is labelled "Edit homepage". Confirmed with @ianstewart and @kjellr that this button should always link to the customizer, regardless of whether the theme is Gutenberg-first.
Looks like we'll need to make a change on line 115 here:
Currently if a theme is Gutenberg-first and the site homepage is a page, we link the "Customize" button to /block-editor/page. However, this logic was added for the success modal, where the button is labelled "Edit homepage". Confirmed with @ianstewart and @kjellr that this button should always link to the customizer, regardless of whether the theme is Gutenberg-first.
Looks like we'll need to make a change on line 115 here:
What does it mean that the theme is Gutemberg-first?
@sserafini1 From what I'm seeing here, it means the theme has a "global-styles" or "auto-loading-homepage" feature tag:
@sserafini1 From what I'm seeing here, it means the theme has a "global-styles" or "auto-loading-homepage" feature tag:
Yes, I mean, at the moment I am working with the dev version, but I can't reproduce the error. Is there something more to install?
Yes, I mean, at the moment I am working with the dev version, but I can't reproduce the error. Is there something more to install?
Ahh! Did you try changing the theme on your test site to Hever? https://wordpress.com/theme/hever That's the default theme for new users, as seen in the issue description screenshot.
@ianstewart I made the suggested changes, but it seems like per the discussion here, we don't always want to redirect to the Customizer. Given @noahtallen's comment and that the roadmap is to move away from Customizer to a full site editing experience, I propose that we change the experience to only redirect to the Page Editor. That way, we can prevent further confusion or another switching of redirect paths in the future.
"...move away from Customizer to a full site editing experience" is more long-term and not very concrete – people will be using the Customizer for a long time to come. Added my 2c here too: https://github.com/Automattic/wp-calypso/pull/45139#issuecomment-680333744
I left a comment on the PR to say, basically, we should always be linking to the Customizer there, even for our early non-Core FSE experiences. Obfuscating or hiding the Customizer provides an incomplete experience for those users. (For example, all the new colour palettes that were added to all those themes.) Additionally, it's just confusing.
Most helpful comment
Currently if a theme is Gutenberg-first and the site homepage is a page, we link the "Customize" button to /block-editor/page. However, this logic was added for the success modal, where the button is labelled "Edit homepage". Confirmed with @ianstewart and @kjellr that this button should always link to the customizer, regardless of whether the theme is Gutenberg-first.
Looks like we'll need to make a change on line 115 here:
https://github.com/Automattic/wp-calypso/blob/e12a2600d869430a85246b7d57ae75108fee3ff5/client/my-sites/themes/theme-options.js#L108-L119