-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Cherry-picked commits for WordPress 6.4 Beta 3 #55039
Commits on Oct 4, 2023
-
Add clearer labels and context to BlockPatternsSyncFilter (#54838)
* Add help text & clearer labeling * Theme & Plugins
Configuration menu - View commit details
-
Copy full SHA for 05755f3 - Browse repository at this point
Copy the full SHA 05755f3View commit details -
Font Library: use snake_case instead of camelCase on fontFamilies end…
…point param (#54977) * use snake_case instead of camelCase on endpoint param * updating test
Configuration menu - View commit details
-
Copy full SHA for 089c0a3 - Browse repository at this point
Copy the full SHA 089c0a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 020570d - Browse repository at this point
Copy the full SHA 020570dView commit details -
Block Editor: Avoid double-wrapping selectors when transforming the s…
…tyles (#54981) * Block Editor: Avoid double-wrapping selectors when transforming the styles * Include space in the check
Configuration menu - View commit details
-
Copy full SHA for 5c01d3d - Browse repository at this point
Copy the full SHA 5c01d3dView commit details -
Don't display the navigation section in template parts details when a…
… menu is missing (#54993)
Configuration menu - View commit details
-
Copy full SHA for f112f14 - Browse repository at this point
Copy the full SHA f112f14View commit details -
Scripts: Properly use CommonJS for default Playwright config (#54988)
* Fix path to `globalSetup` in default Playwright config Oversight from #54856 * `module.exports` * Fix default export usage
Configuration menu - View commit details
-
Copy full SHA for d36bd6d - Browse repository at this point
Copy the full SHA d36bd6dView commit details -
Add template replace flow to template inspector (#54609)
* Add a modal to allow template switching * fetch template info * Allow switching to different patterns * Allow switching to different patterns * Add columns * move availble templates to the actions * filter for the correct templates * create the right data structure in the use select * move to a hook * inject theme attribute into pattern again * put the overlay over the top of the dropdown * fix the pattern to templates hook * set the template on click * Also set the blocks * remove calls to set template with the current template, since setting blocks correctly updates the content in the editor * serialize blocks so that we have correctly processed template parts * remove duplicated code * Remove unnecessary mapping * refactor * memoize the patterns * combine the useSelect * Update packages/edit-site/src/components/sidebar-edit-mode/page-panels/hooks.js Co-authored-by: Andrei Draganescu <me@andreidraganescu.info> * Fix ESLint error * Only show the button is there is more than 1 pattern * Copy update * Move the hook to a subdir * check that there are patterns * move the check * remove useCallback * change condition to show the button * change condition * move to use editEntityRecord * combine filters * add comments * Update packages/edit-site/src/components/sidebar-edit-mode/template-panel/replace-template-button.js Co-authored-by: Andrei Draganescu <me@andreidraganescu.info> --------- Co-authored-by: Andrei Draganescu <andrei.draganescu@automattic.com> Co-authored-by: Andrei Draganescu <me@andreidraganescu.info> Co-authored-by: George Mamadashvili <georgemamadashvili@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 283f4e7 - Browse repository at this point
Copy the full SHA 283f4e7View commit details -
List View: Fix performance issue when selecting all blocks (#54900)
* List View: Fix performance issue when selecting all blocks within the editor canvas in long posts * Add a comment, rename const * Move block focus to be performed only once at the root of the list view, instead of within each block
Configuration menu - View commit details
-
Copy full SHA for fba6504 - Browse repository at this point
Copy the full SHA fba6504View commit details -
Fix left and right aligmnent in children of Post Template (#54997)
* Fix left and right aligmnent in children of Post Template * Add align center styles * Fix image placeholder disappearing
Configuration menu - View commit details
-
Copy full SHA for 2998442 - Browse repository at this point
Copy the full SHA 2998442View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2eb0ab - Browse repository at this point
Copy the full SHA e2eb0abView commit details -
Removed unwanted space from the string (#54654)
* Update styles.js Removed unwanted space with translation * Update deleted-navigation-warning.js Unwanted space at the end of the string shows translation warning. * Update inspector-controls.js Unwanted space at the end of the string shows translation warning
Configuration menu - View commit details
-
Copy full SHA for d11de67 - Browse repository at this point
Copy the full SHA d11de67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c227eb - Browse repository at this point
Copy the full SHA 3c227ebView commit details -
[Inserter]: Fix reset of registered media categories (#55012)
* [Inserter]: Fix reset of registered media categories * convert `useInserterMediaCategories` to selector and make private
Configuration menu - View commit details
-
Copy full SHA for aca3f6d - Browse repository at this point
Copy the full SHA aca3f6dView commit details -
Try fixing the flaky 'Toolbar roving tabindex' e2e test (#54785)
* Try fixing the flaky 'Toolbar roving tabindex' e2e test * Add a link in the comment
Configuration menu - View commit details
-
Copy full SHA for 202a297 - Browse repository at this point
Copy the full SHA 202a297View commit details
Commits on Oct 5, 2023
-
Fallback to Twitter provider when embedding X URLs (#54876)
* Fallback to Twitter provider when embedding X URLs * Avoid processing empty urls when trying a different provider * Update `react-native-editor` changelog # Conflicts: # packages/react-native-editor/CHANGELOG.md
Configuration menu - View commit details
-
Copy full SHA for fcb06c7 - Browse repository at this point
Copy the full SHA fcb06c7View commit details -
Based on the efforts in #51761, remove caps case from Template Part a…
…nd prefer sentence case. As all instances of this string are stand alone, it's okay to have Template capitalized as it's the start of a sentence. (#54709)
Configuration menu - View commit details
-
Copy full SHA for e790617 - Browse repository at this point
Copy the full SHA e790617View commit details -
Update pattern import menu item (#54782)
* Update pattern import menuitem * Revert label
Configuration menu - View commit details
-
Copy full SHA for e93d348 - Browse repository at this point
Copy the full SHA e93d348View commit details -
Configuration menu - View commit details
-
Copy full SHA for baf1425 - Browse repository at this point
Copy the full SHA baf1425View commit details -
Configuration menu - View commit details
-
Copy full SHA for 841537f - Browse repository at this point
Copy the full SHA 841537fView commit details -
Configuration menu - View commit details
-
Copy full SHA for dac8a21 - Browse repository at this point
Copy the full SHA dac8a21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c89d7e - Browse repository at this point
Copy the full SHA 0c89d7eView commit details -
Site Editor: Do not display 'trashed' navigation menus in Sidebar (#5…
…5072) * Site Editor: Do not display 'trashed' navigation menus in Sidebar * Extract selector into a hook Co-authored-by: Aaron Robertshaw <60436221+aaronrobertshaw@users.noreply.github.com> --------- Co-authored-by: Aaron Robertshaw <60436221+aaronrobertshaw@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d0630d0 - Browse repository at this point
Copy the full SHA d0630d0View commit details -
Image: Fix Lightbox display bug in Classic Themes. (#54837)
* If current theme is not a block theme add a default value for $background_color and $close_button_color. * Set lightbox buttons' background & border to none on hover & focus * Change logic to support lightbox in classic themes * Update logic to avoid unnecessary calls * Add style fixes * Remove unnecessary code * Fix close button color --------- Co-authored-by: Mario Santos <santosguillamot@gmail.com> Co-authored-by: Ricardo Artemio Morales <ric.morales22@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ae40d77 - Browse repository at this point
Copy the full SHA ae40d77View commit details
Commits on Oct 9, 2023
-
Latest Posts: add screen reader title text to Read more links and use…
… alternative to excerpt_more filter (#55029) * In the editor: adds a screen reader text span with the post title in the i18n interpolator In the frontend: removes excerpt_more filter so we don't override themes and also replaces the default ellipsis with an accessible read more link * Removing "of" preposition in favour of a semi-colon. "Read more" is already translated so using a specifier to add it to the string
Configuration menu - View commit details
-
Copy full SHA for 11f6a6d - Browse repository at this point
Copy the full SHA 11f6a6dView commit details -
Fix Image block lightbox missing alt attribute and improve accessibil…
…ity (#55010) * Move lightbox open button after the image. * Fix getting the lightbox image alt attribute. * Improve docblocks. * Do not render empty role attribute. * Remove unnecessary aria-hidden attribute. * Set aria-modal attribute dynamically. * More meaningful and simpler modal dialog aria-label. * Increase Close button target size. * Add enlarged image base64 encoded placeholder. * Better check for alt attribute as a string. * Update changelog. * Move changelog entry to the block library changelog. * Set lightbox dialog aria-label dynamically. * Hide background scrim container from assistive technology. * Remove obsolete code --------- Co-authored-by: Ricardo Artemio Morales <ric.morales22@gmail.com> # Conflicts: # packages/block-library/CHANGELOG.md
Configuration menu - View commit details
-
Copy full SHA for 89f5e33 - Browse repository at this point
Copy the full SHA 89f5e33View commit details -
Patterns: Add category selector to pattern creation modal (#55024)
--------- Co-authored-by: Kai Hao <kai@kaihao.dev>
Configuration menu - View commit details
-
Copy full SHA for 9398b4a - Browse repository at this point
Copy the full SHA 9398b4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e4bba1 - Browse repository at this point
Copy the full SHA 2e4bba1View commit details -
Site Editor: Fix template part area listing when a template has no ed…
…its (#55115) * Alternative: Fix template part area listing when a template has no edits * Fix typos
Configuration menu - View commit details
-
Copy full SHA for 95e1f62 - Browse repository at this point
Copy the full SHA 95e1f62View commit details