mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-12-02 11:59:07 -05:00
Revise messaging when scratchers are muted
We want folks to use comments appropriately, not punish them. Reword the messaging to be more friendly and encourage positive uses of comments.
This commit is contained in:
parent
0c3a409089
commit
eac7552841
4 changed files with 21 additions and 22 deletions
|
@ -207,9 +207,9 @@ class ComposeComment extends React.Component {
|
||||||
muteStepContent: ['comment.vulgarity.content1', 'comment.vulgarity.content2']
|
muteStepContent: ['comment.vulgarity.content1', 'comment.vulgarity.content2']
|
||||||
},
|
},
|
||||||
general: {
|
general: {
|
||||||
commentType: 'comment.type.disrespectful',
|
commentType: 'comment.type.general',
|
||||||
muteStepHeader: 'comment.disrespectful.header',
|
muteStepHeader: 'comment.general.header',
|
||||||
muteStepContent: ['comment.disrespectful.content1', 'comment.disrespectful.content2']
|
muteStepContent: ['comment.general.content1']
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -46,21 +46,20 @@
|
||||||
"project.cloudDataLink": "See Data",
|
"project.cloudDataLink": "See Data",
|
||||||
"project.usernameBlockAlert": "This project can detect who is using it, through the \"username\" block. To hide your identity, sign out before using the project.",
|
"project.usernameBlockAlert": "This project can detect who is using it, through the \"username\" block. To hide your identity, sign out before using the project.",
|
||||||
"project.inappropriateUpdate": "Hmm...the bad word detector thinks there is a problem with your text. Please change it and remember to be respectful.",
|
"project.inappropriateUpdate": "Hmm...the bad word detector thinks there is a problem with your text. Please change it and remember to be respectful.",
|
||||||
"comment.type.disrespectful": "Scratch thinks your most recent comment was disrespectful.",
|
"comment.type.general": "It appears that your most recent comment didn't follow the Scratch Community Guidelines.",
|
||||||
"comment.disrespectful.header": "Make sure to be friendly and respectful when using Scratch.",
|
"comment.general.header": "We encourage you to post comments that follow the Scratch Community Guidelines.",
|
||||||
"comment.disrespectful.content1": "The Scratch comment filter thinks your comment was disrespectful.",
|
"comment.general.content1": "On Scratch, it's important for comments to be firendly, be appropriate for all ages, and not contain spam.",
|
||||||
"comment.disrespectful.content2": "Remember: There is a person behind every Scratch account and unfriendly comments can really hurt someone's feelings.",
|
"comment.type.pii": "Your most recent comment appeared to be sharing or asking for private information.",
|
||||||
"comment.type.pii": "The Scratch comment filter thought your most recent comment was sharing or asking for private information.",
|
"comment.pii.header": "Please be sure not to share private information on Scratch.",
|
||||||
"comment.pii.header": "Make sure not to share private information on Scratch.",
|
"comment.pii.content1": "It appears that you were sharing or asking for private information.",
|
||||||
"comment.pii.content1": "The Scratch comment filter thinks that in your comment, you were sharing or asking for private information.",
|
|
||||||
"comment.pii.content2": "Things you share on Scratch can be seen by everyone, and can appear in search engines. Private information can be used by other people in harmful ways, so it’s important to keep it private.",
|
"comment.pii.content2": "Things you share on Scratch can be seen by everyone, and can appear in search engines. Private information can be used by other people in harmful ways, so it’s important to keep it private.",
|
||||||
"comment.pii.content3": "This is a serious safety issue.",
|
"comment.pii.content3": "This is a serious safety issue.",
|
||||||
"comment.type.unconstructive": "The Scratch comment filter thought your most recent comment was saying something bad about someone’s project.",
|
"comment.type.unconstructive": "It appears that your most recent comment was saying something that might have been hurtful.",
|
||||||
"comment.unconstructive.header": "Make sure to be supportive when commenting on other people’s projects",
|
"comment.unconstructive.header": "We encourage you to be supportive when commenting on other people’s projects",
|
||||||
"comment.unconstructive.content1": "The Scratch comment filter thinks your comment was saying something bad or mean about someone’s project.",
|
"comment.unconstructive.content1": "It appears that your comment was saying something that might have been hurtful.",
|
||||||
"comment.unconstructive.content2": "If you think something could be better, you can say something you like about the project, and make a suggestion about how to improve it.",
|
"comment.unconstructive.content2": "If you think something could be better, you can say something you like about the project, and make a suggestion about how to improve it.",
|
||||||
"comment.type.vulgarity": "The Scratch comment filter thought your most recent comment contained a bad word.",
|
"comment.type.vulgarity": "Your most recent comment appeared to include a bad word.",
|
||||||
"comment.vulgarity.header": "Make sure to use language that’s appropriate for all ages",
|
"comment.vulgarity.header": "We encourage you to use language that’s appropriate for all ages.",
|
||||||
"comment.vulgarity.content1": "The Scratch comment filter thinks your comment contains a bad word.",
|
"comment.vulgarity.content1": "It appears that your comment contains a bad word.",
|
||||||
"comment.vulgarity.content2": "Scratch has users of all ages, so it’s important to use language that is appropriate for all Scratchers."
|
"comment.vulgarity.content2": "Scratch has users of all ages, so it’s important to use language that is appropriate for all Scratchers."
|
||||||
}
|
}
|
||||||
|
|
|
@ -347,12 +347,12 @@ describe('Compose Comment test', () => {
|
||||||
|
|
||||||
test('getMuteMessageInfo: muteType not set', () => {
|
test('getMuteMessageInfo: muteType not set', () => {
|
||||||
const commentInstance = getComposeCommentWrapper({}).instance();
|
const commentInstance = getComposeCommentWrapper({}).instance();
|
||||||
expect(commentInstance.getMuteMessageInfo().commentType).toBe('comment.type.disrespectful');
|
expect(commentInstance.getMuteMessageInfo().commentType).toBe('comment.type.general');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('getMuteMessageInfo: muteType set to something we don\'t have messages for', () => {
|
test('getMuteMessageInfo: muteType set to something we don\'t have messages for', () => {
|
||||||
const commentInstance = getComposeCommentWrapper({}).instance();
|
const commentInstance = getComposeCommentWrapper({}).instance();
|
||||||
commentInstance.setState({muteType: 'spaghetti'});
|
commentInstance.setState({muteType: 'spaghetti'});
|
||||||
expect(commentInstance.getMuteMessageInfo().commentType).toBe('comment.type.disrespectful');
|
expect(commentInstance.getMuteMessageInfo().commentType).toBe('comment.type.general');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -7,9 +7,9 @@ import Modal from '../../../src/components/modal/base/modal';
|
||||||
|
|
||||||
describe('MuteModalTest', () => {
|
describe('MuteModalTest', () => {
|
||||||
const defaultMessages = {
|
const defaultMessages = {
|
||||||
commentType: 'comment.type.disrespectful',
|
commentType: 'comment.type.general',
|
||||||
muteStepHeader: 'comment.disrespectful.header',
|
muteStepHeader: 'comment.general.header',
|
||||||
muteStepContent: ['comment.disrespectful.content1', 'comment.disrespectful.content2']
|
muteStepContent: ['comment.general.content1']
|
||||||
};
|
};
|
||||||
|
|
||||||
test('Mute Modal rendering', () => {
|
test('Mute Modal rendering', () => {
|
||||||
|
|
Loading…
Reference in a new issue