The label 'Send status' confusing the users. Either we need to update label as 'Send status/Subscribers' or display number of emails sent by newsletter. Currently, after newsletter sent, it still showing the number of users subscription.

Bugs in counts

Also noticed that the counts are wrong

And also pending count is completely wrong on NodeTabForm (/node/XX/simplenews). New patch fixes both, sharing code in a new function.

Proposed solution

Whatever the newsletter status, the output of the "send status" field should be SS/TT where SS = count of sent and TT = count of total. This should make it clear what the numbers mean.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ramreddy.kancherla created an issue. See original summary.

GGH’s picture

changed it to 'Send status(Subscribers count)'

AdamPS’s picture

Status: Needs review » Needs work

I think the label needs to be short - 1 or 2 words.

What is the problem exactly? Before sending the column shows number of subscribers it will go to. After sending it show number sent with a tick. Probably it can also show a partly complete sending.

neeraprajapati’s picture

Please review applied patch.

neeraprajapati’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 4: simplenews-list-3030432-4.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

AdamPS’s picture

Title: Simplenews list page confusing label » Simplenews list page confusing "send status"
Issue summary: View changes
Status: Needs work » Needs review
FileSize
6.57 KB

I think the problem is not really with the label but with the data presented. Here is a new patch that alters that, and also fixes some bugs that I discovered.

Status: Needs review » Needs work

The last submitted patch, 7: simplenews.newsletter-status.3030432-7.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

AdamPS’s picture

Title: Simplenews list page confusing "send status" » Simplenews list page confusing/wrong "send status"
Issue summary: View changes
Status: Needs work » Needs review
FileSize
10.58 KB
4.11 KB
AdamPS’s picture

Issue tags: +Plan to commit
AdamPS’s picture

Status: Needs review » Needs work
Issue tags: -Plan to commit

I'm going to alter this patch slightly

  • instead of creating simplenews_newsletter_summary it should be SpoolStorage::issueSummary
  • I plan to keep the subscribers field = "number configured to send" because I see a valid distinction from the sent field = "number actually sent".
AdamPS’s picture

Status: Needs review » Needs work

The last submitted patch, 12: simplenews.newsletter-status.3030432-12.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

AdamPS’s picture

Status: Needs work » Needs review
Issue tags: +Plan to commit

Test fails are unrelated.

  • 7ad6915 committed on 8.x-1.x
    Issue #3030432 by AdamPS, neeraprajapati, GGH, ramreddy.kancherla:...
AdamPS’s picture

Status: Needs review » Fixed
Issue tags: -Plan to commit

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.