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 #640

Open
wants to merge 125 commits into
base: trunk
Choose a base branch
from
Open

[pull] trunk from WordPress:trunk #640

wants to merge 125 commits into from

Conversation

pull[bot]
Copy link

@pull pull bot commented Oct 22, 2024

See Commits and Changes for more details.


Created by pull[bot]

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

jameskoster and others added 30 commits October 18, 2024 01:09
Co-authored-by: jameskoster <[email protected]>
Co-authored-by: ciampo <[email protected]>
Co-authored-by: tyxla <[email protected]>
…ditor (#65932)

* reset zoomLevel on component unmount

* conditionally reset zoom level

* revert iframe changes and reset zoomLevel in the text-editor

Co-authored-by: madhusudhand <[email protected]>
Co-authored-by: draganescu <[email protected]>
Co-authored-by: getdave <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: aaronrobertshaw <[email protected]>
Co-authored-by: yani- <[email protected]>
Co-authored-by: ironprogrammer <[email protected]>
Co-authored-by: simison <[email protected]>
Co-authored-by: PARTHVATALIYA <[email protected]>
#65124)

* Simplify global styles root menu labels.

* Fix and simplify labels in various global styles submenus.

* Adjust failing test.

* Fix more tests.

* Fix one more test.

* Entirely remove palette icons and move color randomizer.

* Restore randomize colors position and add visible label.

Co-authored-by: afercia <[email protected]>
Co-authored-by: richtabor <[email protected]>
Co-authored-by: ntsekouras <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: jameskoster <[email protected]>
Co-authored-by: ciampo <[email protected]>
)

Co-authored-by: andrewserong <[email protected]>
Co-authored-by: madhusudhand <[email protected]>
Co-authored-by: getdave <[email protected]>
Co-authored-by: colorful-tones <[email protected]>
* Add featured image alt text

* Updated duplicate code to function.

* Modify doc

* Minor adjustments for the docblock.

---------

Co-authored-by: prajapatisagar <[email protected]>
Co-authored-by: afercia <[email protected]>
…e.scss (#66147)

* Remove clip for screen-reader-text CSS

* item__author display none while is-installing

Co-authored-by: mediaformat <[email protected]>
Co-authored-by: afercia <[email protected]>
Co-authored-by: colorful-tones <[email protected]>
…ed with `deepMerge` (#66183)

* Fix types in test

* Add failing tests

* Fix the bug

* Update changelog

* Fix changelog

* Update tests

Co-authored-by: DAreRodz <[email protected]>
Co-authored-by: michalczaplinski <[email protected]>
Co-authored-by: ciampo <[email protected]>
Co-authored-by: tyxla <[email protected]>
Co-authored-by: DaniGuardiola <[email protected]>
Co-authored-by: jameskoster <[email protected]>
Co-authored-by: mirka <[email protected]>
Co-authored-by: ciampo <[email protected]>
Co-authored-by: tyxla <[email protected]>
* Filter fields by type in post meta

* Add e2e test

* Allow only strings

* Update test to expect numbers and integers to be hidden

* Update tests to check for label instead of key

* Adapt object custom field

* Adapt e2e tests

* Add `type` prop to `getFieldsList`

* Adapt testing source

* Reduce diff

* Add `attribute` to dependencies



---------
Co-authored-by: SantosGuillamot <[email protected]>
Co-authored-by: cbravobernal <[email protected]>
Co-authored-by: artemiomorales <[email protected]>
Co-authored-by: gziolo <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: getdave <[email protected]>
Co-authored-by: ajlende <[email protected]>
Co-authored-by: draganescu <[email protected]>
Co-authored-by: ntsekouras <[email protected]>
Co-authored-by: talldan <[email protected]>
Co-authored-by: richtabor <[email protected]>
* add new tests

* updated tests

* remove one extra test

Co-authored-by: michalczaplinski <[email protected]>
Co-authored-by: DAreRodz <[email protected]>
* update comment

* Add comments

Co-authored-by: michalczaplinski <[email protected]>
Co-authored-by: DAreRodz <[email protected]>
* add: example for getSelectedBlock

* change: build docs
Co-authored-by: talldan <[email protected]>
Co-authored-by: mikachan <[email protected]>
Co-authored-by: stokesman <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: colorful-tones <[email protected]>
Co-authored-by: dhruvang21 <[email protected]>
Co-authored-by: tellthemachines <[email protected]>
Co-authored-by: andrewserong <[email protected]>
Co-authored-by: ramonjd <[email protected]>
Co-authored-by: aaronrobertshaw <[email protected]>
Co-authored-by: getdave <[email protected]>
Co-authored-by: talldan <[email protected]>
Co-authored-by: kevin940726 <[email protected]>
Co-authored-by: jasmussen <[email protected]>
Co-authored-by: tellthemachines <[email protected]>
Co-authored-by: aaronrobertshaw <[email protected]>
Co-authored-by: andrewserong <[email protected]>
* Resets the Zoom on syncing to new entity

* Zoom back out when exiting editor

---------

Co-authored-by: Daniel Richards <[email protected]>
Update package management to use npm workspaces instead of lerna.

Lerna is obsolete for many repository management operations, such as
dependency installation or script running. All of these are supported by
npm now.

Lerna continues to be used for publishing flows to ensure the
appropriate dependencies are updated and published with the correct
versions.

The hope is that this simplfies dependendy management and maintains a
more sane dependency tree. Dependency management has become increasingly
difficult as Gutenberg has grown.

---

Co-authored-by: t-hamano <[email protected]>
Co-authored-by: sirreal <[email protected]>
Co-authored-by: gziolo <[email protected]>
Co-authored-by: ciampo <[email protected]>
Co-authored-by: jsnajdr <[email protected]>
Co-authored-by: yusuke-omae <[email protected]>
Co-authored-by: kevin940726 <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: ntsekouras <[email protected]>
Co-authored-by: ellatrix <[email protected]>
Co-authored-by: mattrwalker <[email protected]>
Co-authored-by: jameskoster <[email protected]>
Co-authored-by: ciampo <[email protected]>
Co-authored-by: jasmussen <[email protected]>
… a string (#66234)

Co-authored-by: oandregal <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: gziolo <[email protected]>
tyxla and others added 30 commits October 24, 2024 15:38
Co-authored-by: tyxla <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: jsnajdr <[email protected]>
* Also consider child elements of insertion point in `isInsertionPoint` function

* Also disable the root block list when in zoom out mode

* Consider situations where the sectionRoot is also the root

* Update comment

Co-authored-by: Dave Smith <[email protected]>

* Fix lint

---------

Co-authored-by: talldan <[email protected]>
Co-authored-by: getdave <[email protected]>
Co-authored-by: annezazu <[email protected]>
Co-authored-by: ndiego <[email protected]>
Co-authored-by: richtabor <[email protected]>
Co-authored-by: colorful-tones <[email protected]>
Co-authored-by: stokesman <[email protected]>
Co-authored-by: ndiego <[email protected]>
Co-authored-by: fabiankaegy <[email protected]>
Co-authored-by: carolinan <[email protected]>
* Fix: JSON Schema Docgen doesn't work on Windows OS

* Update bin/api-docs/gen-theme-reference.mjs

Co-authored-by: Jon Surrell <[email protected]>

* Lint

---------

Co-authored-by: t-hamano <[email protected]>
Co-authored-by: sirreal <[email protected]>
* Contain margins with BFC instead of border

* Move to block canvas styles in the visual editor

---------

Co-authored-by: Andrew Serong <[email protected]>
Co-authored-by: stokesman <[email protected]>
Co-authored-by: andrewserong <[email protected]>
Co-authored-by: ramonjd <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: ntsekouras <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: stokesman <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: ramonjd <[email protected]>
Document recent changes to the build system that change are requirements
for publishing WordPress scripts and script modules.

#65064 updated the way that script modules from packages are bundled for Gutenberg and WordPress.
#66272 updated the way that scripts from packages are bundled for Gutenberg and WordPress.

---------

Co-authored-by: sirreal <[email protected]>
Co-authored-by: gziolo <[email protected]>
Co-authored-by: justintadlock <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Unlinked contributors: joecsmalley.

Co-authored-by: t-hamano <[email protected]>
Co-authored-by: tellthemachines <[email protected]>
Co-authored-by: jasmussen <[email protected]>
Co-authored-by: ethanclevenger91 <[email protected]>
Co-authored-by: jordesign <[email protected]>
Co-authored-by: jennydupuy <[email protected]>
Co-authored-by: ciampo <[email protected]>
Co-authored-by: stokesman <[email protected]>
Co-authored-by: DaniGuardiola <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: ndiego <[email protected]>
Co-authored-by: talldan <[email protected]>
* ESLint: Stop disabling react-hooks/exhaustive-deps rule

* CHANGELOG

* Add ref to dependencies

* Retain some context in comments

Co-authored-by: tyxla <[email protected]>
Co-authored-by: ciampo <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
* Only reset zoom level

* Avoid set editor mode on sidebar toggle

Co-authored-by: getdave <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: Ella <[email protected]>
Co-authored-by: ntsekouras <[email protected]>
Co-authored-by: jasmussen <[email protected]>
Co-authored-by: annezazu <[email protected]>
Co-authored-by: creativecoder <[email protected]>
Co-authored-by: richtabor <[email protected]>
The useZoomOut hook should not be responsible for checking viewport width. It should respect the desired zoom out level passed by the condition. We should decide if we want to enter zoom out or not where we implement the useZoomOut hook (the inserter menu).

---------

Co-authored-by: jeryj <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: kevin940726 <[email protected]>
Co-authored-by: PARTHVATALIYA <[email protected]>
Co-authored-by: getdave <[email protected]>
* Rich Text: Fix React Complier error for 'useEventListeners'
* Try 'useInsertionEffect' hook

Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: tyxla <[email protected]>
Co-authored-by: ntsekouras <[email protected]>
Co-authored-by: richtabor <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: jasmussen <[email protected]>
Co-authored-by: jameskoster <[email protected]>
Co-authored-by: ellatrix <[email protected]>
Co-authored-by: afercia <[email protected]>
…ed (#66482)

The modal was incorrectly displaying the number of different *types* of
entities to be saved. This result was inconsistent with the actual list
of entities rendered underneath and with the "Review _n_ changes" label
on the left-hand sidebar.
* Add utility function

* BorderBoxControl: Deprecate 36px default size

* Fix naming

* Add changelog

Co-authored-by: mirka <[email protected]>
Co-authored-by: ciampo <[email protected]>
Co-authored-by: DaniGuardiola <[email protected]>
* Add utility function

* BorderBoxControl: Deprecate 36px default size

* Fix naming

* Add changelog

* BorderControl: Deprecate 36px default size

* Add changelog

Co-authored-by: mirka <[email protected]>
Co-authored-by: ciampo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.