Skip to content

Conversation

@oandregal
Copy link
Member

@oandregal oandregal commented Nov 17, 2025

What?

This PR updates the README.md to provide better examples with field types.

Why?

While the type prop was documented, it wasn't surfaced properly in the examples. As a result, LLMs and humans sometimes missed it existed.

How?

All of the examples now use it the type.

Testing Instructions

  • Copy the contents of the README.md and paste them into any LLM.
  • Ask questions ("provide a table example", "how do I do X?", etc.).

The expectation is that, after these changes, the fields generated by the LLM consistently include the type property (while before it was a rare event).

@oandregal oandregal self-assigned this Nov 17, 2025
@github-actions
Copy link

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: oandregal <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@oandregal oandregal added [Type] Developer Documentation Documentation for developers [Feature] DataViews Work surrounding upgrading and evolving views in the site editor and beyond labels Nov 17, 2025
@oandregal oandregal merged commit 269c583 into trunk Nov 17, 2025
34 checks passed
@oandregal oandregal deleted the update/docs-dataviews-field-types branch November 17, 2025 12:40
@github-actions github-actions bot added this to the Gutenberg 22.2 milestone Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] DataViews Work surrounding upgrading and evolving views in the site editor and beyond [Type] Developer Documentation Documentation for developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants