Skip to content

Podcast: Import @wordpress/base-styles modules directly - #54286

Merged
xavier-lc merged 1 commit into
trunkfrom
update/jetpack-2754-base-styles-podcast
Oct 30, 2026
Merged

xavier-lc merged 1 commit into
trunkfrom
update/jetpack-2754-base-styles-podcast

Conversation

@xavier-lc

Copy link
Copy Markdown
Contributor

Part of JETPACK-2754

@automattic/jetpack-base-styles/gutenberg-base-styles only @forwards six @wordpress/base-styles modules. packages/podcast already declares @wordpress/base-styles, so the wrapper adds nothing and hides where a mixin or variable comes from. #52193 made the same switch in two files.

Proposed changes

  • Replace each wrapper @use … as gb in packages/podcast (1 files) with @uses of the specific modules the file uses, under their default namespaces (mixins., variables., colors., breakpoints.).

Related product discussion/links

Does this pull request change what data or activity we track or use?

No.

Testing instructions

No visible change is expected.

  • Compile each touched file with Dart Sass on trunk and on this branch and diff the output. With /** */ comments stripped, every file matches. The only differences are which @wordpress/base-styles doc comments get emitted, and production builds drop those (cssnano via CssMinimizerPlugin).

🤖 Generated with Claude Code

The project declares @wordpress/base-styles itself, so the
@automattic/jetpack-base-styles/gutenberg-base-styles wrapper adds nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K4t4VY7ojGc1sr9Cb1z84Z
@xavier-lc xavier-lc added [Status] Needs Review This PR is ready for review. [Type] Janitorial labels Oct 29, 2026
@xavier-lc
xavier-lc requested a review from a team as a code owner October 29, 2026 15:45
@xavier-lc xavier-lc self-assigned this Oct 29, 2026
@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.

  • To test on WoA, go to the Plugins menu on a WoA dev site. Click on the "Upload" button and follow the upgrade flow to be able to upload, install, and activate the Jetpack Beta plugin. Once the plugin is active, go to Jetpack > Jetpack Beta, select your plugin (Jetpack or WordPress.com Site Helper), and enable the update/jetpack-2754-base-styles-podcast branch.
  • To test on Simple, run the following command on your sandbox:
bin/jetpack-downloader test jetpack update/jetpack-2754-base-styles-podcast
bin/jetpack-downloader test jetpack-mu-wpcom-plugin update/jetpack-2754-base-styles-podcast

Interested in more tips and information?

  • In your local development environment, use the jetpack rsync command to sync your changes to a WoA dev blog.
  • Read more about our development workflow here: PCYsg-eg0-p2
  • Figure out when your changes will be shipped to customers here: PCYsg-eg5-p2

@github-actions

Copy link
Copy Markdown
Contributor

Thank you for your PR!

When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:

  • ✅ Include a description of your PR changes.
  • ✅ Add a "[Status]" label (In Progress, Needs Review, ...).
  • ✅ Add testing instructions.
  • ✅ Specify whether this PR includes any changes to data or privacy.
  • ✅ Add changelog entries to affected projects

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:

  1. Ensure all required checks appearing at the bottom of this PR are passing.
  2. Make sure to test your changes on all platforms that it applies to. You're responsible for the quality of the code you ship.
  3. You can use GitHub's Reviewers functionality to request a review.
  4. When it's reviewed and merged, you will be pinged in Slack to deploy the changes to WordPress.com simple once the build is done.

If you have questions about anything, reach out in #jetpack-developers for guidance!

@jp-launch-control

Copy link
Copy Markdown

Code Coverage Summary

This 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. 🤷

Full summary · PHP report · JS report

@xavier-lc
xavier-lc merged commit 8e32754 into trunk Oct 30, 2026
92 of 94 checks passed
@xavier-lc
xavier-lc deleted the update/jetpack-2754-base-styles-podcast branch October 30, 2026 09:57
@github-actions github-actions Bot removed the [Status] Needs Review This PR is ready for review. label Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant