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

Incorrect order of Clicks and Impressions data blocks + trends in admin bar vs single URL page

Open lilybonney opened this issue 7 years ago • 3 comments

Addressed by PR #892


Bug Description

The admin bar dropdown shows clicks then impressions, while the Site Kit dashboard (and WP dashboard) shows impressions then clicks - the latter makes more sense as impressions > clicks.

However, the trend stats underneath are not re-ordered, which results in showing the wrong trend for each stat:

How stats are currently displayed in the admin bar: URL-admin

In the single URL detailed report, the order is reversed for clicks and impressions, but the trend numbers are not, resulting in contradictory reporting:
URL-dashboard

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

Acceptance criteria

  • The stats should be displayed in the same order both in the admin bar and in the single URL page: impressions followed by clicks
  • The trend change stats should match the correct metric: impressions trend change for impressions, and clicks trend change for clicks.

Implementation Brief

  • Swap the order of data blocks in <SearchConsoleAdminbarWidgetOverview> so that total impressions are shown first
  • Correct references to change and sparkline data columns in <SearchConsoleDashboardWidgetTopLevel>
  • Merge #892

Changelog entry

  • Display impressions before clicks in admin bar as that is the commonly expected order.

lilybonney avatar Jul 17 '19 21:07 lilybonney

IB ✅

felixarntz avatar Nov 26 '19 09:11 felixarntz

QA ✅

Order is consistent in both screens, looks good! 👍

tofumatt avatar Dec 17 '19 12:12 tofumatt

👁👍

marrrmarrr avatar Dec 17 '19 19:12 marrrmarrr