Skip to content

Adsense subheadings #11640

Description

@kelvinballoo

Feature Description

This stems from #6107 where we fixed the subheadings for 'Top search queries' to be 14px instead of 16px on desktop (with exception of the title of the table).

For this ticket, we are proposing to enhance the same for the adsense section. Refer details below.

Details Image

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

Acceptance criteria

  • In the AdSense dashboard “Top Earning Pages” table widget, the secondary header/subheading (Earnings) is 14px

Implementation Brief

  • Update table header typography classes in assets/js/modules/adsense/components/dashboard/DashboardTopEarningPagesWidgetGA4.js.
    • Replace the single shared columnClassName currently applied to both columns with separate classes:
      • primary column header (Top Earning Pages): keep googlesitekit-typography--title googlesitekit-typography--medium
      • secondary column header (Earnings): use googlesitekit-typography--title googlesitekit-typography--small

Test Coverage

  • Update any failing VRT

QA Brief

  1. Enable AdSense and Analytics.
  2. Go to SiteKit Dashboard, scroll down to Monetization.
  3. In the top earning pages table the Earnings column header uses a smaller font size (14px) than the Top Earning Pages column header.

Changelog entry

  • Update the secondary header font size in the “Top Earning Pages” widget.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Low priorityTeam MIssues for Squad 2Type: EnhancementImprovement of an existing featureUXIssues that require UX input

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions