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

Developer Mode for the block editor #48157

Open
Saoming opened this issue Feb 17, 2023 · 8 comments
Open

Developer Mode for the block editor #48157

Saoming opened this issue Feb 17, 2023 · 8 comments
Labels
Developer Experience Ideas about improving block and theme developer experience [Package] Preferences /packages/preferences [Type] Discussion For issues that are high-level and not yet ready to implement. [Type] Enhancement A suggestion for improvement.

Comments

@Saoming
Copy link

Saoming commented Feb 17, 2023

What problem does this address?

Gutenberg hides a lot of block settings to make it easier for the user. However, this is sometimes difficult for developers because searching for a particular UI seems like hide and seek.

Is it possible to have “developers mode” where all the UI is no longer hidden and we know all the settings for the blocks in plain view?

This also helps muscle memory and makes it easier to develop. In Divi and Elementor for example, the settings for spacing and typography are always located in the same place.

What is your proposed solution?

The idea is to show a toggle button to show all the settings in a plain view

@tomdevisser
Copy link
Member

tomdevisser commented Feb 17, 2023

Screenshot 2023-02-17 at 2 28 37 PM

If you go to Options > Preferences, you can toggle the "Always open list view". This might solve 50% of your problem. We could probably add a toggle to also always have the right Inspector Controls sidebar open, but I don't think it's really necessary. The "hide and seek" part doesn't require you to search for long, cause the block settings are always either in the toolbar which is visible by default, or in the Inspector Controls sidebar.

Edit: If you are still confused about where to find settings, you might find this page on Block Design a useful resource.

@mrfoxtalbot mrfoxtalbot added the [Type] Enhancement A suggestion for improvement. label Feb 20, 2023
@mrfoxtalbot
Copy link

+1 to this idea.

I would like to be able to have a setting that would make all block options and styles visible/active by default.

@mrfoxtalbot mrfoxtalbot added the [Package] Preferences /packages/preferences label Feb 20, 2023
@tellthemachines
Copy link
Contributor

The issue here is not with the whole sidebar being open or closed as much as with the tools panels for each block not displaying all settings by default, and displaying different settings per block, e.g.:

Paragraph displays only the size control in its Typography panel:

Screenshot 2023-02-23 at 12 45 15 pm

But Quote displays both size and appearance:

Screenshot 2023-02-23 at 12 45 26 pm

Plus there are a lot of other controls that are hidden in a dropdown:

Screenshot 2023-02-23 at 12 45 34 pm

As I understand it, developer mode would allow all controls to be visible for all blocks at all times.

@annezazu annezazu added [Type] Discussion For issues that are high-level and not yet ready to implement. Developer Experience Ideas about improving block and theme developer experience labels Feb 24, 2023
@ravishanker
Copy link

This is not even about developer mode or designer mode. How good would it be if the interface were to be familiar like well known tools people already use; Keynote, PowerPoint, Sketch, Figma, Canva. Entire product is reliant on getting this experience right e.g. Webflow

@mtias
Copy link
Member

mtias commented Feb 27, 2023

This was meant to be handled through global styles, not a separate mode — being able to toggle what tools should be defaults across the site. Features that are toggled on in global styles should then always be visible by default.

@dikafei
Copy link

dikafei commented Mar 9, 2023

+1 for some kind of developer mode.

As a writer I love Gutenberg. It makes content creation speedy and logical. It hides complexity to just the thing I need to write.

However, as a developer, my biggest problem with Gutenberg is how it is really difficult to train muscle memory with it. In Divi, Elementor, and Webflow, elements are located in the same place. Some properties such as typography, background, and spacing are ALWAYS in the same place that you can access them blindfolded.

With Gutenberg, you need intimate knowledge of each block to achieve even this kind of low-level mastery.

(Not to mention that now almost every page builder and every SAAS use the same kind of UI for the builder. Which is the floating window, photoshop inspired UI so people are more used to that. But that is another discussion for another time probably.)

@tellthemachines
Copy link
Contributor

This was meant to be handled through global styles, not a separate mode — being able to toggle what tools should be defaults across the site. Features that are toggled on in global styles should then always be visible by default.

If it's part of global styles, won't it be theme-specific? The main use case for this seems to be when building themes and setting up websites, so it would probably make more sense as a general UI setting.

@DevWael
Copy link

DevWael commented Mar 12, 2023

+1 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Developer Experience Ideas about improving block and theme developer experience [Package] Preferences /packages/preferences [Type] Discussion For issues that are high-level and not yet ready to implement. [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

9 participants