Wp-calypso: Stats: all-time table view missing from Calypso

Created on 28 Dec 2015  Â·  8Comments  Â·  Source: Automattic/wp-calypso

We have the table views for individual posts, but we're missing the all-time summary view as seen in /my-stats and /wp-admin stats:

image

Notes from @isaackeyet

I would really avoid porting another big table like this over. We should figure out why people find it interesting to see all this numbers and then use that to craft something better. For instance, I doubt people care much about comparing total per month numbers for their entire site, by month, year over year (which would be the "April" column for instance). But perhaps it's interesting to somehow chart the average values month-by-month over time or over a whole year on average per month. All those things could make for some nice charts.

Stats [Type] Enhancement

Most helpful comment

stats-table-heat

This is a very basic idea, just reusing existing stuff:

  1. Pill at the top instead of two panels, since essentially they are different views on the same data
  2. Basic table (so it resizes as needed)
  3. Heatmap using the same colors of Insight (I'm not sure these colors are super effective, but I stuck with that to avoid reviewing them)
  4. Every cell is tappable. If tapped it shows the number in the full format (1M → 1,035,933)
  5. Row/Col headers are tappable too, and show the total.

I understand it's not too fancy, but it can be a basic starting point.

All 8 comments

In order to get this going it will be nice to have #10871 and #10872 in place to re-use the tables.

Also discovered that we can utilize the existing statsVisits endpoint to grab all the data needed:

/sites/${ site }/stats/visits?stat_fields=views&quantity=-1

Before we dive into this, I was hoping to get some input from @karmatosed or @folletto on design. From Isaac's notes, he obviously was not a fan of the design of the old tables. However, the All Time Summary is missed by users.

Couple of design questions:

  1. Where would we create a link to this page? Perhaps from the "All Time" module on Insights? Historically it was a text link called "Summary" right above the visits chart.
  2. Isaac mentioned the data would be neat to chart. Any thoughts on visualizations on this page?

From the feedback thread, users also asked for the ability to download this data as .csv. That would be a nice addition too.

Heya! It probably needs some design work... :|

The two quick answers I can give with little context and depth on the spot are:

  1. Insight today is imho the "All Times" view (maybe we should just rename that? dunno). So yes, we can probably add it on the right hand side of "All-time posts" as a small button labelled "Full stats"
  2. I think it could still be a "table", but with some strong tweaks in terms of visualization to be more of a heatmap (i.e. colors and normalized numbers "12k").

I also agree on Isaac's position there... we need to figure out how. :)

Also yes to CSV export all from here, again with a link in the footer. ;)

I think it could still be a "table", but with some strong tweaks in terms of visualization to be more of a heatmap (i.e. colors and normalized numbers "12k")

I really like the heatmap akin to mc-stats tables. Regarding normalized numbers, we had a thread around that topic and i18n pxLjZ-29B-p2. Summary there was normalized numbers are available via CLDR, or possibly via http://numeraljs.com/#format**

+1 for normalized numbers. I love how Twitter handles it for likes and retweets. 37.6K, 50.8K, 22.2M

stats-table-heat

This is a very basic idea, just reusing existing stuff:

  1. Pill at the top instead of two panels, since essentially they are different views on the same data
  2. Basic table (so it resizes as needed)
  3. Heatmap using the same colors of Insight (I'm not sure these colors are super effective, but I stuck with that to avoid reviewing them)
  4. Every cell is tappable. If tapped it shows the number in the full format (1M → 1,035,933)
  5. Row/Col headers are tappable too, and show the total.

I understand it's not too fancy, but it can be a basic starting point.

I really like that suggestion for reusing what we have. I wonder if adding a scale note would be good. Or maybe an arrow showing it goes from light to dark?

Ah yes, we can probably reuse the one on insights:

screen shot 2017-02-01 at 15 31 34

Was this page helpful?
0 / 5 - 0 ratings