question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

  • PHP Version: 8.0
  • OS: [Windows 11]
  • Browser: [Chrome, Firefox, edge]

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

Acceptance criteria

  • In the “Search Funnel” widget, if none of the 2 or 4 tabs (2 if Analytics is not active, 4 otherwise) is actually selectable, the blue line above the active tab (always the first tab in this case as the user can’t change that selection) should be grayed out, to better indicate that there is no selection to make.
    • The line should still appear though (vs being removed completely) since technically that is still the active tab, relating to the chart shown below.
    • This should for example apply in the following scenarios:
      • Analytics is set up and both Search Console and Analytics are gathering data.
      • Analytics is not set up and Search Console is gathering data (Analytics is irrelevant at that point since it’ll have the CTA there instead).

Implementation Brief

  • Using assets/sass/components/global/_googlesitekit-data-block.scss, set background-color: $c-jumbo and opacity: 0.6 for .googlesitekit-plugin .googlesitekit-data-block--is-gathering-data.googlesitekit-data-block--selected::before

Test Coverage

  • No new tests to be added.

QA Brief

  • Using the Tester plugin, force “gathering data” state for the Search Console.
  • Navigate to the Dashboard and verify the line at the top of active Search Funnel tab is gray as per the AC.
  • Connect Analytics and verify the same.
  • Click on one of the Analytics tabs in the Search Funnel and check the tab selection changes as expected (i.e. there’s no visual glitch as evident in the video in the PR description).

Changelog entry

  • Remove color from disabled tab in Search Console widget on dashboard when Search Console is gathering data.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
aaemnnosttvcommented, May 2, 2022

@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.

1reaction
felixarntzcommented, Apr 12, 2022

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

[GA4] Understanding Google Analytics Reports - Analytics Help
You can use reports to monitor traffic, investigate data, and understand your users and their activity. Once Analytics starts to receive data, the...
Read more >
Fraudulent Activity in Online Advertising - USENIX
Series of websites developed to be targets for traffic generation. – Look and feel of a. “real” site. • Instrumentation. – Gather as...
Read more >
Chapter 14: SOLUTIONS TO TEXT PROBLEMS:
1. When a competitive firm doubles the amount it sells, the price remains the same, so its total revenue doubles. 2. The price ......
Read more >
Analytics® - Advancing Your Digital Marketing Strategy with ...
Webtrends Analytics offers an intuitive UI coupled with out-of-the-box reports and dashboards that make digital measurement easy. 8. Data Beyond the Tag.
Read more >
MicroStrategy Office User Guide
Viewing details on reports and documents you have added to your Microsoft ... m For new MicroStrategy releases, it may take several days...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found