-
Notifications
You must be signed in to change notification settings - Fork 815
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
Publicize: Sync WordPress.com and Jetpack UI #10043
Conversation
Thank you for the great PR description! When this PR is ready for review, please apply the Scheduled Jetpack release: November 6, 2018. Generated by 🚫 dangerJS |
Just a note that it's still a prototype and it's super limited at the moment:
The approach taken here looks way more solid 👍 |
This will go away in a future version of Jetpack.
This will go away in a future version of Jetpack.
If a Custom Message has been set (on an earlier page load), open the UI on page load so that the author doesn't forget. Makes it easier to see that the Custom Message may need updating if, for example, the post title changes.
In addition to looking at the `$all_done` flag, keep track of whether all active services are done.
Part of unification of WP.com and Jetpack Publicize code.
4f02ff7
to
f38f8e5
Compare
Caution: This PR has changes that must be merged to WordPress.com |
Rebased. |
We'll need to do some tender loving care for the WP.com. Since Fusion isn't applying the diff cleanly, I'm going to mark this as okay for the wpcom test. |
Props @ockham
I'm not sure about getting the bot to ack the other diff, but we can manually force the wpcom test to pass. I did so now, but I believe we'll have to redo it if there are future commits before it can merge. |
Caution: This PR has changes that must be merged to WordPress.com |
…ier to use. It's deprecated, but let's still make it simpler. Props @ockham.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Went through testing instructions, works like a charm!
Seeing a warning on JN: Edit: Otherwise, it works, just need to prevent the warning. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seeing a warning on JN: Notice: Trying to get property of non-object in /srv/public/wp-content/plugins/jetpack-dev/modules/publicize/ui.php on line 735
Connections are arrays in Jetpack and objects in WordPress.com. * When looking for their corresponding services' names, just look at the service itself instead of the connection's copy. * Ensure we're accessing their data via helper methods (like `->get_connection_meta()`).
Caution: This PR has changes that must be merged to WordPress.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested perfectly with provided instructions!
Dismissing this review as I saw no warning when testing and feedback was addressed
Sync'd to wp.com via r182397-wpcom and r182406-wpcom |
Publicize: Decouple Connection List from UI Based on #9955 by @c-shultz. See #9039. Updated to work on top of #10043. * Move Connection List Data "getter" out of `Publicize_UI` and in to `Publicize_Base` to clean up logic v. presentation boundary in `Publicize_UI`. * In the wp-admin/ Publicize UI, separate the comma separated list of connections by commas :) The JS does this. So should the PHP.
Changes proposed in this Pull Request:
/* translators: */
comments).Testing instructions:
Does it Work?
Publicize Message UI
draft.
draft.
Proposed changelog entry for your changes:
Updated Jetpack's and WordPress.com's Publicize user interface to match.