Skip to content

Stats: Include today in lastX periods#25361

Draft
kean wants to merge 1 commit intotrunkfrom
task/stats-include-current-day
Draft

Stats: Include today in lastX periods#25361
kean wants to merge 1 commit intotrunkfrom
task/stats-include-current-day

Conversation

@kean
Copy link
Contributor

@kean kean commented Mar 10, 2026

Closes CMM-1940: Jetpack iOS Stats: Add option to include current (incomplete) day in "Last X days" bar chart.

  • Include Today in "Last X" intervals like "Last 7 days" – it now matches Jetpack Stats on the web
  • Add new "Last 14 days" (was the default one for daily stats in the legacy stats)
  • The incomplete dates (include today) are displayed using dotted line on a line chart

Screenshots

Screenshot 2026-03-10 at 3 26 06 PM Screenshot 2026-03-10 at 3 26 00 PM

@kean kean force-pushed the task/stats-include-current-day branch 2 times, most recently from 436c98e to dbf21af Compare March 10, 2026 19:35
@kean kean force-pushed the task/stats-include-current-day branch from dbf21af to 49c5316 Compare March 10, 2026 19:36
@kean kean added the Stats label Mar 10, 2026
@kean kean added this to the 26.8 milestone Mar 10, 2026
@kean kean requested a review from crazytonyli March 10, 2026 19:36
@sonarqubecloud
Copy link

@wpmobilebot
Copy link
Contributor

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 Number31399
VersionPR #25361
Bundle IDcom.jetpack.alpha
Commit49c5316
Installation URL31c216p8719u0
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot
Copy link
Contributor

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 Number31399
VersionPR #25361
Bundle IDorg.wordpress.alpha
Commit49c5316
Installation URL2098fsst017ho
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot
Copy link
Contributor

🤖 Build Failure Analysis

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

@kean kean marked this pull request as draft March 10, 2026 23:38
@kean
Copy link
Contributor Author

kean commented Mar 10, 2026

I'm going to move this to draft momentarily. I'm thinking about changing the "last X" implementation a bit.

crazytonyli
crazytonyli previously approved these changes Mar 10, 2026
@crazytonyli crazytonyli dismissed their stale review March 11, 2026 00:52

The PR is now in draft.

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.

3 participants