Repository navigation
Commit c467cc4
WOOA7S-1523: Port Stats Plan usage widget (#50301)
* Premium Analytics: add Plan usage widget ported from Calypso Stats
* fix: format Plan usage figures via formatMetricValue; tidy over-limit tests
* feat: show refetch overlay on plan usage widget
* fix: type plan usage views_limit and over_limit_months as nullable
* feat: restyle plan usage as Stats-style meter with upgrade note and header help
* refactor: render plan usage states through WidgetState
* test: add forced loading/error/unavailable stories for plan usage
* fix: correct plan usage billable-views label, zero-limit guard, and dead upgrade link
* fix: port upstream billable-views help copy; simplify plan usage story widgetType
* feat: suppress plan-usage over-limit warning on VIP sites
* test: add over-limit and VIP-suppression stories for plan usage
* fix: use upstream "views" wording in plan-usage meter label
Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/29238239309
Upstream-Ref: Automattic/jetpack@e8659681 parent a59b632 commit c467cc4
7 files changed
Lines changed: 20 additions & 2 deletions
File tree
- build
- modules/data
- widgets
- plan-usage
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
374 | 387 | | |
375 | 388 | | |
376 | 389 | | |
| |||
0 commit comments