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 from main repo #1

Merged
merged 907 commits into from
Aug 3, 2020
Merged

Pull from main repo #1

merged 907 commits into from
Aug 3, 2020

Conversation

aristath
Copy link
Owner

@aristath aristath commented Aug 3, 2020

  • RNMobile - Image and Media & Text standarization - Component refactor

  • RNMobile - Media & Text: Add support for crop image to fill setting

  • RNMobile - Image Component - Add missing upload styles

  • RNMobile - Media Upload Progress - Update tests: adding new mock

  • RNMobile - Media & Text: Dark mode styles for placeholders

  • RNMobile - Image With Focal point - Export functions

  • RNMobile - Media & Text - Focal point fixes

  • RNMobile - Image block - Move caption out of the image onPress

  • RNMobile - Image component - onLayout sizing improvements

  • RNMobile - Image component - Selected border height style

  • RNMobile - Image component - Fix placeholder

  • RNMobile - Media&Text / Image block - Image sizing

  • RNMobile - Media&Text - Video alignment and dark mode styles

  • RNMobile - Media&Text - Android resizeMethod and style fixes

  • RNMobile - Media&Text - Fix video flag

  • RNMobile - Media & Text improvements and Image block

  • RNMobile - Image block: Renaming of icon, pass true value props directly

  • Mobile - Improve image focal point to fix crop image issue in Media Text

  • Mobile - Media & Text remove extra padding

  • Mobile - React native editor - Release notes update## 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.

Gerardo Pacheco and others added 30 commits July 8, 2020 18:41
…point (#22788)

* RNMobile - Image and Media & Text standarization - Component refactor

* RNMobile - Media & Text: Add support for crop image to fill setting

* RNMobile - Image Component - Add missing upload styles

* RNMobile - Media Upload Progress - Update tests: adding new mock

* RNMobile - Media & Text: Dark mode styles for placeholders

* RNMobile - Image With Focal point - Export functions

* RNMobile - Media & Text - Focal point fixes

* RNMobile - Image block - Move caption out of the image onPress

* RNMobile - Image component - onLayout sizing improvements

* RNMobile - Image component - Selected border height style

* RNMobile - Image component - Fix placeholder

* RNMobile - Media&Text / Image block - Image sizing

* RNMobile - Media&Text - Video alignment and dark mode styles

* RNMobile - Media&Text - Android resizeMethod and style fixes

* RNMobile - Media&Text - Fix video flag

* RNMobile - Media & Text improvements and Image block

* RNMobile - Image block: Renaming of icon, pass true value props directly

* Mobile - Improve image focal point to fix crop image issue in Media Text

* Mobile - Media & Text remove extra padding

* Mobile - React native editor - Release notes update
* Move linkTextColor to text element to help enforce order of operations on the Native Side

* Apply Android Changes for handeling Link Colors

* Update iOS for follow the same pattern as Android for setting link colors
* Integrate Aztec 1.19.3

* Remove development dependency from Aztec
Start performance should now be 2x faster in most cases.
…lbar button (#23704)

* Move the convert to blocks option from menu to own toolbar button

* Make convert to block buttons a separate component

* implement new convert-to-blocks-button component

* Add dependency to useSelect hook

Co-authored-by: Riad Benguella <[email protected]>

* change button casing

* put default export back

* Move toolbar component back to edit

* Update end-to-end tests.

* Remove obsolete title

* Add fix for e2e test

* Remove space from type check

* Change wording of arguments

* Revise clickBlockToolbarButton param names again.

* Clearer types in JSDoc.

* Update test to match changes in helper args

Co-authored-by: Glen Davies <[email protected]>
Co-authored-by: Ben Dwyer <[email protected]>
Co-authored-by: Riad Benguella <[email protected]>
Co-authored-by: Zebulan Stanphill <[email protected]>
* refactor more block

* Update unit tests.

* change comment

* revert placeholder functionality

* fix prev values

Co-authored-by: Zebulan Stanphill <[email protected]>
* Add prefix option to input-control

* Add documentation and storybook entry
* Date: Add timezone hint

* Update snapshot

* Fallback to UTC + offset when there are no timezone abbreviations

* Split out in separate component

Props @marekhrabe.

* Only display when user timezone differs from site timezone

Props @joedolson.

* Experiment setting the timezone abbr from PHP

The system timezone already comes from PHP site, specifically from
wp.date.setSettings call in wp-includes/script-loader.php

This uses the get_option() to grab the string and setting and surfaces
them to the wp-date package.

This commit adds an additional property called `abbr` which is the short
timezone such as EDT or PST, this is calculated using the PHP date and
time functions.

* PHP lint fixes

* Update package-lock adds packages/date to block-library

* Account for timezones without abbreviations

Converts `-03` to `UTC-3` for timzones like Argentina/Buenos_Aires.

Also updates innline comments.

* Return early in filter callback

Co-authored-by: Marcus Kazmierczak <[email protected]>
* Move ESNext to Javascript tutorial

* Update manifest

* Update ESNext, remove tutorial references

* Apply suggestions from code review

Co-authored-by: Greg Ziółkowski <[email protected]>

* Add link to new ESNext syntax from build step page

Co-authored-by: Greg Ziółkowski <[email protected]>
* Limit tests to not run on docs only changes

* Use blanket exclude markdown, no explicit include

* Whitespace change, test Github actions
* Add a site logo block

This uses some filters to non-destructively override the theme mod value
when the experiment is enabled and the site logo setting has a value.

* show a preview while the image uploads

* change the block icon

* show an inline error message in the site logo block

* hide the error when a file is successful

* use mediaflow to replace the image in the logo block

* fix typo in dismissible prop

* update the entity fetching mechanism

* use lightBlockWrapper flag

* fix image resizing

* match the front/back end markup

* fix alignment in the BlockControls

* fix alignment in the BlockControls

* uopdate icon

* simplify code

* Hide the spinner when the site logo has loaded

* Use the real url for the site logo

* remove dead code

* remove unused CSS

* combine the useSelect calls

* pass an empty array to useSelect to stop it firing on every render

* Linter fixes

* add fixtures for the site-logo block

* remove unused code

* fix for linter
…rdPress version (#23773)

* Create new page listing Gutenberg releases in each WordPress version

This new page should have Project Overview as the parent. This addresses concerns brought up in #23344.

* Update and rename WordPress Release Integration to versions-in-wordpress.md

* Update versions-in-wordpress.md

* Update versions-in-wordpress.md

* Update toc.json

* Add manifest.json
* Title and markdown formatting for table

* Update manifest.json
* Mobile - Remove block notice message

* Mobile - Remove block - update text
* Update documentation contributors guide

Updates the contributors guide with link to JavaScript build step
environment, this is required for adding a new document.

Add clarification and additional details around linking

* Additional clarification, minor edits

* Add bullet for H1 title being required

* Add .md extension
kevin940726 and others added 28 commits July 29, 2020 17:13
#24263)

* Make "Attempt Block Recovery" the default option of block invalidation

* Update docs

* Fix e2e test for invalid block

* Fix wrong contents in doc

* Fix z-index issue when opening the resolve modal along with dropdown
* use optimised FlatList inside bottom-sheet
…#24253)

* add lightWrapper to post author block

* remove more unnecessary styles

* post excerpt light wrapper and cleanup

* update post comments for light wrapper and style cleanup

* remove redundant definition
* Update code owners for rich text native implementations

* Switch order of owners in order to have the following order: web, iOS, Android, iOS(2nd)
* Clarify custom link color documentation for themes.

* Incorporate edits from @nosolosw
* i18n: Merge similar translation strings - tables

See trac ticket https://core.trac.wordpress.org/ticket/47259

* table.test.js - updated translation strings

* table.test.js - updated translation strings

* fix table test

* Update packages/e2e-tests/specs/editor/blocks/table.test.js

Co-authored-by: Sören Wrede <[email protected]>

Co-authored-by: Sören Wrede <[email protected]>
* Fix UnitControl invalid unit parsing. Add test.

* Add tests for BoxControl

* Fix useControlledState to handle controlled/uncontrolled swapping. Add Reset tests for BoxControl.
)

* Add a Git Diff to the output of the static checks job on failure

* Avoid a blocking git diff.

Co-authored-by: Daniel Richards <[email protected]>

Co-authored-by: Daniel Richards <[email protected]>
* Convert the <InvalidBlockWarning> component to function component with hooks

* Add appliable comment
* Initial stab at throttled, hook-based AutosaveMonitor

* Pass all tests

* Simplify the logic and refactor use-scheduled-save to use-throttle

* Further simplify useThrottle

* Further simplify useThrottle

* Simplify AutosaveMonitor

* Fixed-schedule based AutosaveMonitor

* Improve naming of things

* Remove obsolete shouldThrottle from AutosaveMonitor

* Roll back obsolete changes

* Revisit some of the unit tests for AutosaveMonitor

* Adjust unit tests

* Fix a few flaky autosave e2e tests

* Fix a few flaky autosave e2e tests

* Update sessionStorage key used in e2e tests

* Adjust the e2e test to throttle-less timer
…erter (#24285)

* try for insertion point fix

* use getPreviousBlockClientId selector
Add wide and full alignment support to post content block.
…24229)

* add align support flags

* convert to lightBlocks and add maxWidth style for editor

* don't wrap block controls in block wrapper

* leave post-content alone for time being

* nitpick reorder
This commit moves the margin from the bottom of the media replace menu to the top of the media replace url input so that the popover spacing stays consistent when the media replace URL input is not shown (the Cover block instance, for example)
* First version of the documentation.

* Update readme for RCTAztecView with props description.

* Update text attribute prop information.

* Update some more prop descriptions.

* Move example to the top readme.

* Move sections around.

* Add iOS implementation details.

* Minor tweaks to iOS wording

* Add Android details to ReactNativeAztec documentation

Co-authored-by: Matt Chowning <[email protected]>
* Default to an empty string for targetRootClientId

* Fix typo
* Fix link color style property name

* Update prop name used to check support
@aristath aristath merged commit 0ff3380 into aristath:master Aug 3, 2020
aristath pushed a commit that referenced this pull request Sep 9, 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.