Skip to content

Ensure gathering data messages in WP dashboard widget and admin bar UI are only shown when applicable #4270

@felixarntz

Description

@felixarntz

Follow-up to #4085 and #4086: Those two issues only encompassed updating the UI in the Site Kit dashboard accordingly. The WP dashboard widget and the admin bar UI still surface the "gathering data" messages even in cases where the services aren't gathering data, but rather the site simply has 0 views/impressions. This issue is about fixing the UI in those areas accordingly as well.


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

Acceptance criteria

Implementation Brief

Test Coverage

  • N/A

QA Brief

  • Create a new jurassic ninja site.
  • Install the plugin and connect it.
  • Verify that the widgets on the admin bar (frontend) and the widgets on the main WP dashboard show zero states.
  • Wait a few days and check again.
  • Confirm that now widgets don't display zero states, but charts with zeros.

Changelog entry

  • Update WordPress dashboard widget and admin bar stats to display zero states for Search Console/Analytics only when the respective service is gathering data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Module: AnalyticsGoogle Analytics module related issuesModule: Search ConsoleSearch Console module related issuesP0High priorityType: EnhancementImprovement of an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions