WordPress / gutenberg

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

DataForm: make it work nicely with bulk editing #65685

Open oandregal opened 2 weeks ago

oandregal commented 2 weeks ago

Part of https://github.com/WordPress/gutenberg/issues/59745

When selecting multiple items and open the QuickEdit, we need to make sure to provide a good experience.

Questions to resolve:

oandregal commented 2 weeks ago

@jameskoster this would need some design feedback. Is this the target we should aim to? It means:

Bulk edit

jameskoster commented 2 weeks ago

Yeah, the actions menu would include any actions that can be applied in bulk (e.g. Trash).

what do we do with fields that don't support "bulk editing"?

For now it probably makes sense to hide fields that cannot be bulk edited. For instance there's a lot of value in displaying Title: Mixed as a non-interactive element.

That said, it may get a bit more nuanced when we get to media... there can be value in displaying certain non-editable fields like file format / size / dimensions. If they disappeared on bulk selection the experience might be a bit... strange. Notice how Finder shows -- in the Dimensions field, we might do something similar:

Screenshot 2024-09-27 at 14 02 35