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

Jetpack Blocks: new version of the blocks (13.1.0) for the 7.1 release #31045

Merged
merged 29 commits into from
Mar 5, 2019

Conversation

jeherve
Copy link
Member

@jeherve jeherve commented Feb 26, 2019

Changes proposed in this Pull Request

Testing instructions

  • Test Jetpack 7.1 Beta 1. Are the blocks there?
  • Do a Happy Dance.

@jeherve jeherve added Jetpack [Status] In Progress [Goal] Gutenberg Working towards full integration with Gutenberg labels Feb 26, 2019
@jeherve jeherve added this to the Jetpack: 7.1 milestone Feb 26, 2019
@jeherve jeherve self-assigned this Feb 26, 2019
@matticbot
Copy link
Contributor

enejb and others added 5 commits February 26, 2019 19:16
* Contact Info Block: Remove the Sidebar for google maps link

* bug fix: use className instead of class
* Add newly uploaded images to the end of the slideshow. Jump to the position of the new upload so user sees upload status.

* Alternate approach using comparison of image array length in componentDidUpdate to determine position.
enejb and others added 10 commits February 27, 2019 18:53
* Contact Info Block: Improve the email validation

By using the emailValidator that is use in more places we can provide better matching and of email addresses.

* bug fix. take into account any number of punctuation.
…erval (#31083)

* Business hours
If data is incomplete for a given interval, display 'Closed' or null;

* adjusting logic - thanks @lezama

* further improved time validation logic
…31026)

* Split phone numbers into prefix and phone number

This allows us to be not so strict with what a phone number is and still offer a way to prefix. things.

* Fix typos and simplify selection of first character.
* Business Hours Block:

add search keywords

* updating terms after feedback from co-workers
* Add deprecated declaration based on #30724

* Remove localized aria-label from save
* Rework of button UI hierarchy in unconnected placeholder.

* Change to Connection button styling.

* Add isBorderless to Re-check button.

* Revised button attributes for placeholder.

* Further revisions to button styles.
jeffersonrabb and others added 11 commits March 4, 2019 12:10
* Standardized form element spacing in the editor.

* Use rem for form element spacing.
* When saving a business hours block, don't save any data that hinges on localization.

* defaultLocalization should not be translated.

* After a conversation with @sirreal - we've decided on this approach:

drop the save component altogether, because we use server-side rendering for the block
have a <DayEdit /> and <DayPreview /> component for client side rendering, which are only rendered once we've fetched localization

* Default days should remain localized.
* Replace Slideshow buttons with A tags. Hide inner text in links. Disable ESLint rule related to anchors without HREFs.

* Remove text from PREV/NEXT/PAUSE buttons, to avoid block invalidation after language change.

* Reposition bullets element below buttons (no visible change).

* Remove localization of text for initial autoplay Pause button state. All a11y label localization will be addressed as a later block of work.

* Removing unneeded CSS now that buttons have no inner content.
Remove content floating by removing conflicting align{left,right,center}
classes.

Gutenberg styling handles left/right alignment.

Apply center alignment based on data-align attributes.
@jeherve jeherve changed the title Jetpack Blocks: new version of the blocks (13.0.0) for the 7.1 release Jetpack Blocks: new version of the blocks (13.1.0) for the 7.1 release Mar 5, 2019
@jeherve jeherve added [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. and removed [Status] In Progress labels Mar 5, 2019
Copy link
Member

@simison simison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything here has been tested, reviewed and accepted in prior PRs/commits that got cherry picked here.

http://calypso.localhost:3000/ builds, too. 👍

@simison simison added [Status] Ready to Merge and removed [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Mar 5, 2019
@jeherve jeherve merged commit 8c4cb5e into master Mar 5, 2019
@jeherve jeherve deleted the update/jetpack-blocks-71 branch March 5, 2019 15:04
@jeherve jeherve restored the update/jetpack-blocks-71 branch March 5, 2019 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Goal] Gutenberg Working towards full integration with Gutenberg Jetpack
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants