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 290 forks source link

While analytics is in gathering state, under 'Search traffic over the last 28 days' widget the first data block has the thick border. #5056

Closed mohitwp closed 2 years ago

mohitwp commented 2 years ago

Bug Description

While analytics is in gathering state, under 'Search traffic over the last 28 days' widget the first data block has the thick border. In gathering state 'Total Impression', 'Total clicks', 'Total impressions' or 'Unique visitors from search' from the SearchFunnel widget are not clickable, hovered or tabbable. It should follow the same design as the disabled pie chart tabs and have a grey colour.

Steps to reproduce

  1. Create a new site which will have default gathering state.
  2. Activate the "zeroDataStates" feature flag
  3. Go to Site Kit Dashboard.
  4. Set up Analytics.
  5. See 'Search traffic over the last 28 days' widget data blocks.

Screenshots

image

Additional Context


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

Acceptance criteria

Implementation Brief

Test Coverage

QA Brief

Changelog entry

felixarntz commented 2 years ago

@marrrmarrr @aaemnnosttv I'm not sure how much this is actually an issue. I tend to agree it looks off, but also, this is still the active tab at this point, even though the user can't click any of them. The graph below relates to this number, not the other three ones.

I'm not sure what the best approach here is, I'd say completely removing it would be wrong. Maybe we can also gray out this line though, to better indicate it's not clickable while still keep the notion of it being active?

aaemnnosttv commented 2 years ago

@felixarntz if the active tab isn't changeable I think graying out the line would be appropriate to indicate it's disabled. If we keep it blue, I'd argue maybe the user should be able to still select the other tabs of the search funnel widget.

felixarntz commented 2 years ago

@aaemnnosttv Makes sense. I agree, we should gray it out if the user cannot select anything else, but if e.g. only Analytics is gathering data but Search Console isn't (i.e. the two Search Console tabs are still selectable), it should remain blue.

aaemnnosttv commented 2 years ago

@felixarntz what about when SC is gathering data and Analytics is not setup yet? Are the current ACs only relevant when Analytics is active?

felixarntz commented 2 years ago

@aaemnnosttv Ah, good point, I missed that. Updating the ACs now.

tofumatt commented 2 years ago

Works for me 👍🏻

IB ✅

aaemnnosttv commented 2 years ago

@techanvil while reviewing the remaining issues for the sprint today, we identified this one as a nice-to-have issue to get into the release – if possible. It's still not any more important than it was, but it's the only one left in the sprint that would add value to the release.

mohitwp commented 2 years ago

QA update ✅

Verified

![image](https://user-images.githubusercontent.com/94359491/166632412-fe2ac40b-a477-42f5-80c0-7e97bfe64abe.png) ![image](https://user-images.githubusercontent.com/94359491/166632432-6d6f372e-c334-4261-84d0-4480dbb6a4e6.png) ![image](https://user-images.githubusercontent.com/94359491/166632449-f49c4caa-13de-44ee-90b6-19e1028653a0.png) ![image](https://user-images.githubusercontent.com/94359491/166632469-c981fa6b-d40a-471f-8bdb-2ce347ed97ab.png) ![image](https://user-images.githubusercontent.com/94359491/166632496-fa6c4b15-1e34-4589-a5d4-4ab6aa195d96.png)

https://user-images.githubusercontent.com/94359491/166632635-53c0daed-f6ea-4a7f-925c-c9bbf2aca21f.mp4