Skip to content

Merge Master back into fork#1

Merged
fabiankaegy merged 184 commits intojs-advancers:masterfrom
WordPress:master
Apr 29, 2020
Merged

Merge Master back into fork#1
fabiankaegy merged 184 commits intojs-advancers:masterfrom
WordPress:master

Conversation

@fabiankaegy
Copy link
Copy Markdown
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.

jasmussen and others added 30 commits April 13, 2020 08:19
* Try removing the triangle indicator.

* Remove the gray fade again.

* Fix busy gradient.

* Update latest post icon.

* Tweak active state for alignments.

* Also do that for block navigation.

* Animate focus state.

* Unfloat notice button.

Fixes #21316.

* Popovers: default to bottom right.

Fixes #20765.

* Add spacing to popover.

* Add a "primary" prop to popover, and apply to menu popovers.

* isAlternate instead of isPrimary

* Smaller plus for appender.

* Update snapshots.
Followup to #21476, which defaulted popovers to open down and right. This restores the "down and center" behavior for the inserter as used in-canvas.
* Update 'Welcome Guide' illustrations

* Update 'Documentation' and 'Inserter Icon' illustrations
* Update the "patterns" to reflect "user interface" instead

This file was confusing because it used terminology like "patterns" for specific UI sections. We are using the terminology "patterns" in relation to Block Patterns nowadays, so this needed updating. I also changed the Title of the doc, so this may need to be reflected elsewhere?

There were several text changes made to align with how the current interface behaves. 

I did not update images to reflect the new G2 design yet. That should come in another PR.

* Updated the docs to reflect the title change.
In reference to #21367

Signed-off-by: Mark Chouinard <mark@chouinard.me>
* Update: Bug report template more easily endity the editor version being used

* Update .github/ISSUE_TEMPLATE/Bug_report.md

Co-Authored-By: Riad Benguella <benguella@gmail.com>

Co-authored-by: Riad Benguella <benguella@gmail.com>
* Link Format: collapse selection to end after insert

* Fix rebase & e2e tests

The inserting of links cahnges, so need to
remove the click to apply, and add tab + enter.

Co-authored-by: Marcus Kazmierczak <marcus@mkaz.com>
* Chore: Update npm dependencies that warn

* Update changelog for jest-puppeteer-axe

* Tests: Silence landmark-one-main rule
* Bundle the block autocompleter in the block-editor package

* small optimizatioin

* fix unit tests
 - @wordpress/a11y@2.9.0
 - @wordpress/annotations@1.14.0
 - @wordpress/api-fetch@3.13.0
 - @wordpress/autop@2.7.0
 - @wordpress/babel-plugin-makepot@3.5.0
 - @wordpress/babel-preset-default@4.12.0
 - @wordpress/base-styles@1.6.0
 - @wordpress/blob@2.8.0
 - @wordpress/block-directory@1.7.0
 - @wordpress/block-editor@3.9.0
 - @wordpress/block-library@2.16.0
 - @wordpress/block-serialization-default-parser@3.6.0
 - @wordpress/block-serialization-spec-parser@3.5.0
 - @wordpress/blocks@6.14.0
 - @wordpress/components@9.4.0
 - @wordpress/compose@3.13.0
 - @wordpress/core-data@2.14.0
 - @wordpress/create-block@0.11.0
 - @wordpress/data-controls@1.10.0
 - @wordpress/data@4.16.0
 - @wordpress/date@3.9.0
 - @wordpress/dependency-extraction-webpack-plugin@2.5.0
 - @wordpress/deprecated@2.8.0
 - @wordpress/docgen@1.8.0
 - @wordpress/dom-ready@2.9.0
 - @wordpress/dom@2.9.0
 - @wordpress/e2e-test-utils@4.5.0
 - @wordpress/e2e-tests@1.14.0
 - @wordpress/edit-navigation@1.0.0-beta.1
 - @wordpress/edit-post@3.15.0
 - @wordpress/edit-site@1.5.0
 - @wordpress/edit-widgets@0.14.0
 - @wordpress/editor@9.14.0
 - @wordpress/element@2.13.0
 - @wordpress/env@1.2.0
 - @wordpress/escape-html@1.8.0
 - @wordpress/eslint-plugin@5.0.0
 - @wordpress/format-library@1.16.0
 - @wordpress/hooks@2.8.0
 - @wordpress/html-entities@2.7.0
 - @wordpress/i18n@3.11.0
 - @wordpress/icons@1.3.0
 - @wordpress/interface@0.1.0
 - @wordpress/is-shallow-equal@2.0.0
 - @wordpress/jest-console@3.6.0
 - @wordpress/jest-preset-default@6.0.0
 - @wordpress/jest-puppeteer-axe@1.7.0
 - @wordpress/keyboard-shortcuts@1.3.0
 - @wordpress/keycodes@2.11.0
 - @wordpress/list-reusable-blocks@1.15.0
 - @wordpress/media-utils@1.9.0
 - @wordpress/notices@2.2.0
 - @wordpress/npm-package-json-lint-config@3.0.0
 - @wordpress/nux@3.14.0
 - @wordpress/plugins@2.14.0
 - @wordpress/prettier-config@0.2.0
 - @wordpress/primitives@1.3.0
 - @wordpress/priority-queue@1.6.0
 - @wordpress/project-management-automation@1.4.0
 - @wordpress/redux-routine@3.8.0
 - @wordpress/rich-text@3.14.0
 - @wordpress/scripts@8.0.0
 - @wordpress/server-side-render@1.10.0
 - @wordpress/shortcode@2.7.0
 - @wordpress/token-list@1.10.0
 - @wordpress/url@2.13.0
 - @wordpress/viewport@2.15.0
 - @wordpress/warning@1.1.0
 - @wordpress/wordcount@2.8.0
* Correct colors usage in Buttons
* fixes overlaping column contents for embeds

I don't know why the min-width was 360px but setting it to 100% seems to both fix this and not create other issues.

* removest the width of the embeds and the code that deactivated it for placeholders

* Fix collapsing floated embeds.

Co-authored-by: jasmussen <joen@automattic.com>
* Update changelog.

* Update npm-package-json-lint from 4.0.3 to 5.0.0

Update package-lock.json
Unpublish @wordpress/element, @wordpress/primitives, and @wordpress/icons types

Remove types from pacakge.json to hide the included types. This was
reported to cause conflicts with the current 3rd party typings published
on DefinitelyTyped (DT).

The cause has been identified as:
- DT exports all React typings, which other DT typings depend on.
- Included typings use type aliases (Element -> WPElement) which may
  cause additional conflicts.

See https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/wordpress__element/index.d.ts
See https://unpkg.com/browse/@wordpress/element@2.13.0/build-types/react.d.ts

Reported via core-js slack:

https://wordpress.slack.com/archives/C5UNMSU4R/p1586955177257000

* Add CHANGELOG

* Remove primitives, icons types
…ng styles (#21602)

* ESLint Config: Add the recommended Prettier config to enforce WordPress coding styles

* Update CHANGELOG.md
sirreal and others added 29 commits April 27, 2020 19:27
* Enable URL noImplicitAny

* addQueryArgs args is optional

* Add changelog
* Template Parts: Support REST API meta queries.

* Template Parts: Don't overwrite existing meta queries.
* Revert the button block to the previous markup

* Add new markup deprecation

* Fix unit tests
* Add test-e2e:debug npm script

* Add options for puppeteer devtools

* Update test-e2e:debug to use --puppeteer-devtools

* Move testing information to a new section

* Add instructions for debugging e2e tests

* Update CHANGELOG for new debug options

* Link to pupeteer debugging tips

* Clarify environment variable option for PUPPETEER_DEVTOOLS

* Link test-unit-js to debugging tests

* Add note in testing-overview about PUPPETEER_DEVTOOLS

* Rename Advanced script usage to Passing Node options

* Fix references to Node.js

* Fix e2e debug example

* Fix e2e debug usage
… block (#21924)

* Fix React does not recognize isSelected prop in Spacer block

* Bring is-selected class for Spacer edit for back compat
* Restore element, icons, primitives types
* Partially reverts #21613 (c2684b2)
* Reverts #21784 (74fcd4c)

Some `@wordpress/*` emit TypeScript type declarations and include them with the published packages. Shortly after publishing, it was discovered the `@wordpress/element` conflicted with the DefinitelyTyped 3rd party type declarations of several packages and a patch release was published removing the published types from `@wordpress/element`, `@wordpress/primitives`, and `@wordpress/icons` (#21613, #21784).

The DefinitelyTyped type declarations have been updated to remove conflicts with the included `@wordpress/element` types. The types can be published again.

See #21767 for more details.
* Move caret to the end of pasted content

* Only set initialPosition if it's present in the incoming action

* Make travis happy

* Add e2e tests and handle a few more cases

* Fix lint errors

* Update multi-block-selection.test.js

* Update actions.js

* Update data-core-block-editor.md
* fixed template part retrieval

* removed style ruining preview

* readded status to query with publish option
* use edit wrapper props

* use context to pass wrapper styles

* split to globalStyles and wrapperProps

* fix import name

* fix paragraph block

* add default value to the wrapperProps in compose

* change heading and paragraph to support other wrapperprops

* rename globalStyle to mergedStyle and merge styles before passing

* use wrapperProps in button edit

* add some inline comments
Co-authored-by: Riad Benguella <benguella@gmail.com>
Co-authored-by: Andrew Duthie <andrew@andrewduthie.com>
…ite-page (#21959)

* Extract gutenberg_find_template_post from gutenberg_find_template, rename the latter to gutenberg_template_include_filter

* Use gutenberg_find_template_post in edit-site-page

* Trailing period

* Fix a PHPDoc arg name

Co-Authored-By: Enrique Piqueras <epiqueras@users.noreply.github.com>

* PHPDoc whitespace

Co-Authored-By: Enrique Piqueras <epiqueras@users.noreply.github.com>

* Remove debugging leftover

* Whitespace

Co-authored-by: Enrique Piqueras <epiqueras@users.noreply.github.com>
@fabiankaegy fabiankaegy merged commit e324e8e into js-advancers:master Apr 29, 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.