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

[pull] trunk from WordPress:trunk #66

Merged
merged 255 commits into from
Jun 4, 2024
Merged

Conversation

pull[bot]
Copy link

@pull pull bot commented May 21, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

Copy link

github-actions bot commented May 21, 2024

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.

Unlinked Accounts

The following contributors have not linked their GitHub and WordPress.org accounts: @gutenbergplugin.

Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases.

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

Unlinked contributors: gutenbergplugin.

Co-authored-by: ellatrix <[email protected]>
Co-authored-by: jameskoster <[email protected]>
Co-authored-by: WunderBart <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: ntsekouras <[email protected]>
Co-authored-by: taylorgorman <[email protected]>
Co-authored-by: kellenmace <[email protected]>
Co-authored-by: sanjucta <[email protected]>
Co-authored-by: akasunil <[email protected]>
Co-authored-by: ramonjd <[email protected]>
Co-authored-by: jsnajdr <[email protected]>
Co-authored-by: draganescu <[email protected]>
Co-authored-by: tyxla <[email protected]>
Co-authored-by: madhusudhand <[email protected]>
Co-authored-by: richtabor <[email protected]>
Co-authored-by: scruffian <[email protected]>
Co-authored-by: kt-12 <[email protected]>
Co-authored-by: DaniGuardiola <[email protected]>
Co-authored-by: creativecoder <[email protected]>
Co-authored-by: fabiankaegy <[email protected]>
Co-authored-by: carolinan <[email protected]>
Co-authored-by: shail-mehta <[email protected]>
Co-authored-by: amitraj2203 <[email protected]>
Co-authored-by: sirreal <[email protected]>
Co-authored-by: mcsf <[email protected]>
Co-authored-by: vipul0425 <[email protected]>
Co-authored-by: afercia <[email protected]>
Co-authored-by: Aljullu <[email protected]>
Co-authored-by: talldan <[email protected]>
Co-authored-by: gziolo <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: jorgefilipecosta <[email protected]>
Co-authored-by: twstokes <[email protected]>
Co-authored-by: vcanales <[email protected]>
Co-authored-by: oandregal <[email protected]>
Co-authored-by: tjcafferkey <[email protected]>
Co-authored-by: westonruter <[email protected]>

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

youknowriad and others added 4 commits May 21, 2024 18:04
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: ntsekouras <[email protected]>
Co-authored-by: jsnajdr <[email protected]>
Co-authored-by: ellatrix <[email protected]>
Co-authored-by: draganescu <[email protected]>
Co-authored-by: jasmussen <[email protected]>
Co-authored-by: jameskoster <[email protected]>
Co-authored-by: richtabor <[email protected]>
Co-authored-by: ntsekouras <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: jameskoster <[email protected]>
Co-authored-by: annezazu <[email protected]>
Co-authored-by: richtabor <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: jasmussen <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: alexstine <[email protected]>
Co-authored-by: afercia <[email protected]>
Co-authored-by: joedolson <[email protected]>
Co-authored-by: pablohoneyhoney <[email protected]>
Co-authored-by: SaxonF <[email protected]>
@pull pull bot added the ⤵️ pull label May 21, 2024
Copy link

Warning: Type of PR label mismatch

To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.

  • Type-related labels to choose from: [Type] Automated Testing, [Type] Breaking Change, [Type] Bug, [Type] Build Tooling, [Type] Code Quality, [Type] Copy, [Type] Developer Documentation, [Type] Enhancement, [Type] Experimental, [Type] Feature, [Type] New API, [Type] Task, [Type] Technical Prototype, [Type] Performance, [Type] Project Management, [Type] Regression, [Type] Security, [Type] WP Core Ticket, Backport from WordPress Core.
  • Labels found: ⤵️ pull.

Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task.

kellenmace and others added 18 commits May 21, 2024 17:40
* Add JSDoc dockblock for PostURL component

* Refine PostURL JSDocs

* Add PostURLPanel JSDocs

* Add PostURLLabel JSDocs

* Add PostURLCheck JSDocs

* Auto-generate editor docs for PostURL updates

---------

Co-authored-by: Damon Cook <[email protected]>
* Add docblock to PostTitle component

* Refine PostTitle component JSDocs

* Add PostTitleRaw component JSDocs

* Add usePostTitle JSDocs

* Add usePostTitleFocus JSDocs

* Auto-generate editor docs for PostTitle updates

---------

Co-authored-by: Damon Cook <[email protected]>
* Test to check for label and skip check

Test PHP change

Action

* Added extra label check

* Sentence case for the label: No Core Sync Required

Co-authored-by: ramonjd <[email protected]>
Co-authored-by: tellthemachines <[email protected]>
Co-authored-by: ellatrix <[email protected]>
Co-authored-by: priethor <[email protected]>
…tained a space character (#61748)

* Add test file

* Add test JS file with new package version

* Bump lint-staged npm package version to fix issue where wp-scripts commands would fail if the file path contained a space

* Remove test files

Co-authored-by: kellenmace <[email protected]>
Co-authored-by: colorful-tones <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: ndiego <[email protected]>
Co-authored-by: carolinan <[email protected]>
* History: add getLocationWithParams method

* Fix effect loop in pages dataview
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: gziolo <[email protected]>
Co-authored-by: tyxla <[email protected]>
Co-authored-by: sirreal <[email protected]>
Co-authored-by: jsnajdr <[email protected]>
Co-authored-by: kevin940726 <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: ntsekouras <[email protected]>
…1859)

Co-authored-by: jsnajdr <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: tyxla <[email protected]>
Co-authored-by: annezazu <[email protected]>
* Tooltip: Fix Ariakit tooltip store usage

* CHANGELOG

Co-authored-by: tyxla <[email protected]>
Co-authored-by: diegohaz <[email protected]>
* add unit tests for shadow support

* refactor tests

* Update method doc block

Co-authored-by: Aaron Robertshaw <[email protected]>

* add core pr reference

---------

Co-authored-by: Aaron Robertshaw <[email protected]>

Co-authored-by: madhusudhand <[email protected]>
Co-authored-by: aaronrobertshaw <[email protected]>
Co-authored-by: mikachan <[email protected]>
Co-authored-by: vcanales <[email protected]>
* Use smaller placement

* remove border radius

* fix scrollbars

* add the border-radius to the previews

---------

Co-authored-by: Ben Dwyer <[email protected]>
Co-authored-by: richtabor <[email protected]>
Co-authored-by: scruffian <[email protected]>
Co-authored-by: jasmussen <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: jameskoster <[email protected]>
Co-authored-by: bgardner <[email protected]>
Co-authored-by: annezazu <[email protected]>
Co-authored-by: hbhalodia <[email protected]>
Update packages/edit-site/src/components/global-styles/style-variations-container.js

Co-authored-by: Andrei Draganescu <[email protected]>

Update packages/edit-site/src/components/global-styles/style-variations-container.js

Co-authored-by: Andrei Draganescu <[email protected]>

update function name

remove variations which are empty once the property has been filtered out

move to a reduce function

remove duplicate values

Global Styles: Don't filter out variations where the heading and body fonts are the sane

Co-authored-by: scruffian <[email protected]>
Co-authored-by: richtabor <[email protected]>
Co-authored-by: ntsekouras <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: youknowriad <[email protected]>
youknowriad and others added 29 commits May 31, 2024 15:05
…tor package. (#62146)

Co-authored-by: youknowriad <[email protected]>
Co-authored-by: ramonjd <[email protected]>
Co-authored-by: ellatrix <[email protected]>
Co-authored-by: kevin940726 <[email protected]>
Co-authored-by: talldan <[email protected]>
Co-authored-by: mcsf <[email protected]>
Co-authored-by: gziolo <[email protected]>
Co-authored-by: SantosGuillamot <[email protected]>
Co-authored-by: youknowriad <[email protected]>
…ied entities (#61811)

* Add rough prototype showing meta in entities panel

* Simplify detection of metadata changes

Removed unnecessary code added in previous commit
and instead modified existing functions to add a flag on
existing dirtyEntityRecord structures to indicate when
metadata changes have been made.

* Remove obsolete code

* Add indicator for bindings to save entities panel

* Modify message to read 'Post Meta'

* Add store function to check if meta has changed

* Remove obsolete check

* Simplify logic to check if meta has changed

* Update tests

* Make hasMetaChanges selector private

* Suggestion: Move logic to `hasPostMetaChanges` selector

* Change test formatting

* Don't show save panel in pre-publish

* Get `hasPostMetaChanges` from the proper place

* Add end-to-end test

* Update class name

* Clarify naming

* Show Post Meta in relevant post

* Remove extra change

* Move test metadata test util

* Update comments

* Prevent save panel from appearing when just footnotes are modified

* Update package-lock.json

---------

Co-authored-by: Mario Santos <[email protected]>
…h highest specificity (#62031)

Co-authored-by: ockham <[email protected]>
Co-authored-by: ntsekouras <[email protected]>
Co-authored-by: gziolo <[email protected]>
Co-authored-by: ndiego <[email protected]>
Co-authored-by: jameskoster <[email protected]>
Co-authored-by: jasmussen <[email protected]>
* Block card: Fix typographic widow.

* Use Text and VStack.

* Restore classname.

* Try to fix e2e test

---------

Co-authored-by: Tetsuaki Hamano <[email protected]>
Co-authored-by: SantosGuillamot <[email protected]>
Co-authored-by: cbravobernal <[email protected]>
* Inserter: show all block

* Fix parents

* Use section root as fallback

* Remove heading, remove reusable blocks

* Add private selector option

* Fix quick inserter

* Fix appender inserter

* Fix most used, fix quick inserter

* Fix widgets page

* Fix e2e tests

Co-authored-by: ellatrix <[email protected]>
Co-authored-by: draganescu <[email protected]>
Co-authored-by: jeryj <[email protected]>
Co-authored-by: jasmussen <[email protected]>
Co-authored-by: jameskoster <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: richtabor <[email protected]>
Co-authored-by: SaxonF <[email protected]>
Co-authored-by: annezazu <[email protected]>
Unlinked contributors: jarekmorawski.

Co-authored-by: kevin940726 <[email protected]>
Co-authored-by: richtabor <[email protected]>
Co-authored-by: jameskoster <[email protected]>
Co-authored-by: talldan <[email protected]>
Co-authored-by: jasmussen <[email protected]>
Co-authored-by: annezazu <[email protected]>
Co-authored-by: richtabor <[email protected]>
Co-authored-by: jasmussen <[email protected]>
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
…e with increased CSS specificity (#62184)

* Refactor media-text layout styles

* Update media-text alignment styles to support nested media-text blocks

* Update media-text layout for mobile view

Co-authored-by: amitraj2203 <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: carolinan <[email protected]>
…e image in nested media & text blocks does not show (#62182)

* Fixed Media Text Block Issue

* Implemented the suggestions

Co-authored-by: narenin <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: carolinan <[email protected]>
Co-authored-by: shail-mehta <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: tyxla <[email protected]>
Co-authored-by: zackkrida <[email protected]>
* Add lint rule for inaccessible disabled `Button`

* Exclude react native files

* Include files in root `storybook` folder

* Fix in Storybook editor playground (matches actual behavior)

* Fix in install block button (is clearly a busy state)

* Ignore in gallery image reordering buttons

* Fix in LinkControl copy link button (aleviates confusion)

* Ignore in edit-site pagination buttons (not confusing, and useful)

* Fix in enable custom fields (is clearly a busy state)

* Fix in DataViews list view

Empty action menu should still be perceivable to aleviate confusion, and does not clutter tab order due to Composite use.

* Fix in DataViews CompactItemActions (is dropdown trigger)

* Fix in template part title modal

disabled and aria-disabled are set with an identical condition, which doesn't make sense but signals the intent to keep it focusable.

* Fix in PageList block (should be perceivable, esp. because the description is always there)

* Fix in ConvertToLinksModal button (should be perceivable, and doesn't clutter tab order)

* Fix in edit-site "Apply globally" button (should be perceivable, and doesn't clutter tab order)

* Fix in edit-site nav menu rename modal (should be perceivable to signal that input is invalid)

* Fix in RevisionsButtons (button is never visible when `areStylesEqual`)

* Fix in RevisionsButtons (contains important info and should be perceivable)

* Fix in GlobalStylesSidebar (should be perceivable)

* Fix in PostPublishPanel cancel button (can cause focus loss)

* Fix in PostPreviewButton (should be perceivable)

* Defer decision in ButtonBlockAppender

* Fix in reusable blocks import form (should be perceivable, can cause focus loss)

* Adapt test for PostPreviewButton

* Improve rigidity of accessible disabled detection in test

* Add disable reason for ButtonBlockAppender

Co-authored-by: mirka <[email protected]>
Co-authored-by: tyxla <[email protected]>
Co-authored-by: DaniGuardiola <[email protected]>
…sses (#61561)

* This ensures that any theme exports get the benefit of the latest changes to theme json and resolver.

* check for function exists.

* Moving changes to `/lib` folder because none of the changes are backwards compat specific.
Having this extension permanently in Gutenberg means that theme.json exporting will always use the latest version of the Theme JSON family of classes.

* Add to version control would help

* Added i18n domain


Co-authored-by: ramonjd <[email protected]>
Co-authored-by: andrewserong <[email protected]>
…', or the editor view is not currently editable) when rendering the editor canvas container slot is a regression. Removing. (#62212)

Co-authored-by: ramonjd <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: youknowriad <[email protected]>
…for 6.6 compat (#62211)

Co-authored-by: ramonjd <[email protected]>
Co-authored-by: andrewserong <[email protected]>
Update the Script Module data filter name and script tag ID to align with Core changes.

See WordPress/wordpress-develop#6682.

Co-authored-by: sirreal <[email protected]>
Co-authored-by: gziolo <[email protected]>
* Update sidebar title + icon alignement

* Fix alignment between sidebar title and site title

* revert alignment, adjust padding

Co-authored-by: jameskoster <[email protected]>
Co-authored-by: richtabor <[email protected]>
Co-authored-by: t-hamano <[email protected]>
* Remove `syncDerivedUpdates` function

* Remove `syncDerivedUpdates` mention

* Remove unused `undoIgnoreBlocks`
* Mobile - Unsupported block editor - Update editor style overrides

* Mobile - Unsupported block - Update UI to show Tap to edit for unsupported blocks, simplifying the flow to open the Unsupported block editor

* Fix unsupported block condition

* Update snapshot

* Fix condition for the help icon
@carstingaxion carstingaxion merged commit 2656eca into carstingaxion:trunk Jun 4, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment