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

merge master back into fork #18

Merged
merged 69 commits into from
Nov 28, 2020
Merged

Conversation

fabiankaegy
Copy link
Member

Description

How has this been tested?

Screenshots

Types of changes

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • My code has proper inline documentation.
  • I've included developer documentation if appropriate.
  • I've updated all React Native files affected by any refactorings/renamings in this PR.

aaronrobertshaw and others added 30 commits November 24, 2020 12:25
)

Updates the recently added font appearance block support to separate the style and weight aspects in terms of opting in via block.json. This required:

* Updating the detection of support opt in within typography tools
* Updating the UI control to handle the situation when only one option is opted into

This change also includes adding translation for the combined UI option labels and extracting concerns of how the selections are stored within style attributes from the UI control.
…efinition (#27178)

* Replace store name string with store definition

* Triggering build
* Change from store name provided as a string to store definition

* Lint

* lint - change import src

Co-authored-by: grzegorz_marzencki <[email protected]>
Move MainDashboardButton slot from interface to appropriate
places in edit-post and edit-site packages.
* Update default templates

* Formatting

* Re-add the front-page template

* Formatting

* Update default templates

* Revert "Update default templates"

This reverts commit 4551f8b.

* Update template names and descriptions

* Fix incorrect spacing

* Update the template descriptions

* Increase width of template dropdown

* Only increase new template drodpown width on large enough screens

Also minor formatting fixes

Co-authored-by: Copons <[email protected]>
* Enable Post Featured Image to be set, unset and replaced

* change default alt text

* replace icon with label
Update the new template dropdown list to only show a hand-picked list of templates — if they are missing from the current site/theme.
Also hide the new template button if there are no more missing templates to be added.
* implemented toolbar link button.

* Added bottom sheet padding config

* File block: Implement link toolbar button reusing inspector control sidebar

Co-authored-by: Joel Dean <[email protected]>
* Refactor click redirect(and avoid div)

* Remove padding if there are meta boxes

* Polish

* Use mouse down

* Add comment
* Restore gray background.

* Make linter happy

Co-authored-by: Ella van Durpe <[email protected]>
* Adds in viewports or adjusts them for block patterns

* Increases default of viewportWidth

* Catch variable missing

* Remove spaces/whitespaces in PHP files

Co-authored-by: Jon Q <[email protected]>
…spacing is consistent and alignment when the block is narrow is visually appealing. (#27255)
…tion Panel (#26665)

Add search functionality to Templates and Template parts menus in the Navigation panel.
Fixed some formatting issues and a typo
* Editor styles: convert to hook

* Format

* Fix import

* Add ref to dependency array
* Adding WPMediaLibrary source for File block

* Implemented Android side of WPMediaLibrary source for File block

* There's now a direct WP MediaPicker action for the ALL allowed type

* set the value of "other" for the OTHER enum.

* Update packages/react-native-editor/ios/GutenbergDemo/GutenbergViewController.swift

Co-authored-by: Paul Von Schrottky <[email protected]>

* Changing MEDIA_TYPE_ALL to MEDIA_TYPE_ANY

* When MEDIA_TYPE_ANY is passed the default device icon is shown.

* Added a pickerTitle for the any type that represents the File block.

* Change media picker option title to "Choose from device"

Co-authored-by: Joel Dean <[email protected]>
Co-authored-by: Paul Von Schrottky <[email protected]>
JustinyAhin and others added 29 commits November 26, 2020 13:16
* Start block patterns list component readme

* Update block patterns list component readme

* Update block patterns list component readme

* Add block patterns list component props

* Update block patterns list component readme

* Update JSX code sample

* Update component readme props

* Update component props description

* Update component readme props description

* Update component props types

* Start block patterns list component readme

* Update block patterns list component readme

* Update block patterns list component readme

* Add block patterns list component props

* Update block patterns list component readme

* Update JSX code sample

* Update component readme props

* Update component props description

* Update component readme props description

* Update component props types

* Update the component props description

* Update packages/block-editor/src/components/block-patterns-list/README.md

Co-authored-by: Greg Ziółkowski <[email protected]>
* Edit Post: Refactor effects to action generators

* Edit Post: Remove effects middleware and use register()

* Edit Post: Remove refx and add @wordpress/data-controls

* Edit Post: Delete unused effects and middlewares

* Edit Post: Fix tests

* Edit Post: Revert store registration

* Use global saveMetaboxUnsubscribe

* Enable the data controls in the edit-post registry

* Do not wait for requestMetaBoxUpdates to finish

Co-authored-by: Adam Zieliński <[email protected]>
* paste plain text option

* Add e2e test
* Brings back title and icon for gallery block

* Brings back title and icon for gallery block

* Removes entire block of CSS that's potentially not required

* Better refactor - props @jasmussen
#27275)

* Download button as RichText

* Update unit tests

* Fix merge errors

* Fix android download button with long text

* Update unit test snapshot
…27281)

* Replace store name string with store definition

* Refactor: exporting and using store name constant

* Adding missing package-lock.json (npm i)

* Refactor: reverting constant export in public API

* Removing unused dependencies from package.json
* Fix crash when null date passed.

* Update test
* Publish mMainDashboardButton docs

* Update TOC
* Replace type assertion with annotation

* Update module tsconfig

* Add file to ts

* Add new rule

* Add rule to recommended set

* Allow unstable configuration

* Add changelog entry

* Disable for Gutenberg

* fixup! Allow unstable configuration

* Fix rule name in config doc

* Fix rule name in test

* Simplify single message

* Remove from recomended configuration

* Add link to unsafe API documentation

* Fix changelog type
…ded (#26724)

* Try only react to changes in the selected stores

* Add tests

* Update failed tests

* Add more tests and comments

* Update comments

* Fix registry selector

* Add tests for conditionals in selectors

* Fix listening stores type

* Use a flag and skip subscribing to stores that don't exist

* Fix selectors not being called on deps changed

* Handles subscriptions to the parent's stores

* Fix registry test

* Move onStoreChange back inside effect

* Update comment

* Use a weak map to record stores/parent privately

* Handle use

* Subscribe store recursively
* Refactor native gradient logic

* Make using 'length' conditional in serializing

* Move fixing logic directly to serializeGradientPosition

* Remove global from regex
Especially in contexts with the navigation sidebar open

Fixes #27245 #26754
Co-authored-by: Glen Davies <[email protected]>
Co-authored-by: Aaron Robertshaw <[email protected]>
@fabiankaegy fabiankaegy merged commit f7cae04 into js-advancers:master Nov 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.