google / site-kit-wp

Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web.
https://sitekit.withgoogle.com
Apache License 2.0
1.25k stars 293 forks source link

Implement UI for new PSI widget #1649

Closed felixarntz closed 4 years ago

felixarntz commented 4 years ago

Feature Description

As a follow-up to #1636, this issue is about implementing the exact UI from the mock.


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation Brief

QA Brief

Changelog entry

jqlee85 commented 4 years ago

@felixarntz @aaemnnosttv made a pass at the IB here. Let me know if you've got changes or if it needs a higher level of detail.

felixarntz commented 4 years ago

@jqlee85 This looks very solid, IB ✅

felixarntz commented 4 years ago

@jqlee85 This is now unblocked as #1662 has been merged to develop.

cole10up commented 4 years ago

Tested

Installed release candidate zip, activated SK and PSI

Noticed: image

Passed desktop view and mobile view.

Sending back to CR for review

jqlee85 commented 4 years ago

@cole10up thanks for the testing. Regarding the those points:

aaemnnosttv commented 4 years ago

@cole10up - to follow up on what @jqlee85 said

After activation and setup, defaults to mobile metrics. Should we default to desktop metrics?

The default should be mobile. I thought this was in the ACs but apparently it is only in the IB for https://github.com/google/site-kit-wp/issues/1636 which is the issue that handled all of the behavior for the component (this one is just about matching the UI/design).

Regarding the other two points, @jqlee85 is correct.


There is a typo to fix that @jqlee85 found, but if you want to look at the copy in Figma, the design is slightly out of sync and you'll need to reference the comments for the current.

cole10up commented 4 years ago

Retested

While testing, noticed setting up PSI from the settings page, the user is directed to the dashboard where the page jumps to an odd spot.

Site Kit by Google Settings ‹ Energetic Canid — WordPress

Sending back to CR

cole10up commented 4 years ago

Retested

Verified setup auto scroll no longer occurs:

Site Kit by Google Settings ‹ Energetic Canid — WordPress (2)

Checked functionality, typo fix, uninstalling and reinstalling.

Passed QA ✅