Skip to content

Commit cf298bc

Browse files
committed
removing deployment on test and beta env
2 parents 2c22899 + 980f098 commit cf298bc

File tree

139 files changed

+9462
-9458
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+9462
-9458
lines changed

.circleci/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ workflows:
179179
- "build-test":
180180
context : org-global
181181
filters:
182-
branches:
182+
branches:
183183
only:
184184
- legacy-tco
185185
# This is beta env for production soft releases
@@ -190,6 +190,7 @@ workflows:
190190
only:
191191
- hot-fixes
192192
- develop
193+
- general-features
193194
# Production builds are exectuted only on tagged commits to the
194195
# master branch.
195196
- "build-prod":

.eslintrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
"extends": "./node_modules/topcoder-react-utils/config/eslint/default.json",
33
"rules": {
44
"jsx-a11y/anchor-is-valid": false
5-
}
5+
},
6+
"env": {
7+
"browser": true
8+
}
69
}

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
![Dev Build Status](https://img.shields.io/circleci/project/github/topcoder-platform/community-app/develop.svg?label=develop)
22
![Master Build Status](https://img.shields.io/circleci/project/github/topcoder-platform/community-app/master.svg?label=master)
3+
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=topcoder-platform_community-app&metric=alert_status)](https://sonarcloud.io/dashboard?id=topcoder-platform_community-app)
4+
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=topcoder-platform_community-app&metric=security_rating)](https://sonarcloud.io/dashboard?id=topcoder-platform_community-app)
5+
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=topcoder-platform_community-app&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=topcoder-platform_community-app)
36

47
# Topcoder Community App
58
New version of Topcoder Community website.
@@ -107,6 +110,10 @@ We use [https://logentries.com](https://logentries.com) to track the logs. Log E
107110

108111
Change the property in `URL.COMMUNITY_API` in config.
109112

113+
### Configuration for Email Verify URL
114+
115+
Change the property in `URL.EMAIL_VERIFY_URL` in config.
116+
110117
### TC pages integrated
111118

112119
- Changes list and challenge detail page: http://local.topcoder.com/challenges
@@ -182,4 +189,4 @@ given credentials relate to.
182189
* **XXX**_TC_M2M_CLIENT_ID
183190
* **XXX**_TC_M2M_CLIENT_SECRET
184191
* **XXX**_TC_M2M_AUDIENCE
185-
* **XXX**_TC_M2M_GRANT_TYPE
192+
* **XXX**_TC_M2M_GRANT_TYPE

__tests__/shared/components/ProfilePage/__snapshots__/index.jsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ exports[`renders a full Profile correctly 1`] = `
2828
>
2929
<ProfileHeader
3030
copilot={true}
31-
country="United States"
31+
country=""
3232
info={
3333
Object {
3434
"competitionCountryCode": "USA",
@@ -631,7 +631,7 @@ exports[`renders an empty Profile correctly 1`] = `
631631
>
632632
<ProfileHeader
633633
copilot={false}
634-
country="United States"
634+
country=""
635635
info={
636636
Object {
637637
"competitionCountryCode": "USA",

__tests__/shared/components/Settings/Account/__snapshots__/index.jsx.snap

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,35 +4,6 @@ exports[`renders account setting page correctly 1`] = `
44
<div
55
className="src-shared-components-Settings-Account-___styles__account-container___2rdYG"
66
>
7-
<div
8-
className="src-shared-components-Settings-Account-___styles__mobile-view___s8M3A"
9-
>
10-
<Accordion
11-
icons={
12-
Object {
13-
"linked accounts": <LinkedAccountIcon
14-
height="30"
15-
viewBox="0 0 30 30"
16-
width="30"
17-
xmlns="http://www.w3.org/2000/svg"
18-
/>,
19-
"my account": <MyAccountIcon
20-
height="30"
21-
viewBox="0 0 30 30"
22-
width="30"
23-
xmlns="http://www.w3.org/2000/svg"
24-
/>,
25-
}
26-
}
27-
names={
28-
Array [
29-
"my account",
30-
"linked account",
31-
]
32-
}
33-
renderTabContent={[Function]}
34-
/>
35-
</div>
367
<div
378
className="src-shared-components-Settings-Account-___styles__col-bar___3MCVp"
389
>

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

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -4,56 +4,6 @@ exports[`renders preferences setting page correctly 1`] = `
44
<div
55
className="src-shared-components-Settings-Preferences-___styles__preferences-container___m6Zzc"
66
>
7-
<div
8-
className="src-shared-components-Settings-Preferences-___styles__mobile-view___C-Nae"
9-
>
10-
<Accordion
11-
currentSidebarTab="e-mail"
12-
icons={
13-
Object {
14-
"e-mail": <EmailIcon
15-
height="30"
16-
viewBox="0 0 30 30"
17-
width="30"
18-
xmlns="http://www.w3.org/2000/svg"
19-
/>,
20-
"forum": <Forum
21-
height="30"
22-
viewBox="0 0 30 30"
23-
width="30"
24-
xmlns="http://www.w3.org/2000/svg"
25-
/>,
26-
"invitation letter": <Invletter
27-
height="30"
28-
viewBox="0 0 30 30"
29-
width="30"
30-
xmlns="http://www.w3.org/2000/svg"
31-
/>,
32-
"payment": <Payment
33-
viewBox="0 0 34 30"
34-
xmlns="http://www.w3.org/2000/svg"
35-
/>,
36-
"referrals": <Referral
37-
height="30"
38-
viewBox="0 0 30 30"
39-
width="30"
40-
xmlns="http://www.w3.org/2000/svg"
41-
/>,
42-
}
43-
}
44-
names={
45-
Array [
46-
"e-mail",
47-
"forum",
48-
"payment",
49-
"invitation letter",
50-
"referrals",
51-
]
52-
}
53-
renderTabContent={[Function]}
54-
toggleSidebarTab={[Function]}
55-
/>
56-
</div>
577
<div
588
className="src-shared-components-Settings-Preferences-___styles__col-bar___2Fr2T"
599
>

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
exports[`renders account setting page correctly 1`] = `
44
<div
55
className="profile-settings src-shared-components-Settings-___style__container___2VsNz"
6+
onClick={[Function]}
7+
role="presentation"
68
>
79
<Connect(MetaTags)
810
description="Profile setting page for Topcoder member"
@@ -722,6 +724,8 @@ exports[`renders account setting page correctly 1`] = `
722724
exports[`renders preferences setting page correctly 1`] = `
723725
<div
724726
className="profile-settings src-shared-components-Settings-___style__container___2VsNz"
727+
onClick={[Function]}
728+
role="presentation"
725729
>
726730
<Connect(MetaTags)
727731
description="Profile setting page for Topcoder member"
@@ -1438,6 +1442,8 @@ exports[`renders preferences setting page correctly 1`] = `
14381442
exports[`renders profile setting page correctly 1`] = `
14391443
<div
14401444
className="profile-settings src-shared-components-Settings-___style__container___2VsNz"
1445+
onClick={[Function]}
1446+
role="presentation"
14411447
>
14421448
<Connect(MetaTags)
14431449
description="Profile setting page for Topcoder member"
@@ -2160,6 +2166,8 @@ exports[`renders profile setting page correctly 1`] = `
21602166
exports[`renders tools setting page correctly 1`] = `
21612167
<div
21622168
className="profile-settings src-shared-components-Settings-___style__container___2VsNz"
2169+
onClick={[Function]}
2170+
role="presentation"
21632171
>
21642172
<Connect(MetaTags)
21652173
description="Profile setting page for Topcoder member"

__tests__/shared/components/__snapshots__/Content.jsx.snap

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,16 @@ exports[`Matches shallow shapshot 1`] = `
590590
</code>
591591
</Link>
592592
</li>
593+
<li>
594+
<Link
595+
replace={false}
596+
to="/examples/contentful/modal/Pg4e60qnOpfTDxZgMfopT"
597+
>
598+
<code>
599+
Modal
600+
</code>
601+
</Link>
602+
</li>
593603
</ul>
594604
<h3>
595605
Previews of Contentful Components with CMS SpaceName/Environment Props

0 commit comments

Comments
 (0)