Skip to content
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

Ensure all prompts to remove premium styles automatically works #97730

Open
annezazu opened this issue Dec 23, 2024 · 3 comments
Open

Ensure all prompts to remove premium styles automatically works #97730

annezazu opened this issue Dec 23, 2024 · 3 comments
Labels
[Feature] Free Automattic Themes Free-to-use themes provided by Automattic. [Feature] Global Styles The Global Styles tools in the site editor and theme style variations. [Feature Group] Appearance & Themes Features related to the appearance of sites.

Comments

@annezazu
Copy link

Right now, if you go through onboarding and select a theme with paid style variations, you're prompted to upgrade or remove premium styles in three places: Launchpad, Front end, Site Editor. The problem is only the "remove premium styles" option in the site editor actually removes premium styles for the user, resolving the problem. At this stage, particularly during onboarding and before they've really made many style changes, we should automate this as much as possible.

I propose we automatically remove premium styles in one click at each stage, matching what's done in the site editor but taking it a step further where someone doesn't need to click "save" and it's just handled.

Launchpad

It's a dead end to show this here as the user can't even rectify it in the site editor as they haven't even been introduced to it yet! We should either automatically set to the default palette to remove premium styles or send them back to select a different theme (I say the former):

launchpad.remove.styles.mov

Front end

front.end.remove.premium.styles.mov

Site Editor

We still require folks to hit "save" here and I wonder if there's a way we can automatically save for them when other styling changes haven't been made.

site.editor.remove.premium.styles.mov
@annezazu annezazu added [Feature Group] Appearance & Themes Features related to the appearance of sites. [Feature] Free Automattic Themes Free-to-use themes provided by Automattic. [Feature] Global Styles The Global Styles tools in the site editor and theme style variations. labels Dec 23, 2024
@annezazu
Copy link
Author

Related! #95578

@ramonjd
Copy link
Member

ramonjd commented Dec 23, 2024

I think we should be able to come up with a hook to do it all: reset global styles and save.

Agree: ideally, the user shouldn't be brought to the editor in the first instance at all.

@ramonjd
Copy link
Member

ramonjd commented Dec 23, 2024

I think we should be able to come up with a hook to do it all: reset global styles and save.

It would be a useful Gutenberg hook perhaps 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Free Automattic Themes Free-to-use themes provided by Automattic. [Feature] Global Styles The Global Styles tools in the site editor and theme style variations. [Feature Group] Appearance & Themes Features related to the appearance of sites.
Projects
None yet
Development

No branches or pull requests

2 participants