Automattic / wp-calypso

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

Stats polish: Posting activity UI #70609

Open jeffgolenski opened 1 year ago

jeffgolenski commented 1 year ago

Development

Must have:

Nice to have:

Must-have items must be completed before closing this issue. Please spin off any unfinished tasks into separate issues.

Design

Details

Just making note of a few refinements to make on the insights graphs. Nothing major, just some visual polish. Breaking down each section for easier consumption

Posting activity

Current Screen Shot 2022-11-30 at 5 22 49 PM

After:

Post activity

Screen Shot 2022-11-30 at 5 40 00 PM

In context:

Insights i2 - Dotcom

Checklist

Migrated to Development section - [x] ~Add rounded corners to each little "day" square within each month. 2px radius on each square.~ - [x] ~Increase size of each day square to be 12x12px. Padding between each should be 4px.~ - [x] ~Enlarge title / change font to match headlines on Traffic page~ - [x] ~Fewer / More post legend should be centered and enlarged. Please remove padding between squares in this area and add 5px rounded corners as shown in the mock!~ On hover: - [x] ~Tooltip should display with the date, day, and amount of posts published~ - [x] ~"day" square should increase in size to 14x14 px (if possible!) and all other day squares should drop to 50% opacity, so it's clear which one is hovered (see close up above)~ Bigger tasks: - [x] ~Build arrow navigation so users can scan back past 12 months~

cc @keoshi

keoshi commented 1 year ago

Worth mentioning the squares for each day are now laid out horizontally as you'd expect from any calendar view instead of vertically. Here's a quick before and after:

image

wilmersondasilva commented 1 year ago

An update on this one: The PR 71580 containing all the must-have items and almost all the nice to have items was deployed to production yesterday. Today, a follow-up PR was also deployed.

Add arrow navigation so users can scan back past 12 months.

It was decided that this is no longer needed. So, the PR containing it was closed.

Some of the decisions related to this task were discussed in this P2 post.

I'm moving this one to "Done"

jsnmoon commented 1 year ago

@wilmersondasilva, could you create a follow-up issue for the last remaining nice-to-have task (dropping unselected square opacity) and close this issue? Thanks!

EDIT: I also realized we need to move the posting activity interface above the all-time insights heatmap like so:

image

Could you spin up another issue for tracking this as well?