Edit Post: Refactor MetaBoxesSection to use data hooks#79433
Conversation
Refactors MetaBoxesSection from the legacy withSelect HoC to the useSelect hook, and collapses the file to a single named export (dropping the now-redundant default export). Updates the consumer and unit tests accordingly. No behavior change.
|
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 If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Size Change: -53 B (0%) Total Size: 7.51 MB 📦 View Changed
|
|
Flaky tests detected in 7f4ff5a. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/28015474098
|
What?
Refactors MetaBoxesSection from the legacy withSelect HoC to the useSelect hook, and collapses the file to a single named export (dropping the now-redundant default export). Updates the consumer and unit tests accordingly. No behavior change.
Testing Instructions
Smoke test metaboxes preferences, which I think also has e2e test coverage.
Use of AI Tools
Assisted By Claude.