Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(mailchimp): avoid duplicate audiences in Mailchimp UIs #1685

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

dkoo
Copy link
Contributor

@dkoo dkoo commented Oct 29, 2024

All Submissions:

Changes proposed in this Pull Request:

Fixes a minor UI bug for Mailchimp users only. An errant line is causing MC audiences to appear twice in UIs that show audiences, including the Newsletters settings page and the Newspack > Engagement wizard pages. This fixes the duplicate display. The bug is minor and doesn't affect functionality—selecting either version of the audience will save the data correctly.

How to test the changes in this Pull Request:

  1. On trunk, visit Newsletters > Settings and Newspack > Engagement > Newsletters and observe that each audience appears twice: once at the very top of the list, and another time alongside its sublists below.
  2. Check out this branch, refresh, and confirm that each audience appears only once with its sublists nested below.

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes, as applicable?
  • Have you successfully ran tests with your changes locally?

@dkoo dkoo self-assigned this Oct 29, 2024
@dkoo dkoo requested a review from a team as a code owner October 29, 2024 18:00
@dkoo dkoo merged commit 44c1b12 into trunk Oct 29, 2024
8 checks passed
@dkoo dkoo deleted the fix/duplicate-audience-in-lists-ui branch October 29, 2024 20:14
matticbot pushed a commit that referenced this pull request Nov 6, 2024
# [3.4.0-alpha.1](v3.3.2...v3.4.0-alpha.1) (2024-11-06)

### Bug Fixes

* avoid race condition between post-save sync & test ([#1679](#1679)) ([7bde119](7bde119))
* avoid Redux usage and related errors in non-newsletter email editors ([#1688](#1688)) ([d3f1f37](d3f1f37))
* dont html encode ampersands in subject ([#1686](#1686)) ([f178b23](f178b23))
* **mailchimp:** avoid duplicate audiences in Mailchimp UIs ([#1685](#1685)) ([44c1b12](44c1b12))
* move Preview, Send buttons to match Publish button location ([#1689](#1689)) ([72897f2](72897f2))
* preview & send buttons on WP 6.7 ([49450d3](49450d3))

### Features

* display list remote name on settings page ([#1672](#1672)) ([562d396](562d396))
@matticbot
Copy link
Contributor

🎉 This PR is included in version 3.4.0-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
# [3.4.0](v3.3.3...v3.4.0) (2024-11-11)

### Bug Fixes

* avoid double notice components ([#1703](#1703)) ([b8e9130](b8e9130))
* avoid race condition between post-save sync & test ([#1679](#1679)) ([7bde119](7bde119))
* avoid Redux usage and related errors in non-newsletter email editors ([#1688](#1688)) ([d3f1f37](d3f1f37))
* correct button stacking on sent newsletters ([#1695](#1695)) ([4e2688e](4e2688e))
* dont html encode ampersands in subject ([#1686](#1686)) ([f178b23](f178b23))
* **mailchimp:** avoid duplicate audiences in Mailchimp UIs ([#1685](#1685)) ([44c1b12](44c1b12))
* move Preview, Send buttons to match Publish button location ([#1689](#1689)) ([72897f2](72897f2))
* preview & send buttons on WP 6.7 ([49450d3](49450d3))
* remove behavior to hide post title in newsletter editor ([#1701](#1701)) ([8a15cf5](8a15cf5))

### Features

* display list remote name on settings page ([#1672](#1672)) ([562d396](562d396))
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.

3 participants