-
Notifications
You must be signed in to change notification settings - Fork 800
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
Masterbar: Update the Reader link #14214
Conversation
…g A/B tests in Calypso on different default landing page destinations. Context: Automattic/wp-calypso#37547
Thank you for the great PR description! When this PR is ready for review, please apply the Scheduled Jetpack release: January 14, 2020. |
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.
Thanks for working on this one @ramonjd! Tested in my local Jetpack dev environment, and the masterbar Reader button now links through to https://wordpress.com/read
.
Still might just want a review from @Automattic/jetpack-crew too, to see about getting this in the next release :)
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.
This looks good to me! I tested the change, and the Reader link in the masterbar links to https://wordpress.com/read.
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.
This works for me, but I wonder if we shouldn't also change the Reader link in the regular Masterbar, displayed to everyone even when Calypsoify is off:
jetpack/modules/masterbar/masterbar.php
Line 407 in cd17208
'href' => '#', |
Or do we want those folks to keep using the old link?
Thanks @jeherve Totally missed that. All links to the Reader, whose underlying URL is wordpress.com should be switched to wordpress.com/read. I'll take a look and change appropriately tomorrow. |
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.
Thanks for the confirmation! I updated the link for you, this should now be good to merge!
Thanks @jeherve ! I updated the test instructions anyway since it took me a while to work out where I should be seeing this link :) |
* Changelog: 8.1 additions * Changelog: add #13858 * Changelog: add #13963 * Changelog: add #14174 * Changelog: add #14178 * Changelog: add #14175 * Changelog: add #14192 * Changelog: add #14196 * Changelog: add #14182 * Changelog: add #14218 * Changelog: add #14214 * Changelog: add #13757 * Changelog: add #14190 * Changelog: add #14131 * Changelog: add #14101 * Changelog: add #14203 * Changelog: add #14211 * Changelog: add #14224 * Changelog: add #14230 * Changelog: add #14241 * Changelog: add #14249 * Changelog: add #14264 * Changelog: add #14263 * Changelog: add #14256 * Changelog: add #10189 * Changelog: add #14240 * Changelog: add #14239 Also added some new entries to the testing file. Co-authored-by: Igor Zinovyev <[email protected]>
* Changelog: 8.1 additions * Changelog: add #13858 * Changelog: add #13963 * Changelog: add #14174 * Changelog: add #14178 * Changelog: add #14175 * Changelog: add #14192 * Changelog: add #14196 * Changelog: add #14182 * Changelog: add #14218 * Changelog: add #14214 * Changelog: add #13757 * Changelog: add #14190 * Changelog: add #14131 * Changelog: add #14101 * Changelog: add #14203 * Changelog: add #14211 * Changelog: add #14224 * Changelog: add #14230 * Changelog: add #14241 * Changelog: add #14249 * Changelog: add #14264 * Changelog: add #14263 * Changelog: add #14256 * Changelog: add #10189 * Changelog: add #14240 * Changelog: add #14239 Also added some new entries to the testing file. Co-authored-by: Igor Zinovyev <[email protected]>
Fixes N/A
Changes proposed in this Pull Request:
We're updating the masterbar Reader link to explicitly go to
wordpress.com/read
For background context, we'd like to set up an A/B test to redirect a (logged-in) test group to Customer Home instead of the Reader upon visiting
wordpress.com
In order to achieve that we need to ensure we can manipulate the default landing page for
/
. Currently it is/read
.By updating instances of
/
to/read
, we'll ensure that links to the Reader work regardless of which A/B test cohort the clicker is in.Is this a new feature or does it add/remove features to an existing part of Jetpack?
For context see:
Testing instructions
http://{yoursiteurl}/wp-admin/plugins.php?calypsoify=1
Proposed changelog entry for your changes: