site-kit-wp icon indicating copy to clipboard operation
site-kit-wp copied to clipboard

Inconsistency for components error message when Analytics is not configured

Open ivankristianto opened this issue 7 years ago • 4 comments

Describe the bug Inconsistency between Analytics components error message when Analytics is not configured yet.

To Reproduce Steps to reproduce the behavior:

  1. Activate and Authenticate Site Kit
  2. When connect Analytics service, stop before save anything.
  3. Go to Site Kit dashboard.
  4. See inconsistency between Analytics component error message.

Expected behavior Show consistency error message, and if can add a link for user to continue to setup Analytics.

Screenshots Screen Shot 2019-06-25 at 12 16 56


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

Changelog entry

  • Standardize CTA messaging for when setup for a module has not been completed yet.

Acceptance criteria

ivankristianto avatar Jun 25 '19 05:06 ivankristianto

@lucymtc - Could we add an estimate label to this ticket? Usually this will be done as part of the "Definition" board lifecycle (before a ticket even enters the "Engineering" board), but Sprint #2 is an exception :-) Thank you!

lilybonney avatar Jul 12 '19 12:07 lilybonney

I QAed this ticket against develop since https://github.com/google/site-kit-wp/pull/84 is merged.

Everything looks good in my testing, moving this ticket to the "Approval" column.

I notice this ticket doesn't have acceptance criteria, perhaps because it entered the queue after the current workflow was finalized?

Proposed:

Acceptance criteria:

  • When Analytics setup is incomplete, the Dashboard should show a consistent Analytics module needs to be configured call to action wherever Analytics modules appear.

Testing

I tested using the following steps:

  • Reset Site Kit
  • Activated Search Console
  • Activated Analytics - skipping configuration step, returning to Dashboard

After fix

On develop with the latest fix I see consistent CTAs:

image

Before

Versus how it looks before the fix for the same state:

image

adamsilverstein avatar Jul 15 '19 17:07 adamsilverstein

I tested this as well, and I see the correct CTAs.

However, the "Complete activation" CTA for Analytics doesn't seem to be linking anywhere. There's no link element or href attribute in the source: Screenshot 2019-07-18 at 14 22 04

Cf the same CTA button for PSI (has link with href attribute), which takes the user to the page to set up the PSI module: Screenshot 2019-07-18 at 14 23 47

LGTM.

marrrmarrr avatar Jul 18 '19 15:07 marrrmarrr