Skip to content

Commit 2a7a1c9

Browse files
Merge pull request #5024 from topcoder-platform/rdm-email-switch
Rdm email switch
2 parents 8836b4a + c738e0a commit 2a7a1c9

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

.circleci/config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ workflows:
261261
branches:
262262
only:
263263
- develop
264-
- tcx-202010
265264
# Production builds are exectuted
266265
# when PR is merged to the master
267266
# Don't change anything in this configuration

__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)