Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataViews: Incorrect text position for empty items #68766

Open
2 of 6 tasks
t-hamano opened this issue Jan 18, 2025 · 1 comment · May be fixed by #68767
Open
2 of 6 tasks

DataViews: Incorrect text position for empty items #68766

t-hamano opened this issue Jan 18, 2025 · 1 comment · May be fixed by #68767
Assignees
Labels
[Feature] DataViews Work surrounding upgrading and evolving views in the site editor and beyond [Status] In Progress Tracking issues with work in progress [Type] Regression Related to a regression in the latest release

Comments

@t-hamano
Copy link
Contributor

Description

For templates, template items, and patterns with empty content, we would expect the DataViews to display "Empty {itemType}" in the center of the item.

Screenshot from WP 6.7:

Image

But in the latest Gutenberg, it's placed in the top left:

Image

I think this is not the intended layout, so we need to identify and fix the problem.

Step-by-step reproduction instructions

  • Open the site editor.
  • Create Templates, Template Parts, and Patterns with no content.
  • Switch the layout to the grid layout.

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure
@t-hamano t-hamano added [Feature] DataViews Work surrounding upgrading and evolving views in the site editor and beyond [Type] Regression Related to a regression in the latest release labels Jan 18, 2025
@t-hamano
Copy link
Contributor Author

This issue appears to be caused by #67801.

@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Jan 18, 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 [Status] In Progress Tracking issues with work in progress [Type] Regression Related to a regression in the latest release
Projects
Development

Successfully merging a pull request may close this issue.

2 participants