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

Add a "full reset" option to the Site Editor #54958

Closed
carolinan opened this issue Oct 2, 2023 · 11 comments
Closed

Add a "full reset" option to the Site Editor #54958

carolinan opened this issue Oct 2, 2023 · 11 comments
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Package] Commands /packages/commands [Type] Enhancement A suggestion for improvement.

Comments

@carolinan
Copy link
Contributor

What problem does this address?

I often find that I need to go to three places to reset changes:

  1. The template management screen
  2. The template part management screen
  3. The styles sidebar

On the template and part management screens, I miss an option to reset all my items with one click.

In general I miss an option to reset all my user made changes, so both custom CSS, block style changes, template part markup changes, and template markup changes.

The option for me is to install and use a third party reset plugin, but those delete all my content and deactivate my current theme and plugins.

@carolinan
Copy link
Contributor Author

A command in the command pallet would work well too.

@carolinan carolinan added the [Type] Enhancement A suggestion for improvement. label Oct 2, 2023
@annezazu annezazu added [Package] Commands /packages/commands [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") labels Oct 3, 2023
@annezazu
Copy link
Contributor

annezazu commented Oct 3, 2023

Curious to hear from other @WordPress/block-themers around this!

@colorful-tones
Copy link
Member

I would find it useful for testing. However, I'm not certain whether it would benefit everyday builders.

The command palette integration might be a good place to start.

I wonder if it could/should be tied to a wp-config.php constant, like WP_DEVELOPMENT_MODE, WP_ENVIRONMENT_TYPE, or WP_DEBUG. This would then be a developer tool to utilize. 🤔

@ramonjd
Copy link
Member

ramonjd commented Oct 8, 2023

I'm a fan of this suggestion! I think I'm biased because I'm constantly testing and resetting.

Agree that we could trial it it dev mode to gauge its usefulness.

Or, and please ignore the shoddy UI, but what if it were tucked it away in the actions drop down?

Screenshot 2023-10-09 at 10 49 07 am

Where else could it live that wouldn't be as awful as the screenshot above? 😄

@richtabor
Copy link
Member

A command in the command pallet would work well too.

Yea, maybe with a verify perhaps. Wouldn't want it too easy to reset everything.

I wonder if it could/should be tied to a wp-config.php constant, like WP_DEVELOPMENT_MODE, WP_ENVIRONMENT_TYPE, or WP_DEBUG. This would then be a developer tool to utilize. 🤔

Interesting idea.

@scruffian
Copy link
Contributor

Love this idea, yes please.

@ramonjd
Copy link
Member

ramonjd commented Oct 12, 2023

A command in the command pallet would work well too.
Yea, maybe with a verify perhaps. Wouldn't want it too easy to reset everything.

I think this could be a nice way to introduce the feature without being too obtrusive 👍🏻

Edit: possibly with a "reset" view before a verification screen?

Screenshot 2023-10-13 at 11 31 19 am

@carolinan
Copy link
Contributor Author

Maybe it would be better suited for the Create Block Theme plugin?

@mikachan
Copy link
Member

mikachan commented Jul 8, 2024

Maybe it would be better suited for the Create Block Theme plugin?

Yeah good idea, sounds like this might be worth trying out there first. I've opened an issue here: WordPress/create-block-theme#686.

Also related to this issue: WordPress/create-block-theme#494.

@richtabor
Copy link
Member

CBT could add the command for the command palette. Would be a good case for plugins adding relevant commands.

@carolinan
Copy link
Contributor Author

I think we can close this issue and keep the one in the other plugin repo.

@richtabor richtabor closed this as not planned Won't fix, can't repro, duplicate, stale Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Package] Commands /packages/commands [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

7 participants