Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1683 from sarken/issue_4003
4003 & 4011 Show timestamps in inbox & tweak preference help text
- Loading branch information
Showing
8 changed files
with
97 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
Feature: Get messages in the inbox | ||
In order to stay informed about activity concerning my works and comments | ||
As a user | ||
I'd like to get messages in my inbox | ||
|
||
Scenario: I should not receive comments in my inbox if I have set my preferences to "Turn off messages to your inbox about comments." | ||
Given I am logged in as "boxer" with password "10987tko" | ||
And I post the work "Another Round" | ||
And I set my preferences to turn off messages to my inbox about comments | ||
When I am logged in as "cutman" | ||
And I post the comment "You should not receive this in your inbox." on the work "Another Round" | ||
When I am logged in as "boxer" with password "10987tko" | ||
And I go to my inbox page | ||
Then I should not see "cutman on Another Round" | ||
And I should not see "You should not receive this in your inbox." | ||
|
||
Scenario: I should receive comments in my inbox if I haven't set my preferences to "Turn off messages to your inbox about comments." | ||
Given I am logged in as "boxer" with password "10987tko" | ||
And I post the work "The Fight" | ||
And I set my preferences to turn on messages to my inbox about comments | ||
When I am logged in as "cutman" | ||
And I post the comment "You should receive this in your inbox." on the work "The Fight" | ||
When I am logged in as "boxer" with password "10987tko" | ||
And I go to my inbox page | ||
Then I should see "cutman on The Fight" | ||
And I should see "You should receive this in your inbox." | ||
|
||
Scenario: Logged in comments in my inbox should have timestamps | ||
Given I am logged in as "boxer" with password "10987tko" | ||
And I post the work "Down for the Count" | ||
When I am logged in as "cutman" | ||
And I post the comment "It was a right hook... with a bit of a jab. (And he did it with his left hand.)" on the work "Down for the Count" | ||
When I am logged in as "boxer" with password "10987tko" | ||
And I go to my inbox page | ||
Then I should see "cutman on Down for the Count" | ||
And I should see "less than 1 minute ago" | ||
|
||
Scenario: Logged in comments in my inbox should have timestamps | ||
Given I am logged in as "boxer" with password "10987tko" | ||
And I post the work "Down for the Count" | ||
When I post the comment "The fight game's complex." on the work "Down for the Count" as a guest | ||
When I am logged in as "boxer" with password "10987tko" | ||
And I go to my inbox page | ||
Then I should see "guest on Down for the Count" | ||
And I should see "less than 1 minute ago" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
<h4>Comment Preferences</h4> | ||
|
||
<dl id="help"> | ||
|
||
<dt>Turn off emails about comments</dt> | ||
<dd>Enable this option if you would prefer not to receive email alerts when someone comments on your work or replies to a comment you have made. Comment notifications will still be delivered to your Archive inbox unless you have chosen to disable them.</dd> | ||
<dt>Turn off messages to your inbox about comments</dt> | ||
<dt>Turn off messages to your inbox about comments</dt> | ||
<dd>Enable this option if you would prefer not to receive notifications in your Archive inbox when someone comments on your work or replies to a comment you have made. Comment notifications will still be emailed to you unless you have chosen to disable them.</dd> | ||
<dt>Turn off copies of your own comments</dt> | ||
<dd>Enable this option if you prefer not to receive emails or inbox notifications for your own comments (for example, when you reply to comments on your own works).</dd> | ||
<dt>Turn off emails about kudos</dt> | ||
<dd>Enable this option if you prefer not to receive emails for your own comments (for example, when you reply to comments on your own works).</dd> | ||
<dt>Turn off emails about kudos</dt> | ||
<dd>Enable this option if you would prefer not to receive email notifications when someone leaves kudos on your work.</dd> | ||
<dt>Turn off admin emails</dt> | ||
<dt>Turn off admin emails</dt> | ||
<dd>Occasionally, Archive staff may send out email notices to all users, for example to notify people of proposed changes to the Terms of Service or site downtime. If you would prefer not to receive such emails, please enable this option. Note that if you choose to disable this option, you may miss important information about site changes or events.</dd> | ||
</dl> |