Skip to content

Conversation

@kean
Copy link
Contributor

@kean kean commented Jan 23, 2026

Description

Closes CMM-1132: Add WordAds revenue stats to Jetpack app.

This PR adds the main bar chart view for the WordAds tab. Since the WordAds API doesn't support custom date periods, it uses a simplified version of the chart (SimpleBarChartView). Unlike the production version of BarChartView, I made it use the new MetricType protocol, so it's fully generalized.

Testing instructions

I used one of the production accounts and made sure the data matches for all the available date periods and granularity options.

Screenshots & Recording

Screenshot 2026-01-23 at 4 20 50 PM
Screen.Recording.2026-01-23.at.4.20.56.PM.mov

@dangermattic
Copy link
Collaborator

dangermattic commented Jan 23, 2026

1 Warning
⚠️ This PR is larger than 500 lines of changes. Please consider splitting it into smaller PRs for easier and faster reviews.

Generated by 🚫 Danger

@kean kean added the Stats label Jan 23, 2026
@kean kean added this to the 26.7 milestone Jan 23, 2026
@kean kean requested a review from crazytonyli January 23, 2026 21:25
@kean kean force-pushed the task/add-chart-view-ads-p2 branch from d12a20d to 463641f Compare January 23, 2026 21:30
@wpmobilebot
Copy link
Contributor

wpmobilebot commented Jan 23, 2026

App Icon📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack
ConfigurationRelease-Alpha
Build Number30594
VersionPR #25165
Bundle IDcom.jetpack.alpha
Commit7240f7b
Installation URL0ncceq97o0q3o
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Jan 23, 2026

App Icon📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress
ConfigurationRelease-Alpha
Build Number30594
VersionPR #25165
Bundle IDorg.wordpress.alpha
Commit7240f7b
Installation URL3gsot4j2kshm8
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Jan 23, 2026

🤖 Build Failure Analysis

This build has failures. Claude has analyzed them - check the build annotations for details.

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants