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

My Sites: Single Jetpack site doesn't display #1248

Closed
csonnek opened this issue Dec 3, 2015 · 2 comments
Closed

My Sites: Single Jetpack site doesn't display #1248

csonnek opened this issue Dec 3, 2015 · 2 comments

Comments

@csonnek
Copy link
Member

csonnek commented Dec 3, 2015

User reported in 2441431-t that their Jetpack site doesn't display in My Sites. Here are the specifics:

  • User has three sites. Two WordPress.com and one Jetpack (we'll call them example1.wordpress.com, example2.wordpress.com, and example.com).
  • User has hidden the two WordPress.com sites on WordPress.com under /wp-admin/index.php?page=my-blogs and leaving the Jetpack site visible:

my-blogs

  • Clicking "My Site" after logging into WordPress.com takes you to the stats page for "example1.wordpress.com" with no way to select another site:

stats

I tried cycling the visibility of both WordPress.com sites and the Jetpack sites, and the only way you can view or select the Jetpack site in Calypso (both in the app and in the browser) is by having one WordPress.com site visible.

Let me know if you need more information.

@jeherve
Copy link
Member

jeherve commented Dec 7, 2015

@rralian
Copy link
Contributor

rralian commented Dec 9, 2015

We figured this out. The issue is that the user had hidden their primary blog. But in calypso we show your primary blog regardless. So when the user had hidden all but one other blog, their visible-blog-count was 1, which means we don't show the site-picker controls and just showed the primary blog. The fix here was just to set the user's primary blog to the one they really wanted.

A deeper fix would be to update the hidden/visible interface so you cannot hide your primary blog. We also may want to update the controls for setting primary blog so that setting one of your hidden blogs to primary blog would make it visible again (issue: #1444). I also opened #1432 because in the course of finding this, we found that the primary-blog-selector can lack enough context to be useful. I'm closing this issue here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants