Fix sidebar free upsell color on problematic admin color schemes#47903
Fix sidebar free upsell color on problematic admin color schemes#47903
Conversation
|
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! Beta plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Jetpack plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Backup plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Boost plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Search plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Social plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Starter Plugin plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Protect plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Videopress plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Mu Wpcom plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Inspect plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Wpcomsh plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Automattic For agencies client plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Classic Theme helper plugin plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Paypal Payment buttons plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Wpcloud Sso plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
|
@keoshi lemme know if you'd have colors for sunrise, ocean, and blue; very easy to apply! For others problematic ones, I used one of the actual colors from those schemes. |
+ helps tests to pass.
Code Coverage SummaryCoverage changed in 1 file.
|
Without these, jetpack build packages/admin-ui skips the webpack build and the CSS asset is never generated, causing a 404 at runtime. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Thanks! Yeah, I was building with |
|
Looks reasonable from a monorepo perspective; you may want to consider adding (re webpack.config.js, see also #47365 (comment)) |
projects/plugins/wpcomsh/changelog/fix-sidebar-free-upsell-color
Outdated
Show resolved
Hide resolved
Co-authored-by: Brad Jorsch <anomiex@users.noreply.github.com>
|
Looks ok @simison. I apologize for the back and forth on this, but the more I think about this, the more it feels we should push for a more branded solution. This would allow us to control the appearance of the element better, ensuring proper readability and legibility, regardless of theme. It also unifies the appearance vs adding exceptions for every single theme. By the way, the themes above are the ones that are widely available, but that doesn't mean they fully represent what's out there. What do you think about this?
And feel free to pushback if you think there's good reason to stick to links and optimize their color for each known theme. |
|
@keoshi no problem at all! I'll get this in meanwhile to fix |

Follow-up to #47418
Proposed changes
Alternatively, we could pull the colour scheme user-option and output styles only for active colour scheme, but then switching from one colour scheme to another wouldn't work, logic would all be in PHP, etc. And now the CSS gets cached anyway.
Before
Some color schemes had issues like these:
After
Jetpack green : fresh, light, modern
Custom color: coffee, ectoplasm, midnight
Other color schemes: sunrise, ocean, blue
Other information
Related product discussion/links
Does this pull request change what data or activity we track or use?
Testing instructions