Repository navigation
Boost: Remove orphaned source files - #55549
Conversation
Delete a speed-score helper, the Super Cache store schema and five SVG components that nothing imports since earlier refactors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K4t4VXzuF3drq8dFzeHG6b
|
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! 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. |
Code Coverage SummaryThis PR did not change code coverage! That could be good or bad, depending on the situation. Everything covered before, and still is? Great! Nothing was covered before? Not so great. 🤷 |
LiamSarsfield
left a comment
There was a problem hiding this comment.
LGTM 🚀
Just a small non blocking nit
The nine .svg files in app/assets/src/js/svg/ don't have anything pointing at them either, including the chevron-left, logo and warning-outline copies of the icons removed here. Could we drop them in this one too?
Nothing imports the .svg files in the svg directory, so the *.svg module declaration goes too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K4t4VXzuF3drq8dFzeHG6b
|
Re the |
Proposed changes
lib/api/speed-scores.ts(the Overview usesgetScoreMovementPercentagefrom@automattic/jetpack-boost-score-api)lib/stores/super-cache.tssvg/chevron-left.tsx,forward.tsx,logo.tsx,pencil.tsx,warning-outline.tsxsvg/*.svgfiles, plussvg/svgs.d.ts: nothing in Boost imports an.svgfile (the$svg/refreshand$svg/jetpack-greenimports resolve to their.tsxcomponents).Related product discussion/links
Does this pull request change what data or activity we track or use?
No.
Testing instructions
git grepeach file's stem, its$lib//$svg/alias and relative forms acrossprojects/: no importers.projects/plugins/boost:pnpm run typecheckandpnpm testpass.jp build plugins/boost --deps --productionsucceeds.🤖 Generated with Claude Code
https://claude.ai/code/session_01K4t4VXzuF3drq8dFzeHG6b