Jetpack Stats: WP Admin Stats Widget Weekly Stats Label Formatting
Impacted plugin
Jetpack
Quick summary
When you view the weekly overview on the WP Admin dashboard, the hover labels on the bars are not formatted neatly.
This isn't an issue for any of the other labels.
Steps to reproduce
- Go to WP Admin dashboard
- View the Stats widget on the dashboard
- Switch to weekly
- Hover over any of the bars
A clear and concise description of what you expected to happen.
The labels should be neat and easy to read.
What actually happened
The labels are smashed together at the top.
Impact
All
Available workarounds?
No but the platform is still usable
Platform (Simple and/or Atomic)
Self-hosted
Logs or notes
User reported in #8155105-zen and #8137899-zen. I was able to replicate on my personal site. See above screenshot.
Support References
This comment is automatically generated. Please do not edit it.
- [ ] 8155105-zen
- [ ] 8137899-zen
I was also able to reproduce it on a test site with latest Jetpack and date_format being F j, Y when viewing the Weekly Stats:
Hopefully @Automattic/red can take a look
Hi @kangzj, any ETA about a fix for this issue? If it helps/ needed, the user from 8155105-zen has shared a screenshot of errors in their browser console.
I'll take a look this week. Thanks @ajaykj
Hi @kangzj, do you have any update on this? Thank you!
Sorry I didn't manage to get onto it last week. I just had look and it seems to be related to https://github.com/Automattic/wp-calypso/pull/89369, where the long formats are overridden. I'll fix it by using LL format for weeks, and will leave it for @candy02058912 to double check whether it works okay on Simple. Thanks all.
Thanks, I'll let the user know 🙌
https://github.com/Automattic/wp-calypso/pull/94738