WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.49k stars 4.18k forks source link

Clean up the Search block's controls #65381

Open octaedro opened 1 month ago

octaedro commented 1 month ago

What problem does this address?

WooCommerce issue #47890 requested some changes, and as a follow-up of PR #51247 it would be good to apply some changes in core components.

Most of the Search block's layout-related settings live in the toolbar, while there's nothing in the Inspector. The toolbar is supposed to house only the most commonly used tools and it's unexpected to see such options there.

What is your proposed solution?

We can move the commonly used tools to the Inspector and clean up the UI to make designing the perfect product search field easier.

image

// CC @jarekmorawski @j111q

Marc-pi commented 1 month ago

Related to https://github.com/WordPress/gutenberg/issues/64988 also (see @jasmussen's comments over there)