Skip to content

Fix newsletter subscriber count#13471

Merged
andreslucena merged 5 commits intodevelopfrom
fix/newsletter-subscriber-count
Nov 6, 2024
Merged

Fix newsletter subscriber count#13471
andreslucena merged 5 commits intodevelopfrom
fix/newsletter-subscriber-count

Conversation

@alecslupu
Copy link
Copy Markdown
Contributor

🎩 What? Why?

while reviewing #13429 , i have noticed there is a javascript error in the page.
On a closer look, i have found that the respective javascript is related to the recipients counter, which was not updated.

image

📌 Related Issues

Link your PR to an issue

Testing

  1. Login as admin , and create a newsletter
  2. Go to "Select recipients to deliver "
  3. In that screen see how many users it indicates that you will send the newsletter
  4. Start selecting Participants or Followers and some spaces ( see also the js error in console)
  5. See the counter is not changing
  6. Apply the patch
  7. Repeat 3,4
  8. See the counter change it's value and js error is gone

♥️ Thank you!

@alecslupu alecslupu added module: admin type: fix PRs that implement a fix for a bug release: v0.28 Issues or PRs that need to be tackled for v0.28 release: v0.29 Issues or PRs that need to be tackled for v0.29 labels Sep 29, 2024
@alecslupu alecslupu added this to the 0.30.0 milestone Sep 29, 2024
github-actions[bot]
github-actions bot previously approved these changes Sep 29, 2024
github-actions[bot]
github-actions bot previously approved these changes Sep 29, 2024
@alecslupu alecslupu marked this pull request as ready for review September 29, 2024 10:36
@andreslucena
Copy link
Copy Markdown
Member

@alecslupu can you add a spec for this? Probably in somewhere like decidim-admin/spec/system/admin_manages_newsletters_spec.rb makes sense. Thanks!

@alecslupu
Copy link
Copy Markdown
Contributor Author

alecslupu commented Nov 3, 2024

@alecslupu can you add a spec for this? Probably in somewhere like decidim-admin/spec/system/admin_manages_newsletters_spec.rb makes sense. Thanks!

Done in 8898901

Copy link
Copy Markdown
Member

@andreslucena andreslucena left a comment

Choose a reason for hiding this comment

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

I can confirm locally the bug and the fix. Thanks for the PR!

@andreslucena andreslucena merged commit be35bad into develop Nov 6, 2024
@andreslucena andreslucena deleted the fix/newsletter-subscriber-count branch November 6, 2024 08:39
entantoencuanto added a commit that referenced this pull request Nov 6, 2024
…n-flow

* develop:
  Update UI design of detail page (#13356)
  Fix newsletter subscriber count (#13471)
  Fix editor image routing (#12683)
  Fix issues with the budgets proposals import (#12655)
  Fix initiative form is not taking into account the scope selected (#13598)
  Enable geolocation for address field in proposal form (#13423)
entantoencuanto added a commit that referenced this pull request Nov 6, 2024
…eature/ephemeral-verifications

* feat/improve-registration-and-verification-flow:
  Update UI design of detail page (#13356)
  Fix newsletter subscriber count (#13471)
  Fix editor image routing (#12683)
  Fix issues with the budgets proposals import (#12655)
  Fix initiative form is not taking into account the scope selected (#13598)
  Enable geolocation for address field in proposal form (#13423)
entantoencuanto added a commit that referenced this pull request Nov 6, 2024
…taging-lot2

* feat/improve-registration-and-verification-flow:
  Update UI design of detail page (#13356)
  Fix newsletter subscriber count (#13471)
  Fix editor image routing (#12683)
  Fix issues with the budgets proposals import (#12655)
  Fix initiative form is not taking into account the scope selected (#13598)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: admin release: v0.28 Issues or PRs that need to be tackled for v0.28 release: v0.29 Issues or PRs that need to be tackled for v0.29 type: fix PRs that implement a fix for a bug

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants