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

Migrate dynamic HR to core/separator #2371

Merged
merged 27 commits into from
May 10, 2022
Merged

Conversation

EvanHerman
Copy link
Contributor

Description

Migrate dynamic HR block to core/separator.

Types of changes

New feature (non-breaking change which adds functionality)

How has this been tested?

Manually tested each block and attribute to ensure the blocks migrated without any breaking changes. The new core/separator block height differed from the dynamic HR block, so there are core/spacer blocks added to try and mimic the same heights. There is a slight difference in spacing due to block margins in the editor.

The tests were removed, since the dynamic HR block will no longer be present.

Checklist:

  • My code is tested
  • My code follows accessibility standards
  • My code has proper inline documentation
  • I've added proper labels to this pull request

dependabot bot and others added 9 commits April 22, 2022 21:19
Bumps [composer/composer](https://github.com/composer/composer) from 2.2.11 to 2.2.12.
- [Release notes](https://github.com/composer/composer/releases)
- [Changelog](https://github.com/composer/composer/blob/main/CHANGELOG.md)
- [Commits](composer/composer@2.2.11...2.2.12)

---
updated-dependencies:
- dependency-name: composer/composer
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [grunt](https://github.com/gruntjs/grunt) from 1.4.1 to 1.5.2.
- [Release notes](https://github.com/gruntjs/grunt/releases)
- [Changelog](https://github.com/gruntjs/grunt/blob/main/CHANGELOG)
- [Commits](gruntjs/grunt@v1.4.1...v1.5.2)

---
updated-dependencies:
- dependency-name: grunt
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@EvanHerman EvanHerman added the [Type] Enhancement Something new that adds functionality label May 3, 2022
@EvanHerman EvanHerman added this to the Next Release milestone May 3, 2022
@EvanHerman EvanHerman self-assigned this May 3, 2022
@godaddy-wordpress-bot
Copy link
Contributor

godaddy-wordpress-bot commented May 3, 2022

@cypress
Copy link

cypress bot commented May 3, 2022



Test summary

346 0 2 0


Run details

Project CoBlocks
Status Passed
Commit 3bc0b6f
Started May 9, 2022 10:40 PM
Ended May 9, 2022 10:44 PM
Duration 03:52 💡
OS Linux Ubuntu - 20.04
Browser Multiple

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@godaddy-wordpress-bot
Copy link
Contributor

godaddy-wordpress-bot commented May 3, 2022

Performance Test Results:

index master migrate-dynamic-hr change %
focus 120.82 126.36 4.59%
inserterHover 33.92 35.4 4.36%
inserterOpen 113.3 109.62 -3.25%
inserterSearch 91.99 107.97 17.37%
load 21024.8 21389.7 1.74%
maxFocus 254.81 154.18 -39.49%
maxInserterHover 41.77 42.54 1.84%
maxInserterOpen 423.46 439.95 3.89%
maxInserterSearch 184.26 168.47 -8.57%
maxType 69.03 98.74 43.04%
minFocus 94.09 107.21 13.94%
minInserterHover 29.71 31.33 5.45%
minInserterOpen 67.24 65.83 -2.1%
minInserterSearch 46.88 49.99 6.63%
minType 35.74 37.43 4.73%
type 43.94 47.45 7.99%

olafleur-godaddy and others added 10 commits May 3, 2022 19:40
…2365)

* Add validation minor version part

* Revert "Add validation minor version part"

This reverts commit e578099.

* Bump GoDaddy Styles to 0.4.0

* test random branch

* publish branch
* Fix Alert block cypress test

* Fix author block test

* Fix typography settings modal test

* Fix highlight block test

* Fix animation settings modal test
* Fix logos block test

* Fix dynamic separator block test

* Fix Click to Tweet block test

* Fix settings modal color extension test
* Add e2e tests with PHP 8.1

* TT2

* Only 8.0 is supported for the moment
* modal framework and fix coblocks-settings menu item too

* add php logic for conditonals

* add in site design and site contents

* try test changes

* remove superfluous cypress test

* style the modal

* update @wordpress/interface

* attach controls

* remove class-rest-api as it was useless

* revert interfaces change

* add filter to disable coblocks labs

* resolve issue with png imports

* rename common tests

* mock site-design object for jest tests

* fix site design global order for tests

* minor tweaks

* remove filter that enables coblocks labs

* style lint tweak

* default coblocks labs controls off

* use other filter route

* match styles

* labs controls example

* feedback tweaks

* tweaks

* add back logic for go theme installed

* suggested updates

* update globals to reference 8889 port

* resolve lint error

* refactor site design

* use PluginSidebar

* use yarn instead

* use just yarn in the perf test

* remove package-lock.json

* try bumping package versions

* try removing frozen lock file flag

* use frozen lock file flag

* prevent layout selector is labs is open

* add mobile styles

* try confirming editor exists first in test

* remove filter lock

* add simple test for labs

* try remove superfluous dispatches

* try layout selector settings modal test fix

* remove troublesome tests

* WPEX-1778 - update coblocks labs with go daddy styling (#2368)

* update coblocks labs with go daddy styling

* Fix some Cypress tests in WP 6.0 RC1 (#2372)

* Fix Alert block cypress test

* Fix author block test

* Fix typography settings modal test

* Fix highlight block test

* Fix animation settings modal test

* [skip ci] Update coblocks.pot/coblocks.json files

Co-authored-by: Olivier Lafleur <[email protected]>
Co-authored-by: GoDaddy Translator Bot <[email protected]>
Co-authored-by: AnthonyLedesma <[email protected]>
Co-authored-by: Anthony Ledesma <[email protected]>

Co-authored-by: Olivier Lafleur <[email protected]>
Co-authored-by: snovosel-godaddy <[email protected]>
Co-authored-by: Olivier Lafleur <[email protected]>
Co-authored-by: GoDaddy Translator Bot <[email protected]>
GoLF and others added 5 commits May 9, 2022 10:09
* handle tab focus for carousel block thumbnails

* deprecate carousel block correctly

* undo prop order eslint changes

* handle deprecations of gallery carousel

* add aria-label to gallery thumbnail

* update gallery carousel snapshot

Co-authored-by: AnthonyLedesma <[email protected]>
Co-authored-by: snovosel <[email protected]>
@jrtashjian jrtashjian changed the base branch from master to the-great-migration May 10, 2022 15:02
Copy link
Member

@jrtashjian jrtashjian left a comment

Choose a reason for hiding this comment

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

Looks good! I restored the front-end styles. We need to keep those around so that existing blocks continue to look the same until they are migrated.

@jrtashjian jrtashjian merged commit 407553a into the-great-migration May 10, 2022
@jrtashjian jrtashjian deleted the migrate-dynamic-hr branch May 10, 2022 15:14
@jrtashjian jrtashjian removed this from the Next Release milestone May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Enhancement Something new that adds functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants