Skip to content

Consolidate "appearance" and "settings" tabs if there are no settings controls #47463

@richtabor

Description

@richtabor

What problem does this address?

In the current UI, the split Appearance and Settings tabs always show up in the Inspector sidebar. A proper example of this is the Paragraph block, which has all Appearance controls, and no Settings controls (other than the standard "Advanced" panel). We don't need a tab just for Advanced.

What is your proposed solution?

Let's improve this by not showing the separate Appearance and Settings tabs, for blocks that do not have any controls available in Settings. And instead render the "Advanced" panel at the foot of the style controls.

This change also allows us to experiment with having the Settings tab set as default (if there is a Settings panel). I'll follow-up with another issue on that functionality.

Current:

CleanShot 2023-01-26 at 10 03 22

Proposed:

CleanShot 2023-01-26 at 10 03 51

Metadata

Metadata

Labels

[Feature] Block APIAPI that allows to express the block paradigm.[Feature] BlocksOverall functionality of blocks[Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experi

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions