Skip to content

Conversation

@chickenn00dle
Copy link
Contributor

@chickenn00dle chickenn00dle commented Nov 4, 2024

Closes 1208604228632024-as-1208605400743645/f

Goes with the following main plugin PR: Automattic/newspack-plugin#3518

This PR updates the styles for our radio control component to avoid conflicts with WP 6.7 radio control updates.

Before:
Screenshot 2024-11-01 at 16 36 39

After:
Screenshot 2024-11-04 at 14 00 26

Testing instructions:

Be sure to also checkout Automattic/newspack-plugin#3518 before testing.

Point the newspack-components package to your local instance of newspack-components (src/components within the newspack-plugin directory)

  1. npm install path/to/newspack/components
  2. Navigate to the newspack-components directory
  3. Compile and prepublish (npm run compile && npm run prepublishOnly)
  4. Navigate back to newspack-multibranded-site directory and reinstall/build (npm install && npm run build)

Test radio control inputs (do this for both WP 6.6 and WP 6.7

  1. As admin, visit the multibranded site wizard (Newspack > Multibranded Site)
  2. Select any brand and edit
  3. Scroll to the Settings section and verify the radio control inputs appear as pictured above

Copy link
Contributor

@dkoo dkoo left a comment

Choose a reason for hiding this comment

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

Looks good in both 6.6 and 6.7! As noted in the other PR, this will require a new NPM package version of Newspack Components.

@chickenn00dle chickenn00dle merged commit 2c586cd into trunk Nov 6, 2024
matticbot pushed a commit that referenced this pull request Nov 6, 2024
## [2.0.2-alpha.1](v2.0.1...v2.0.2-alpha.1) (2024-11-06)

### Bug Fixes

* missing globals ([#60](#60)) ([10c3f17](10c3f17))
* **wp-6.7:** update radio control styles [#58](#58)  ([2c586cd](2c586cd))
@matticbot
Copy link
Contributor

🎉 This PR is included in version 2.0.2-alpha.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

matticbot pushed a commit that referenced this pull request Nov 11, 2024
## [2.0.2](v2.0.1...v2.0.2) (2024-11-11)

### Bug Fixes

* missing globals ([#60](#60)) ([10c3f17](10c3f17))
* **wp-6.7:** update radio control styles [#58](#58)  ([2c586cd](2c586cd))
@matticbot
Copy link
Contributor

🎉 This PR is included in version 2.0.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

4 participants