Wp-calypso: Reader Manage: Don't show Follow link on Error page

Created on 20 Sep 2017  路  8Comments  路  Source: Automattic/wp-calypso

When a Site View page is in the "Error fetching feed" state, don't show the follow link (or follower count).

For example: https://wordpress.com/read/feeds/44029241

screen shot 2017-09-20 at 9 54 18 am

Reader [Type] Bug

Most helpful comment

I think we should add on to this to double check all apis and make sure that they filter out sites that have been deleted/suspended. I can imagine tag pages, search, recos, related posts, etc.

cc @aaronyan

All 8 comments

Should it explicitly say, "This site has been deleted" or something? The error message isn't very helpful I don't think. Why is there an error fetching the feed? And why is the follow button missing?

I don't know if we always know why this error occurs. If we do, sure, we should say so. But the main goal here is just to get the follow link off this state so we can avoid the "blocked following" issue that hit me yesterday.

Also note that we're removing the link to this page in #18139, so hopefully the only way a user gets here is via a direct URL.

I think we should add on to this to double check all apis and make sure that they filter out sites that have been deleted/suspended. I can imagine tag pages, search, recos, related posts, etc.

cc @aaronyan

There's one confounding problem here though: when sites leave wpcom, they often delete their wpcom site. We don't always catch this and remove the association with the feed. So we can have a case where:

1) I register example.com on wpcom as examplecom.wordpress.com and subscribe to it( feed 1, blog 2 )
2) I decide to leave. Move hosting to dreamhost, delete examplecom.wordpress.com.
3) Now we have a feed entry for example.com that thinks it's backed by examplecom.wordpress.com, but it's really just moved

I think we should add on to this to double check all apis and make sure that they filter out sites that have been deleted/suspended. I can imagine tag pages, search, recos, related posts, etc.

I've just shipped r170458-wpcom which should mean deleted sites no longer appear in search results or recommendations.

We鈥檝e improved the error page shown when a site has been deleted, and it no longer includes the follow button.

screen shot 2018-02-26 at 4 07 25 pm

Was this page helpful?
0 / 5 - 0 ratings