Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
- sent on publish: only if both unpublished and sent
- pending: count should be based on the spool not current subscribers
- sent: better to display number actually sent (plus subscribers field is not really useful and will be deleted in #2421461: simplenews_issue field type should not store subscribers)
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.
Comment | File | Size | Author |
---|---|---|---|
#12 | simplenews.newsletter-status.3030432-interdiff-9-12.txt | 4.71 KB | AdamPS |
#12 | simplenews.newsletter-status.3030432-12.patch | 10.55 KB | AdamPS |
| |||
#9 | simplenews.newsletter-status.3030432-interdiff-7-9.txt | 4.11 KB | AdamPS |
#9 | simplenews.newsletter-status.3030432-9.patch | 10.58 KB | AdamPS |
| |||
#7 | simplenews.newsletter-status.3030432-7.patch | 6.57 KB | AdamPS |
Comments
Comment #2
GGH CreditAttribution: GGH commentedchanged it to 'Send status(Subscribers count)'
Comment #3
AdamPS CreditAttribution: AdamPS at AlbanyWeb commentedI 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.
Comment #4
neeraprajapati CreditAttribution: neeraprajapati at Valuebound commentedPlease review applied patch.
Comment #5
neeraprajapati CreditAttribution: neeraprajapati at Valuebound commentedComment #7
AdamPS CreditAttribution: AdamPS at AlbanyWeb commentedI 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.
Comment #9
AdamPS CreditAttribution: AdamPS at AlbanyWeb commentedComment #10
AdamPS CreditAttribution: AdamPS at AlbanyWeb commentedComment #11
AdamPS CreditAttribution: AdamPS at AlbanyWeb commentedI'm going to alter this patch slightly
Comment #12
AdamPS CreditAttribution: AdamPS at AlbanyWeb commentedComment #14
AdamPS CreditAttribution: AdamPS at AlbanyWeb commentedTest fails are unrelated.
Comment #16
AdamPS CreditAttribution: AdamPS at AlbanyWeb commented