alleyinteractive / meta-inspector

See your post, term, and user meta data.
GNU General Public License v2.0
16 stars 3 forks source link

Update dynamically on post types that use the Block Editor #28

Open mogmarsh opened 1 week ago

mogmarsh commented 1 week ago

Description

On post types that use the Block Editor (Gutenberg), it would be useful if the inspector reflected the Post Editor's data.

Use Case

Currently in the Block Editor, you must Save the post, then refresh to see the latest meta data.

mogmarsh commented 1 week ago

I've been discussing with @kevinfodness, and here's what we think this would look like:

Bonus points:

kevinfodness commented 1 week ago

I'd recommend splitting the implementation steps into separate issues so that we can ship something initially that swaps the metabox for a PluginSidebar that shows meta visible to/managed by the editor, then iterates on that solution by adding the hidden meta, adding an open in a modal button, and adding the JSON prettifier.