Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.4k stars 1.98k forks source link

Virtual pages: Add missing stats and QR code to virtual homepage menu #70569

Open fushar opened 1 year ago

fushar commented 1 year ago

Description

Add the following missing three-dot (ellipsis) menu items to the virtual homepage:

Metrics

See prior work in https://github.com/Automattic/wp-calypso/issues/70487

@Automattic/ganon

autumnfjeld commented 1 year ago

Just noting this is low pri compared to items we need for PA MVP.

fushar commented 1 year ago

For future reference: this https://wordpress.com/stats/post/0/{siteSlug} link works only if the site's reading settings is set to "latest posts". If it is set to show a static page, the link is "broken":

Latest posts Static page
image image

As we don't support the static page use case for now, we'll go ahead with this link.

bangank36 commented 1 year ago

For future reference: this https://wordpress.com/stats/post/0/{siteSlug} link works only if the site's reading settings is set to "latest posts". If it is set to show a static page, the link is "broken":

Latest posts Static page
 

image

image

As we don't support the static page use case for now, we'll go ahead with this link.

Could we check for reading settings to show/hide stats item?

fushar commented 1 year ago

Could we check for reading settings to show/hide stats item?

We can investigate this later when we decide what to do if the reading setting is set to show static page.