Notify work creators when collection moderators change the work to anonymous or unrevealed

Description

Steps to reproduce:

1. Log in
2. Browse > Collections > New Collection
3. Fill in required information
4. Submit
5. Log out
6. As another user, log in
7. Browse > Collections > Name of collection you created > Post to Collection
8. Fill in requested information
9. Post Without Preview
10. Log out
11. Log in as owner of collection
12. Browse > Collections > Name of collection you created > Collection Settings
13. Check "This collection is anonymous," "This collection is unrevealed," or both
14. Update
15. Manage Items > Approved
16. Check "Anonymous," "Unrevealed," or both for the work posted to the collection
17. Submit

We want this to send an email to the work creator(s) letting them know their work is now anonymous or unrevealed.

Email text:

Notes:

This message will be sent regardless of whether the user has the “Turn off emails from collections” preference set. Please also check that the help text for that section of the user preferences page has been updated accordingly. The new text will be:

Enable this option if you would prefer not to receive email alerts from collections, such as creator and work reveals. We'll still email you if your username or work is hidden after being added to a collection. Notifications will still be delivered to your Archive inbox unless you have chosen to disable them.

Activity

Show:
Sarken
February 12, 2020, 9:35 PM

I agree that three sounds like the best option for the time being. It’s the most straightforward and limited in scope.

Sarken
February 13, 2020, 6:48 AM

All righty! I used the same works and accounts as last time, and I can confirm that sarkenzh2 gets the correct emails for each action, but sarken does not. So all good there!

The links in the emails all work, except for the FAQ, which gives a 404 because the FAQ doesn’t exist on staging. When I take “test” out of the URL, I’m on the right page on production, so that’s good.

Not your fault, ticking, but I am not 100% sold on the email for anonymous and unrevealed works just being a combination of the two other emails. It’s a little confusing to have it be like “it’ll be listed this way in tag listings because it’s anonymous; it won’t be listed in tag listings because it’s unrevealed.” Here’s the text, for the record:

Dear sarkenzh2,

The collection maintainers of Sarken's Regular Collection have changed the status of your work Work Z to anonymous and unrevealed.

Anonymous works are included in tag listings, but not on your works page. On the work, your user name will be replaced with "Anonymous."

Unrevealed works are not included in tag listings or on your works page. Anyone who follows a link to the work will receive a notice that it is currently unrevealed, and they will be unable to access its content.

If you do not want your work to be anonymous and unrevealed, please visit your Approved Collection Items page to remove it from this collection.

For more information, visit our Collections and Challenges FAQ.

I’d also kind of like the subjects to be like “Your work was made [status]” rather than “You work has become [status]” – “has become” makes me think it did it on its own. But even slightly confusing email text is better than no notice your work is anonymous or unrevealed, so I’m generally happy!

Please enjoy these email screenshots.

 

C. Ryan Smith
February 13, 2020, 7:15 AM

Tested this issue following the general procedure laid out in issue description (all three variants). Aside from some email shenanigans (**shakes fist at staging**), mechanically everything seemed to work fine. I would agree with sarken’s point about the combo email being a bit contradictory though. Can grab screenshots of the emails for proof if needed.

Collection (https://test.archiveofourown.org/collections/5028testcollection/) owned by testy. Work (https://test.archiveofourown.org/works/186) by CRyanSmith.

 

Sarken
February 27, 2020, 9:56 AM

Re-tested and the subject lines all say “Your work was made [whatever]” now, so that’s good! And the anonymous and unrevealed email says:

Unrevealed works are not included in tag listings or on your works page. Anyone who follows a link to the work will receive a notice that it is currently unrevealed, and they will be unable to access its content.

The collection maintainers may later reveal your work but leave it anonymous. People who subscribe to you will not be notified of this change. Your work will be included in tag listings, but not on your works page. On the work, your user name will be replaced with "Anonymous."

Looks good!

Sarken
February 28, 2020, 6:01 AM

MagnusIsMyRock 5 hours ago

but the email that I did get was correct. I can confirm that much

 

DeployedToBeta

Assignee

ticking instant

Reporter

Sarken

Roadmap

Collections

Priority

Medium

Affects versions

Fix versions

Components

BackEnd

Difficulty

Medium

Milestone

Internal 0.9
Configure