Skip to content

Stats: Minor visual changes based on feedback#25404

Merged
kean merged 17 commits intotrunkfrom
task/stats-minor-design-tweaks
Mar 19, 2026
Merged

Stats: Minor visual changes based on feedback#25404
kean merged 17 commits intotrunkfrom
task/stats-minor-design-tweaks

Conversation

@kean
Copy link
Contributor

@kean kean commented Mar 18, 2026

Changes

  • Add more compact header for the "Chart" card
  • Reduce fonts for the tabs
  • Slightly reduce spacing between cards
  • Slightly reduce the "Today" card spacing and reduce fonts
  • Reduce the top padding for charts and reduce its height (-40pt)
  • Remove chevron from the "Today" card as we now show today in the "Last X" periods and simplified bar selection, so there is now more options to access it

Screenshots

Screenshot 2026-03-18 at 4 16 38 PM

@dangermattic
Copy link
Collaborator

dangermattic commented Mar 18, 2026

1 Warning
⚠️ This PR is assigned to the milestone 26.8. This milestone is due in less than 4 days.
Please make sure to get it merged by then or assign it to a milestone with a later deadline.

Generated by 🚫 Danger

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Mar 18, 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 Number31605
VersionPR #25404
Bundle IDcom.jetpack.alpha
Commit0bfb23b
Installation URL5tislrdufav2o
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 Mar 18, 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 Number31605
VersionPR #25404
Bundle IDorg.wordpress.alpha
Commit0bfb23b
Installation URL5u5j7qimj0j80
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@kean kean added the Stats label Mar 18, 2026
@kean kean added this to the 26.8 milestone Mar 18, 2026
enum Style {
case vertical
case horizontal
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, this is actually dead code now. Thanks for the note. I'll remove it tomorrow before merging.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was still used in StandaloneChartCard on post details. I updated this chart with the new header view as well and removed ChartLegendView.

Screenshot 2026-03-19 at 8 38 53 AM

@kean kean enabled auto-merge March 19, 2026 12:39
@sonarqubecloud
Copy link

@kean kean added this pull request to the merge queue Mar 19, 2026
Merged via the queue into trunk with commit 04fde13 Mar 19, 2026
27 checks passed
@kean kean deleted the task/stats-minor-design-tweaks branch March 19, 2026 13:10
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