google / google/site-kit-wp

Update the PageSpeed Insights widget to use badges for performance ratings.

Open
#13,367 0 comments 0 reactions 0 assignees View on GitHub
P1 Type: Enhancement
Dominant language
JavaScript
Stars
1.4k
Forks
383
Avg merge
4d 12h
Merged PRs (30d)
80

Description

## Feature Description

Once #13361 is implemented, we should update the dashboard's PageSpeed Insights widget to show badges for performance ratings instead of text labels.

The [PDF version of the widget](https://www.figma.com/design/fwNvz1r40HJk2FpqBUhDme/PDF-report-generation?node-id=1087-8262&t=6en9yS3YWjrvHMoj-0) already uses badges and can serve as a reference.

Note that a performance rating may show in a gathering data state, in which case the gathering data badge should be used.

See this [thread](https://www.figma.com/design/ZL8qlbUyR9lmBaF95t0xpq/sitekit-system-gm2-?node-id=388-422#1885637437) on Figma.

---

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

## Acceptance criteria

-

## Implementation Brief

- [ ]

### Test Coverage

-

## QA Brief

-

## Changelog entry

-

Contributor guide

Open the contributing guide

Research direction

Start with the dashboard's PageSpeed Insights widget and compare its current performance-rating labels with the badges used in the PDF version of the widget. Review the linked Figma designs and the dependency on issue #13361, then update the rating display so gathering-data states use the gathering data badge and verify the other ratings match the designs.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.