Feature #11451
closed'Send to group' checkbox should remain unchecked for saved draft posts
Added by Gina Cherry over 5 years ago. Updated almost 5 years ago.
0%
Description
1. If I uncheck the "Send to group" box and then save the blog post, my selection is not saved - the box gets checked again.
2. I unchecked the box and published the post, but it was sent to the group anyway.
Files
group-blog-send-notification-box.png (37.7 KB) group-blog-send-notification-box.png | Sonja Leix, 2019-06-24 07:18 PM |
Updated by Boone Gorges over 5 years ago
- Status changed from New to Reporter Feedback
Thanks, Gina.
It's hard to know without more details, but 1 is likely not a bug. The idea is that 'Send to Group' is the default behavior. If you don't want to do it, you must actively uncheck the box. When you say "save the blog post", I assume you mean that you're drafting the item, and then you click Save Draft. Is this correct? Once the blog post is published, you should no longer see the Send to Group checkbox at all.
Regarding 2, can you please share more information? Please share a URL to the blog post in question, and let me know exactly what you mean by "it was sent to the group" means. Does this mean that subscribed members of the group received an email notification along the lines of "Gina published a new blog post..."? If so, can you please provide the email, either as a screenshot or an attachment, so that I can verify exactly where the email came from? This is important, because you may have some configuration on your site that causes other kinds of email notifications to be sent, which are not covered by this checkbox.
Updated by Gina Cherry over 5 years ago
Thanks, Boone.
For the #1, I understand that "send to group" is the default behavior. It's just that once I uncheck the box, I expect that choice to be saved, even if I save a draft of the post, just like categories are saved when I check or uncheck them.
Regarding #2, I misspoke. When I published the post, I saw a message at the top of the page that said "Post published and sending emails to subscribers:" https://screencast.com/t/ADOcuBfwwywB. That led me to believe that subscribers would receive an email notification. I did receive a notification, but it was from our dev site (I normally receive two notifications of new posts - one from the live site and one from the dev site). So it's not really a bug, but perhaps an interface issue.
Updated by Boone Gorges over 5 years ago
Thanks very much for the explanation and especially the screenshot, Gina.
The "Post published and sending emails to subscribers" message comes from Jetpack, and is related to its Subscriptions module. The "Send to group" checkbox is NOT related to this functionality. Instead, 'Send to group' affects whether members of the linked Commons group will receive emails in accordance with their group subscription settings (All Mail, Daily Digest, etc). Here's more info about that module: https://jetpack.com/support/subscriptions/ It appears that there may be a way for us to expose a per-post toggle for Jetpack Subscriptions; see https://jetpack.com/2016/02/10/hook-month-control-subscriptions/ Gina, do you think this would be helpful? (CCing Sonja - I'd like her thoughts on whether this adds too much confusion to enable throughout the Commons)
Regarding the checkbox, I definitely understand your intuition. The 'Send to group' checkbox really indicates a property of the publication action, not of the post more generally. I'm not sure how to change the UI to make this clearer. Maybe Sonja has thoughts about it.
Updated by Gina Cherry over 5 years ago
Thanks for this explanation. The odd thing is that I don't recall seeing the Jetpack "sending email to subscribers" message before, which is why I connected it to the "send to group" feature. I don't think a per post toggle for Jetpack subscriptions is necessary for my site, though it's possible that others would find it useful.
I don't know if there's any way to display the "send to group" checkbox next to the Publish button, but that would make it clearer. Since it's in a separate module and users can control their own displays, it's possible that it would not appear anywhere near the Publish button the way it is currently implemented.
Updated by Sonja Leix over 5 years ago
Boone Gorges wrote:
Regarding the checkbox, I definitely understand your intuition. The 'Send to group' checkbox really indicates a property of the publication action, not of the post more generally. I'm not sure how to change the UI to make this clearer. Maybe Sonja has thoughts about it.
I'll take a look at this. For context: This option only shows up on Group Sites when crafting a new blog post, correct?
Boone,
can you share the general difference and type of email notifications a user would receive through the Jetpack Subscription functionality and this piece of custom functionality? I want to make sure I fully understand this before replying with a proposed solution. "Send to group" from what I remember means sending a notification email to the group members of an associated site when an author publishes a new post and this checkbox is checked?
Updated by Boone Gorges over 5 years ago
I'll take a look at this. For context: This option only shows up on Group Sites when crafting a new blog post, correct?
That's correct.
"Send to group" from what I remember means sending a notification email to the group members of an associated site when an author publishes a new post and this checkbox is checked?
That's right. I'm not totally familiar with how Jetpack notifications work, but those are separate emails that would be formatted like wordpress.com notifications. Jetpack subscriptions are not linked to site or Commons membership - it's a self-service signup mailing list.
Updated by Boone Gorges over 5 years ago
- Assignee set to Sonja Leix
- Target version set to 1.16
Placing in a milestone just so the ticket doesn't get lost.
Updated by Sonja Leix over 5 years ago
I've taken a look at this UI and am attaching a screenshot of the current UI in question.
To me, the copy in the box is pretty clear in describing what this control does. The issue seems to lie with the unchecking of the box isn't saved when a user is saving a draft of a post.
Boone, is there a way to retain the state up until publication of the post (which is when the box disappears as I understand)? The option in question is placed right above the publishing box in the right sidebar, which gives it a pretty prominent placement – which works for me.
It seems retaining the state (checked or unchecked) would solve the issue Gina was describing.
Updated by Boone Gorges over 5 years ago
- Tracker changed from Bug to Feature
- Subject changed from Two bugs with new send to group feature for blog posts to 'Send to group' checkbox should remain unchecked for saved draft posts
- Category name set to Group Blogs
- Assignee changed from Sonja Leix to Boone Gorges
Thanks, Sonja. I'll take a look at retaining the unchecked state for 1.16.
Updated by Boone Gorges about 5 years ago
- Status changed from Reporter Feedback to Staged for Production Release
I've made the change in https://github.com/cuny-academic-commons/cac/commit/d894278a9bf181f0edf91a7b6c442b88645332f2
Updated by Sonja Leix about 5 years ago
Boone Gorges wrote:
Thanks, Sonja. I'll take a look at retaining the unchecked state for 1.16.
Thanks Boone! Can we add this to the list of things to test still?
Updated by Colin McDonald about 5 years ago
I just tested this on the dev site, and it seemed to work ok to me -- i.e. I started a post on a group-connected site, and when saving as a draft the post retained the state of the Group Blog or send-to-group area, either checked or unchecked. I will also add this to the testing notes that I'm publishing to the forum now, for others to try.
Updated by Boone Gorges almost 5 years ago
- Status changed from Staged for Production Release to Resolved