Skip to content

Stats: Include today in lastX periods#25361

Merged
kean merged 3 commits intotrunkfrom
task/stats-include-current-day
Mar 17, 2026
Merged

Stats: Include today in lastX periods#25361
kean merged 3 commits intotrunkfrom
task/stats-include-current-day

Conversation

@kean
Copy link
Copy Markdown
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
@wpmobilebot
Copy link
Copy Markdown
Contributor

wpmobilebot commented Mar 10, 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 Number31521
VersionPR #25361
Bundle IDcom.jetpack.alpha
Commitf049386
Installation URL7mgnhhktr1sog
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot
Copy link
Copy Markdown
Contributor

wpmobilebot commented Mar 10, 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 Number31521
VersionPR #25361
Bundle IDorg.wordpress.alpha
Commitf049386
Installation URL7eibcergbsibo
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot
Copy link
Copy Markdown
Contributor

wpmobilebot commented Mar 10, 2026

🤖 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
Copy Markdown
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.

@kean kean requested a review from crazytonyli March 13, 2026 18:41
@kean kean marked this pull request as ready for review March 13, 2026 18:41
@dangermattic
Copy link
Copy Markdown
Collaborator

dangermattic commented Mar 13, 2026

1 Warning
⚠️ This PR is assigned to the milestone 26.8. The due date for this milestone has already passed.
Please assign it to a milestone with a later deadline or check whether the release for this milestone has already been finished.

Generated by 🚫 Danger

@kean
Copy link
Copy Markdown
Contributor Author

kean commented Mar 16, 2026

@crazytonyli, this PR is ready for review now. Thank you.

@kean kean enabled auto-merge March 17, 2026 00:05
@sonarqubecloud
Copy link
Copy Markdown

@kean kean added this pull request to the merge queue Mar 17, 2026
Merged via the queue into trunk with commit 0f0a55b Mar 17, 2026
27 of 32 checks passed
@kean kean deleted the task/stats-include-current-day branch March 17, 2026 13:56
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