Skip to content

Conversation

@ntsekouras
Copy link
Contributor

What?

Part of: #73154

This PR adds format for integer and number field types.

Format properties by type:

  • number: separatorThousand, separatorDecimal, decimals`
  • integer: separatorThousand

Testing Instructions

  1. In storybook (npm run storybook:dev) test number (?path=/story/dataviews-fieldtypes--number-component) and integer (?path=/story/dataviews-fieldtypes--integer-component). There are controls for inserting the available format options
  2. Also check the filters that respect the current format

@ntsekouras ntsekouras self-assigned this Nov 28, 2025
@ntsekouras ntsekouras added [Type] Enhancement A suggestion for improvement. [Feature] DataViews Work surrounding upgrading and evolving views in the site editor and beyond labels Nov 28, 2025
@github-actions
Copy link

github-actions bot commented Nov 28, 2025

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: ntsekouras <[email protected]>
Co-authored-by: jorgefilipecosta <[email protected]>

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

@ntsekouras ntsekouras mentioned this pull request Nov 28, 2025
4 tasks
Copy link
Member

@jorgefilipecosta jorgefilipecosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything worked well on the tests I did.

@ntsekouras ntsekouras force-pushed the fields/display-format-integer-number branch from d1dfe11 to 1808462 Compare December 1, 2025 13:41
@ntsekouras ntsekouras enabled auto-merge (squash) December 1, 2025 13:43
@ntsekouras ntsekouras merged commit f3418c5 into trunk Dec 1, 2025
36 of 37 checks passed
@ntsekouras ntsekouras deleted the fields/display-format-integer-number branch December 1, 2025 14:18
@github-actions github-actions bot added this to the Gutenberg 22.3 milestone Dec 1, 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] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants