Skip to content

Commit 96385a7

Browse files
committed
Implements #5023
1 parent fe656d6 commit 96385a7

File tree

2 files changed

+13
-0
lines changed
  • __tests__/shared/components/Settings/Preferences/Email/__snapshots__
  • src/shared/components/Settings/Preferences/Email

2 files changed

+13
-0
lines changed

__tests__/shared/components/Settings/Preferences/Email/__snapshots__/index.jsx.snap

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,14 @@ exports[`renders email preferences setting page correctly 1`] = `
6565
secondaryText="For all the latest updates surrounding the <a href=\\"https://www.topcoder.com/community/member-programs/topcoder-open\\" style=\\"color:#0d61bf;text-decoration:underline\\">Topcoder Open</a> you should definitely be subscribing to this one. Expect an update in your mailbox every Tuesday!"
6666
value="TCO Tuesdays"
6767
/>
68+
<ToggleableItem
69+
checked={false}
70+
id="RDM"
71+
onToggle={[Function]}
72+
primaryText="Rapid Development Match (RDM) Reminders"
73+
secondaryText="Receive notifications of our brand new RDMs! These rated, development matches will be a fun new way to engage with us!"
74+
value="RDM"
75+
/>
6876
</div>
6977
</div>
7078
`;

src/shared/components/Settings/Preferences/Email/index.jsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ const newsletters = [
5555
name: 'TCO Newsletter',
5656
desc: 'For all the latest updates surrounding the <a href="https://www.topcoder.com/community/member-programs/topcoder-open" style="color:#0d61bf;text-decoration:underline">Topcoder Open</a> you should definitely be subscribing to this one. Expect an update in your mailbox every Tuesday!',
5757
},
58+
{
59+
id: 'RDM',
60+
name: 'Rapid Development Match (RDM) Reminders',
61+
desc: 'Receive notifications of our brand new RDMs! These rated, development matches will be a fun new way to engage with us!',
62+
},
5863
];
5964

6065
export default class EmailPreferences extends React.Component {

0 commit comments

Comments
 (0)