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

Reduce the number of new submission notification emails for editors, and simplify their management #3770

Closed
jmacgreg opened this issue Jun 4, 2018 · 16 comments
Assignees
Labels
Community:2:Priority Any issue that has been identified through research or feedback as a major community priority. Hosting Bug reports and feature requests from Publishing Services's hosted clients.
Milestone

Comments

@jmacgreg
Copy link
Contributor

jmacgreg commented Jun 4, 2018

Right now it's possible for editors to receive three emails notifying them of a new submission in the system:

  1. They can be BCC'd onto the submission_ack email to the author (and BCC’d editors, potentially) - see https://github.com/pkp/ojs/blob/ojs-stable-3_1_1/classes/submission/form/SubmissionSubmitStep4Form.inc.php#L85. They cannot control whether they receive this via notification settings.

  2. They can be notified via a general new submission notification (NOTIFICATION_TYPE_SUBMISSION_SUBMITTED - see https://github.com/pkp/pkp-lib/blob/ojs-stable-3_1_1/classes/submission/form/PKPSubmissionSubmitStep4Form.inc.php#L125). They can control whether they receive this notification via notification settings, AFAIK.

  3. a more specific notification, in event that no editor is auto-assigned (NOTIFICATION_TYPE_EDITOR_ASSIGNMENT_REQUIRED, see https://github.com/pkp/pkp-lib/blob/ojs-stable-3_1_1/classes/submission/form/PKPSubmissionSubmitStep4Form.inc.php#L133). They cannot control whether they receive this notification via notification settings.

1 and 3 are problematic, and the general existence of 2) and 3) which are so similar is also potentially confusing.

Suggestions:

  • I'd suggest removing the BCC option from 1), and reserve it just for author informational/instructional purposes.

  • I'd also suggest only ever sending out one of 2) and 3): 2) only if an editor has been assigned; and 3) only if no editor has been assigned.

  • Finally: there should be a way to opt out of 3) via the user's notification settings. Either there should be two separate settings (one for each notification), or the one setting should be applied to both cases.

@jmacgreg jmacgreg added the Hosting Bug reports and feature requests from Publishing Services's hosted clients. label Jun 4, 2018
@asmecher asmecher added this to the OJS/OMP 3.1.1-5 milestone Oct 18, 2018
@asmecher
Copy link
Member

asmecher commented Oct 18, 2018

@jmacgreg, the purpose of 1) is to notify section editors who are automatically assigned. It's pretty likely that none of the other cases will notify these editors; are you sure that should be removed? (I suspect this is less useful on smaller installs, but is probably pretty useful on larger ones.)

@asmecher
Copy link
Member

(Also note that 1) and 3) are mutually exclusive.)

@asmecher
Copy link
Member

@jmacgreg, your original post says 4. and 3) are problematic -- I think github's Markdown tried to renumber your list and made it less useful. Which 2 are you referring to?

@jmacgreg
Copy link
Contributor Author

Yep, Markdown munged my comment - I was referring to 1 and 3. By "problematic" I'm referring to the fact that there's no option to opt out.

It's been a while since I've looked at this, but I think the larger issue (which is only hinted at here) is

  • there is the appearance of being able to control some of the emails that are received from the system, eg. via the user's notification settings; but in the end, editors still receive emails which they can't disable
  • some of the emails, in particular 2 and 3, may be sent at the same time, which can feel overwhelming.

asmecher added a commit to asmecher/pkp-lib that referenced this issue Nov 29, 2018
asmecher added a commit to asmecher/ojs that referenced this issue Nov 29, 2018
asmecher added a commit to asmecher/ojs that referenced this issue Nov 29, 2018
@asmecher
Copy link
Member

PRs:

Here's what I've done...

  • Left #1 in place (BCC on SUBMISSION_ACK), at least for now. This is the one place that new submission messages can be sent to non-users of OJS, like mailing lists. We can revisit this for 3.2.
  • Made #2 (NOTIFICATION_TYPE_SUBMISSION_SUBMITTED) go only to users who have been automatically assigned
  • Made #3 (NOTIFICATION_TYPE_EDITOR_ASSIGNMENT_REQUIRED) only go out when nobody was automatically assigned (i.e. mutually exclusive to #2), and added configuration options for it to the user's notification settings.

There look to be a lot of parts of the notification system that are dead code at the moment (e.g. the whole NOTIFICATION_TYPE_EDITOR_ASSIGNMENT_... set of constants, at a glance). I'll file that elsewhere for 3.2.

Meanwhile, @jmacgreg, could you test this for me (once the tests pass)?

@asmecher
Copy link
Member

(Filed an issue for the investigation of the nonfunctional notification code: #4270)

@jmacgreg
Copy link
Contributor Author

Absolutely!

@amandastevens amandastevens added the Community:2:Priority Any issue that has been identified through research or feedback as a major community priority. label Dec 6, 2018
@ajnyga
Copy link
Collaborator

ajnyga commented Jan 22, 2019

Another perspective on #1. We have had journal editors asking why some of their editors are receiving "Thank you for your submission" messages from the system. The reason is of course that the editors are section editors in specific sections and receive a bcc of the author email.

I know that new email templates is something to avoid, but just sending a copy of email that is meant to other user / role is a bad practice in my opinion and creates confusion.

There should be a "New submission in your section" template that you could turn of if you wanted.

@jmacgreg
Copy link
Contributor Author

jmacgreg commented Feb 5, 2019

Hi @asmecher, just testing this now. I can a notification configuration option in the user preferences panel: only for "A new article, "Title," has been submitted.". I think that controls whether # 2 is sent or not. You suggest above that there should now be an additional configuration option for # 3 as well (that is, for the notification that includes "A new article has been submitted to which an editor needs to be assigned."), but I don't see it in the list. Has this been added as a separate item?

At the moment, if I submit an article to a section with no assigned SEs, any editor in the system who hasn't checked off the "Do not email" option for # 2 above will still receive two emails. They should be able to configure whether they receive both, either, or neither of those emails.

@jmacgreg
Copy link
Contributor Author

jmacgreg commented Feb 5, 2019

To clarify the problem here: if an editor doesn't touch their notification settings, and doesn't assign an SE to a given section, they will likely receive two emails on submission:

  • one notifying them of a new submission (body: "A new article, "(article title)" has been submitted."), which can be configured;
  • and one notifying them of a new submission that needs to be assigned ("A new article has been submitted to which an editor needs to be assigned."), which can't be configured.

They can reduce this to one notification, but there's no way to reduce it to none. This can be confusing in two ways:

  • dealing with two notifications about the same topic;
  • trying to configure which notifications are received when there's configuration options for some but not all notification types.

Short-term, it would be good to ensure that the "needs to be assigned" notification can be configured. Long-term, we could look at eliminating one of this possibly, but that would be another bug entry.

@asmecher
Copy link
Member

asmecher commented Feb 5, 2019

@jmacgreg, have you pulled in the PRs above, or is this just the stock pre-3.1.2 stable testing install?

@jmacgreg
Copy link
Contributor Author

jmacgreg commented Feb 5, 2019

Oh dang, I thought this was already committed!! My bad. I'll pull those PRs and retest.

@jmacgreg
Copy link
Contributor Author

jmacgreg commented Feb 6, 2019

Thanks for bearing with me in this test round, Alec! I'm very happy to say that, after the PR checkout, it looks like this all works as advertised:

  • I now have two configuration options: to get notifications/emails for new content generally, and for new content for which an editor needs to be assigned.
  • If I submit content against a section with a pre-assigned reviewer, the assignment requirement email doesn't go out (same as before, just confirming).
  • If I disable the email notifications, I don't get the emails.

Thanks again for this - it all looks good to me!

asmecher added a commit that referenced this issue Feb 6, 2019
#3770 Reduce "new submission" notifications/emails
asmecher added a commit to pkp/ojs that referenced this issue Feb 6, 2019
asmecher added a commit to pkp/ojs that referenced this issue Feb 6, 2019
@asmecher
Copy link
Member

asmecher commented Feb 6, 2019

Thanks, @jmacgreg -- all merged!

asmecher added a commit to pkp/ojs that referenced this issue Feb 22, 2019
…ale keys)

Conflicts:
	locale/nl_NL/locale.xml
	plugins/generic/usageStats
asmecher added a commit to pkp/ojs that referenced this issue Feb 22, 2019
@forgive38
Copy link
Contributor

forgive38 commented Oct 21, 2019

Hi,
@asmecher : sorry to reopen this issue but I want to be sure : because of https://github.com/pkp/ojs/blob/0817e5c56939ad6139d8cc3d4f45d78c55eb5d2f/classes/submission/form/SubmissionSubmitStep4Form.inc.php#L74
all subeditors who are automatically assigned to the submission (because they are assigned to the section) receive the mail which thanks author.
Because they already have a notification about a new article, I'm not sure this is relevant ?

Thank you

@marcbria
Copy link
Collaborator

Kind of related:
#6272

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community:2:Priority Any issue that has been identified through research or feedback as a major community priority. Hosting Bug reports and feature requests from Publishing Services's hosted clients.
Projects
No open projects
Development

No branches or pull requests

6 participants