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.

Odd-looking lines below Search traffic and Overall page metrics widget numbers

See original GitHub issue

Bug Description

For some reason, when Analytics/Search Console are gathering data, the “Search traffic” widget in the Site Kit dashboard has horizontal lines below the “gathering data” texts that replace the big numbers. It looks like these were present in the original Figma design, but I’m questioning why - they look weird and they are not present if the regular numbers are shown, so why are they shown when gathering data? That doesn’t make sense to me.

The same weird UX with the horizontal lines is present in the “Overall page metrics” widget shown on the entity dashboard.

See attached screenshot. Also a second screenshot is present for comparison with regular numbers.

image.png

More discussion and screenshots can be found on the Asana ticket


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

Acceptance criteria

  • UI for the big numbers in the “Search traffic” and “Overall page metrics” widgets should be adjusted as follows:
    • There should not be a gray horizontal line below them (specifically relevant for when they display the “gathering data…” text instead of a number, as seen in the screenshot above).

Implementation Brief

  • Using assets/sass/components/global/_googlesitekit-gathering-data-notice.scss,
    • Set the padding for the span within the notice-text mixin to 0.
    • Remove the after pseudo-element from .googlesitekit-gathering-data-notice--has-style-default.

Test Coverage

  • No new tests to be added.

QA Brief

  • Create a new site and connect the Analytics module, or force gathering data state for Search Console and Analytics via the Tester plugin.
  • Navigate to the Main Dashboard.
  • Verify that horizontal lines below “gathering data” don’t appear in the “Search traffic” widget, as per the AC.
  • Navigate to an Entity Dashboard.
  • Verify that horizontal lines below “gathering data” don’t appear in the “Overall page metrics” widget, as per the AC.

Changelog entry

  • Remove lines below “gathering data” text on chart metric selection buttons.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
marrrmarrrcommented, Mar 31, 2022

Yeah, we can remove them, the trend numbers are a fairly small element of this graph so no need to represent them with the strange lines.

0reactions
wpdarrencommented, Apr 6, 2022

QA Update: ✅

Verified:

  • Main: The horizontal lines below “gathering data” does not appear in the Search traffic widget, as per the AC.
  • Entity: The horizontal lines below “gathering data” does not appear in the Search traffic widget, as per the AC.
  • Entity: The horizontal lines below “gathering data” does not appear in the Overall page metrics widget, as per the AC.
  • Checked the layout on small screen sizes.
Screenshots

image image image

Read more comments on GitHub >

github_iconTop Results From Across the Web

How Site Search metrics are calculated - Analytics Help
This article describes the metrics and dimensions used in the Site Search ... Total Unique Searches = The total number of times your...
Read more >
Search-Log Analysis: The Most Overlooked Opportunity in ...
Analysis of site-search logs is one of the biggest missed opportunities in UX research. Much emphasis is placed on external search optimization ...
Read more >
Misunderstood Metrics: Events | Analytics Edge Help
In this article, we'll look at the common problems people have with the Total Events and Events/Session With Event metrics. event-reporting-2.
Read more >
Google Analytics Overview Widget - Rank Ranger
The Google Analytics Overview widget presents a trend graph based on the selected key metric from the website's Google Analytics account.
Read more >
Anomaly Monitor - Datadog Docs
Detects anomalous behavior for a metric based on historical data.
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