Skip to content

useViewConfig: don't request the view config twice (#82141) - #82183

Merged
oandregal merged 1 commit into
wp/7.1from
backport/wp-7-1-fix-use-view-config
Aug 28, 2026
Merged

oandregal merged 1 commit into
wp/7.1from
backport/wp-7-1-fix-use-view-config

Conversation

@oandregal

Copy link
Copy Markdown
Member

Backports #82141 into the wp/7.1 branch.

Co-authored-by: oandregal <oandregal@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: jsnajdr <jsnajdr@git.wordpress.org>
Copilot AI balanced review requested due to automatic review settings August 28, 2026 14:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

Copy link
Copy Markdown

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 <oandregal@git.wordpress.org>

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

@oandregal oandregal self-assigned this Aug 28, 2026
@github-actions github-actions Bot added the [Package] Views /packages/views label Aug 28, 2026
@oandregal oandregal added [Type] Bug An existing feature does not function as intended and removed [Package] Views /packages/views labels Aug 28, 2026
@github-actions

Copy link
Copy Markdown

Size Change: +5 B (0%)

Total Size: 7.75 MB

📦 View Changed
Filename Size Change
build/scripts/edit-site/index.min.js 305 kB +3 B (0%)
build/scripts/editor/index.min.js 502 kB +2 B (0%)

compressed-size-action

@github-actions

Copy link
Copy Markdown

Flaky tests detected in 924d64d.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/33182342138
📝 Reported tests:

Create a pattern with overrides in /test/e2e/specs/editor/various/pattern-overrides.spec.js, passed after 1 failed attempt.

should update the HTML only for the latest navigation in /test/e2e/specs/interactivity/router-navigate.spec.ts, passed after 1 failed attempt.
TypeError: resolveLink2 is not a function
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/router-navigate.spec.ts:100:39
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/router-navigate.spec.ts:100:3

@oandregal
oandregal merged commit 5445ab0 into wp/7.1 Aug 28, 2026
48 of 49 checks passed
@oandregal
oandregal deleted the backport/wp-7-1-fix-use-view-config branch August 28, 2026 16:08
@t-hamano t-hamano added the [Package] Views /packages/views label Aug 29, 2026
wporg-sync pushed a commit to WordPress/wordpress-develop that referenced this pull request Sep 10, 2026
This updates the pinned commit hash of the Gutenberg repository from `943e0d825bb66ba582e9a10d32743cbb136de460` to `dd294ab86ceaf9f3d7d42a09b78f399238ce8826` and merges cherry-picked changes to the `wp/7.1` branch into the 7.1.1 release. Only the `editor` and `upload-media` package hashes changed in the regenerated manifest.

A full list of changes included in this commit can be found on GitHub:
WordPress/gutenberg@943e0d8...dd294ab

The following commits are included:
- useViewConfig: don't request the view config twice (WordPress/gutenberg#82183)
- Framework: Update Node.js to v24 LTS and npm to v11 (WordPress/gutenberg#82635)
- Block Editor: Add translator context to pseudo-state labels (WordPress/gutenberg#81770)
- Fix: Post Editor: 403 on /wp/v2/settings at boot for users without manage_options cap (WordPress/gutenberg#81813)
- Media: Refuse a multi-file drop on a placeholder that takes one file (WordPress/gutenberg#82046)
- List: outdent an empty middle item without adding an item (WordPress/gutenberg#82011)
- Accordion Panel: Reset padding-block when panel is hidden (WordPress/gutenberg#81782)
- List View: Don't focus the last Table cell on keyboard activation (WordPress/gutenberg#81964)
- Media: Stop claiming "Upload complete" when upload failed (WordPress/gutenberg#81397)
- Media: keep indexed PNG sub-sizes indexed (WordPress/gutenberg#81884)
- Image block cropping: Sync image size and link destination settings (WordPress/gutenberg#82316)
- Gallery block: Fix 'Crop images to fit' broken in editor (WordPress/gutenberg#82318)
- Pages: require authentication and a capability to render generated standalone pages (WordPress/gutenberg#82254)
- Media Utils: Preserve arrays in multipart form data (WordPress/gutenberg#82353)
- wp-env: Fix Docker build errors with Debian Bullseye repositories (WordPress/gutenberg#82478)
- Query Loop: Fall back to `post` when the query has no `postType` (WordPress/gutenberg#82465)
- Block Supports: Bail early in state styles when a block has no style attribute (WordPress/gutenberg#81908)
- Fix: Restore layout styles for block style variations (WordPress/gutenberg#82335)
- CI: Unify the automation comments into a single PR comment (WordPress/gutenberg#82249)
- Editor: Store the finalize response as the attachment record (WordPress/gutenberg#81947)
- Media: Only blame the browser's codecs when HEIC really cannot be decoded (WordPress/gutenberg#82265)

The PHP changes carried by three of those pull requests do not travel through the package build and are already on the branch.

Follow-up to [63319], [63489], [63547], [63572].
Reviewed by jorbin.

Props andraganescu, wildworks.
Fixes #66037.



git-svn-id: https://develop.svn.wordpress.org/branches/7.1@63587 602fd350-edb4-49c9-b593-d223f7449a82
wporg-sync pushed a commit to WordPress/WordPress that referenced this pull request Sep 10, 2026
This updates the pinned commit hash of the Gutenberg repository from `943e0d825bb66ba582e9a10d32743cbb136de460` to `dd294ab86ceaf9f3d7d42a09b78f399238ce8826` and merges cherry-picked changes to the `wp/7.1` branch into the 7.1.1 release. Only the `editor` and `upload-media` package hashes changed in the regenerated manifest.

A full list of changes included in this commit can be found on GitHub:
WordPress/gutenberg@943e0d8...dd294ab

The following commits are included:
- useViewConfig: don't request the view config twice (WordPress/gutenberg#82183)
- Framework: Update Node.js to v24 LTS and npm to v11 (WordPress/gutenberg#82635)
- Block Editor: Add translator context to pseudo-state labels (WordPress/gutenberg#81770)
- Fix: Post Editor: 403 on /wp/v2/settings at boot for users without manage_options cap (WordPress/gutenberg#81813)
- Media: Refuse a multi-file drop on a placeholder that takes one file (WordPress/gutenberg#82046)
- List: outdent an empty middle item without adding an item (WordPress/gutenberg#82011)
- Accordion Panel: Reset padding-block when panel is hidden (WordPress/gutenberg#81782)
- List View: Don't focus the last Table cell on keyboard activation (WordPress/gutenberg#81964)
- Media: Stop claiming "Upload complete" when upload failed (WordPress/gutenberg#81397)
- Media: keep indexed PNG sub-sizes indexed (WordPress/gutenberg#81884)
- Image block cropping: Sync image size and link destination settings (WordPress/gutenberg#82316)
- Gallery block: Fix 'Crop images to fit' broken in editor (WordPress/gutenberg#82318)
- Pages: require authentication and a capability to render generated standalone pages (WordPress/gutenberg#82254)
- Media Utils: Preserve arrays in multipart form data (WordPress/gutenberg#82353)
- wp-env: Fix Docker build errors with Debian Bullseye repositories (WordPress/gutenberg#82478)
- Query Loop: Fall back to `post` when the query has no `postType` (WordPress/gutenberg#82465)
- Block Supports: Bail early in state styles when a block has no style attribute (WordPress/gutenberg#81908)
- Fix: Restore layout styles for block style variations (WordPress/gutenberg#82335)
- CI: Unify the automation comments into a single PR comment (WordPress/gutenberg#82249)
- Editor: Store the finalize response as the attachment record (WordPress/gutenberg#81947)
- Media: Only blame the browser's codecs when HEIC really cannot be decoded (WordPress/gutenberg#82265)

The PHP changes carried by three of those pull requests do not travel through the package build and are already on the branch.

Follow-up to [63319], [63489], [63547], [63572].
Reviewed by jorbin.

Props andraganescu, wildworks.
Fixes #66037.


Built from https://develop.svn.wordpress.org/branches/7.1@63587


git-svn-id: http://core.svn.wordpress.org/branches/7.1@62763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Views /packages/views [Type] Bug An existing feature does not function as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants