Skip to content

Conversation

@ockham
Copy link
Contributor

@ockham ockham commented Nov 20, 2018

Changes proposed in this Pull Request

Use the Disabled component rather than a disabled prop to conditionally wrap FormToggle when the toggleable attribute is false. This should style the toggles properly when using a Gutenberg branch or version that includes WordPress/gutenberg#12091.

Testing instructions

  • Test with Gutenberg master
  • Start writing a new post
  • Click 'Publish'. Verify that the connection toggles work as before.
  • Publish the post. Verify that it is publicized to the services that were enabled in the pre-publish panel
  • Change the post status back to draft
  • Click 'Publish' again. Verify that all connection toggles are disabled, and that styling looks fine.

@ockham ockham added Jetpack [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. [Goal] Gutenberg Working towards full integration with Gutenberg labels Nov 20, 2018
@ockham ockham self-assigned this Nov 20, 2018
@matticbot
Copy link
Contributor

@ockham ockham requested a review from tyxla November 20, 2018 17:39
Copy link
Member

@tyxla tyxla left a comment

Choose a reason for hiding this comment

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

Awesome, LGTM 🚢

@tyxla tyxla 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 Nov 20, 2018
@ockham ockham merged commit 3f43630 into master Nov 20, 2018
@ockham ockham deleted the update/publicize-gutenblock-use-disabled-component branch November 20, 2018 18:00
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.

4 participants