Description
Fixes Automattic/dotcom-forge#6676
Proposed Changes
Add a blurry effect for locked metrics. The icon will also change to a locker.
Why are these changes being made?
The list of metrics should show blurred items when on teaser mode.
Testing Instructions
- Go to
/site-profiler/:url
. Ex: /site-profiler/example.com
- Scroll down and check if the metrics of the
Health Scores
section is blurred as the image above.
Pre-merge Checklist
- Has the general commit checklist been followed? (PCYsg-hS-p2)
- https://wpcalypso.wordpress.com/devdocs/docs/testing/index.md for your changes?
- Have you tested the feature in Simple (P9HQHe-k8-p2), Atomic (P9HQHe-jW-p2), and self-hosted Jetpack sites (PCYsg-g6b-p2)?
- Have you checked for TypeScript, React or other console errors?
- Have you used memoizing on expensive computations? More info in Memoizing with create-selector and Using memoizing selectors and Our Approach to Data
- Have we added the “[Status] String Freeze” label as soon as any new strings were ready for translation (p4TIVU-5Jq-p2)?
- For changes affecting Jetpack: Have we added the “[Status] Needs Privacy Updates” label if this pull request changes what data or activity we track or use (p4TIVU-aUh-p2)?
Unfortunately, no screenshots were provided by the developer.